43b132f51f1e93ba2088ad5ea0343a2a6405caf3
[platform/upstream/dosfstools.git] / packaging / dosfstools.spec
1 Name:           dosfstools
2 Version:        3.0.16
3 Release:        0
4 License:        GPL-3.0+
5 Group:          Base/File Systems
6 Summary:        Utilities for Making and Checking MS-DOS FAT File Systems on Linux
7 URL:            http://www.daniel-baumann.ch/software/dosfstools/
8 Source:         %{name}-%{version}.orig.tar.xz
9 Source1001:     dosfstools.manifest
10
11 %description
12 The dosfstools package includes the mkdosfs and dosfsck utilities,
13 which respectively make and check MS-DOS FAT file systems on hard
14 drives or on floppies.
15
16 %prep
17 %setup -q
18
19 %build
20 cp %{SOURCE1001} .
21 make
22
23 %install
24 make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
25
26 rm -rf %{buildroot}%{_datadir}/doc/dosfstools
27
28
29 %docs_package
30
31 %files
32 %license COPYING
33 %manifest dosfstools.manifest
34 %{_sbindir}/dosfsck
35 %{_sbindir}/dosfslabel
36 %{_sbindir}/fsck.msdos
37 %{_sbindir}/fsck.vfat
38 %{_sbindir}/mkdosfs
39 %{_sbindir}/mkfs.msdos
40 %{_sbindir}/mkfs.vfat