]>
Commit | Line | Data |
---|---|---|
1 | Summary: Utilities to create and check MS-DOS FAT filesystems | |
2 | Summary(es.UTF-8): Un programa que crea sistemas de archivo de MS-DOS (FAT) en Linux | |
3 | Summary(pl.UTF-8): Narzędzia do tworzenia i sprawdzania systemów plikowych MS-DOS FAT | |
4 | Summary(pt_BR.UTF-8): Um programa que cria sistemas de arquivo do MS-DOS (FAT) no Linux | |
5 | Name: dosfstools | |
6 | Version: 4.2 | |
7 | Release: 1 | |
8 | License: GPL v3+ | |
9 | Group: Applications/System | |
10 | #Source0Download: https://github.com/dosfstools/dosfstools/releases | |
11 | Source0: https://github.com/dosfstools/dosfstools/releases/download/v%{version}/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: 49c8e457327dc61efab5b115a27b087a | |
13 | Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2 | |
14 | # Source1-md5: 28913ed142dac33624b14ce1e1ce8803 | |
15 | URL: https://github.com/dosfstools/dosfstools | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: rpmbuild(macros) >= 1.402 | |
18 | BuildRequires: tar >= 1:1.22 | |
19 | BuildRequires: xz | |
20 | Obsoletes: mkdosfs-ygg | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %define _sbindir /sbin | |
24 | ||
25 | %description | |
26 | Inside of this package there are two utilities to create and to check | |
27 | MS-DOS FAT filesystems on either harddisks or floppies under Linux. | |
28 | This version uses the enhanced boot sector/superblock format of DOS | |
29 | 3.3+ as well as provides a default dummy boot sector code. | |
30 | ||
31 | %description -l es.UTF-8 | |
32 | El programa mkdosfs se usa para crear un sistema de archivos FAT | |
33 | (MS-DOS) a partir de Linux. | |
34 | ||
35 | Si su computador necesita usar sistemas de archivo MS-DOS usted debe | |
36 | instalar el paquete dosfstools. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | W pakiecie znajdują się dwa narzędzia służące do tworzenia i | |
40 | sprawdzania systemów plików FAT na dyskach twardych lub dyskietkach | |
41 | pod Linuksem. Wersja ta używa ulepszonego formatu sektora | |
42 | uruchomieniowego/superbloku używanego w DOS-ie 3.3 i nowszych oraz | |
43 | obsługuje pusty kod sektora uruchomieniowego. | |
44 | ||
45 | %description -l pt_BR.UTF-8 | |
46 | O programa mkdosfs é usado para criar um sistema de arquivos FAT | |
47 | (MS-DOS) a partir do Linux. | |
48 | ||
49 | O pacote dosfstools deve ser instalado se sua máquina precisa usar | |
50 | sistemas de arquivo MS-DOS. | |
51 | ||
52 | %prep | |
53 | %setup -q | |
54 | ||
55 | %build | |
56 | %configure \ | |
57 | --enable-compat-symlinks | |
58 | ||
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
67 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} | |
68 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/README* | |
69 | ||
70 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %doc ChangeLog NEWS README doc/* | |
78 | %attr(755,root,root) %{_sbindir}/dosfsck | |
79 | %attr(755,root,root) %{_sbindir}/dosfslabel | |
80 | %attr(755,root,root) %{_sbindir}/fatlabel | |
81 | %attr(755,root,root) %{_sbindir}/fsck.fat | |
82 | %attr(755,root,root) %{_sbindir}/fsck.msdos | |
83 | %attr(755,root,root) %{_sbindir}/fsck.vfat | |
84 | %attr(755,root,root) %{_sbindir}/mkdosfs | |
85 | %attr(755,root,root) %{_sbindir}/mkfs.fat | |
86 | %attr(755,root,root) %{_sbindir}/mkfs.msdos | |
87 | %attr(755,root,root) %{_sbindir}/mkfs.vfat | |
88 | %{_mandir}/man8/dosfsck.8* | |
89 | %{_mandir}/man8/dosfslabel.8* | |
90 | %{_mandir}/man8/fatlabel.8* | |
91 | %{_mandir}/man8/fsck.fat.8* | |
92 | %{_mandir}/man8/fsck.msdos.8* | |
93 | %{_mandir}/man8/fsck.vfat.8* | |
94 | %{_mandir}/man8/mkdosfs.8* | |
95 | %{_mandir}/man8/mkfs.fat.8* | |
96 | %{_mandir}/man8/mkfs.msdos.8* | |
97 | %{_mandir}/man8/mkfs.vfat.8* | |
98 | %lang(pl) %{_mandir}/pl/man8/* |