Browse code

Adding dosfstools

Sharath George authored on 2015/08/01 07:35:06
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,33 @@
0
+Summary:	Dos Filesystem tools
1
+Name:		dosfstools
2
+Version:	3.0.26
3
+Release:	1%{?dist}
4
+License:	GPLv3+
5
+URL:		http://daniel-baumann.ch/software/dosfstools/
6
+Group:		Filesystem Tools
7
+Vendor:		VMware, Inc.
8
+Distribution: Photon
9
+Source0:	http://daniel-baumann.ch/files/software/dosfstools/%{name}-%{version}.tar.gz
10
+%define sha1 dosfstools=18a94a229867d9cb25d6c47c5c45563caa073cf0
11
+%description
12
+dosfstools contains utilities for making and checking MS-DOS FAT filesystems.
13
+%prep
14
+%setup -q
15
+%build
16
+make %{?_smp_mflags}
17
+%install
18
+[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
19
+make DESTDIR=%{buildroot} PREFIX="/usr" install
20
+%clean
21
+rm -rf %{buildroot}/*
22
+%files 
23
+%defattr(-,root,root)
24
+%{_sbindir}/*
25
+%{_libdir}/*
26
+%{_mandir}/man8/*
27
+%{_docdir}/dosfstools/*
28
+%exclude %{_mandir}/de/*
29
+%exclude %{_libdir}/debug/*
30
+%changelog
31
+*	Wed Jul 1 2014 Sharath George <sharathg@vmware.com> 3.0.26-1
32
+-	Initial build.	First version
... ...
@@ -21,5 +21,5 @@
21 21
                 "libgpg-error", "libhif", "libhif-devel",
22 22
                 "librepo", "librepo-devel", "libsoup", "libsoup-devel",
23 23
                 "libxml2", "mkinitcpio", "openssl-devel",
24
-                "yum", "ostree" ]
24
+                "yum", "ostree" ,"dosfstools"]
25 25
 }