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