]> git.pld-linux.org Git - packages/fdutils.git/blame - fdutils.spec
- move compressed patch to distfiles
[packages/fdutils.git] / fdutils.spec
CommitLineData
0b1017f1 1Summary: Floppy utilities
d2f9e8d9
ER
2Summary(pl.UTF-8): Narzędzia do dyskietek
3Summary(zh_CN.UTF-8): 软盘驱动调试和配置工具
0b1017f1 4Name: fdutils
12c42976
JB
5Version: 5.5
6Release: 1
ec41fd5e 7License: GPL v2+
c752a3a5 8Group: Applications/System
12c42976 9#Source0Download: http://fdutils.linux.lu/download.html
0b1017f1 10Source0: http://fdutils.linux.lu/%{name}-%{version}.tar.gz
12c42976
JB
11# Source0-md5: 2b8b65f52378158a4a21e455566b456d
12Patch0: %{name}-info.patch
13Patch1: %{name}-DESTDIR.patch
14Patch2: %{name}-diskd-conflict.patch
15Patch3: %{name}-nodvi.patch
16Patch4: http://fdutils.linux.lu/fdutils-5.5-20060227.diff.gz
6b6b42c4 17# Patch4-md5: e13410bc193053eee2cab4b837407865
a3fe51fd 18URL: http://fdutils.linux.lu/
b8225c37 19BuildRequires: autoconf
20BuildRequires: automake
c752a3a5 21BuildRequires: flex
b073cc6d 22BuildRequires: texinfo
12c42976
JB
23# setfdprm used to be in util-linux before
24Conflicts: util-linux < 2.13-0.pre7
0b1017f1 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f223739f 26
27%description
28Utilities for formatting floppies and configuring floppy drive.
29Floppies can be formatted up to 1992KB.
30
bd2fc811
JB
31Note: the fdutils are meant to control a legacy (FDC-based) floppy
32drive. They won't work with other types of floppy drives (such as
33LS-120, USB floppy drives). For USB floppy drives use ufiformat
34package to format a floppy.
35
8ec82bbc
JR
36%description -l pl.UTF-8
37Narzędzia do formatowania dyskietek oraz do konfiguracji stacji
38dysków. Dyskietki mogą być formatowane do 1992KB.
f223739f 39
bd2fc811
JB
40Uwaga: fdutils są przeznaczone do sterowania tradycyjnymi stacjami
41dyskietek (opartymi na FDC). Nie będą działać z innymi rodzajami
42stacji, takimi jak LS-120 czy podłączane przez USB. Do formatowania
43dyskietek w stacjach podłączanych przez USB służy pakiet ufiformat.
44
f223739f 45%prep
0b1017f1 46%setup -q
b073cc6d 47%patch0 -p1
48%patch1 -p1
b8225c37 49%patch2 -p1
a3fe51fd 50%patch3 -p1
e233b364 51%patch4 -p1
c752a3a5 52
f223739f 53%build
12c42976 54cp -f /usr/share/automake/config.* .
3a50d9e5 55%{__aclocal}
79d80db6 56%{__autoconf}
b8225c37 57%configure
f08a478e 58%{__make}
f223739f 59
60%install
0b1017f1 61rm -rf $RPM_BUILD_ROOT
12c42976 62install -d $RPM_BUILD_ROOT%{_sysconfdir}
c752a3a5 63
12c42976
JB
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
0b1017f1 66
12c42976
JB
67# in man-pages
68rm $RPM_BUILD_ROOT%{_mandir}/man4/fd.4
d18d2707 69
f223739f 70%clean
71rm -rf $RPM_BUILD_ROOT
72
12c42976 73%post -p /sbin/postshell
51295ee8 74-/usr/sbin/fix-info-dir -c %{_infodir}
c752a3a5 75
12c42976 76%postun -p /sbin/postshell
51295ee8 77-/usr/sbin/fix-info-dir -c %{_infodir}
c752a3a5 78
f223739f 79%files
80%defattr(644,root,root,755)
ff44f215 81%doc doc/README doc/floppy_formats Changelog CREDITS doc/FAQ.html
c9b96038 82%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mediaprm
12c42976
JB
83%attr(755,root,root) %{_bindir}/MAKEFLOPPIES
84%attr(755,root,root) %{_bindir}/diskseekd
85%attr(755,root,root) %{_bindir}/fddiskd
86%attr(755,root,root) %{_bindir}/fdlist
87%attr(755,root,root) %{_bindir}/fdmount
88%attr(755,root,root) %{_bindir}/fdmountd
89%attr(755,root,root) %{_bindir}/fdrawcmd
90%attr(755,root,root) %{_bindir}/fdumount
91%attr(755,root,root) %{_bindir}/floppycontrol
92%attr(755,root,root) %{_bindir}/floppymeter
93%attr(755,root,root) %{_bindir}/getfdprm
94%attr(755,root,root) %{_bindir}/setfdprm
95%attr(755,root,root) %{_bindir}/superformat
96%attr(755,root,root) %{_bindir}/xdfcopy
97%attr(755,root,root) %{_bindir}/xdfformat
98%{_mandir}/man1/makefloppies.1*
99%{_mandir}/man1/diskseekd.1*
100%{_mandir}/man1/fddiskd.1*
101%{_mandir}/man1/fdlist.1*
102%{_mandir}/man1/fdmount.1*
103%{_mandir}/man1/fdmountd.1*
104%{_mandir}/man1/fdrawcmd.1*
105%{_mandir}/man1/fdumount.1*
106%{_mandir}/man1/floppycontrol.1*
107%{_mandir}/man1/floppymeter.1*
108%{_mandir}/man1/getfdprm.1*
109%{_mandir}/man1/setfdprm.1*
110%{_mandir}/man1/superformat.1*
111%{_mandir}/man1/xdfcopy.1*
112%{_mandir}/man1/xdfformat.1*
113%{_infodir}/fdutils.info*
This page took 0.102713 seconds and 4 git commands to generate.