]>
Commit | Line | Data |
---|---|---|
0b1017f1 | 1 | Summary: Floppy utilities |
d2f9e8d9 ER |
2 | Summary(pl.UTF-8): Narzędzia do dyskietek |
3 | Summary(zh_CN.UTF-8): 软盘驱动调试和配置工具 | |
0b1017f1 | 4 | Name: fdutils |
12c42976 JB |
5 | Version: 5.5 |
6 | Release: 1 | |
ec41fd5e | 7 | License: GPL v2+ |
c752a3a5 | 8 | Group: Applications/System |
12c42976 | 9 | #Source0Download: http://fdutils.linux.lu/download.html |
0b1017f1 | 10 | Source0: http://fdutils.linux.lu/%{name}-%{version}.tar.gz |
12c42976 JB |
11 | # Source0-md5: 2b8b65f52378158a4a21e455566b456d |
12 | Patch0: %{name}-info.patch | |
13 | Patch1: %{name}-DESTDIR.patch | |
14 | Patch2: %{name}-diskd-conflict.patch | |
15 | Patch3: %{name}-nodvi.patch | |
16 | Patch4: http://fdutils.linux.lu/fdutils-5.5-20060227.diff.gz | |
6b6b42c4 | 17 | # Patch4-md5: e13410bc193053eee2cab4b837407865 |
a3fe51fd | 18 | URL: http://fdutils.linux.lu/ |
b8225c37 | 19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
c752a3a5 | 21 | BuildRequires: flex |
b073cc6d | 22 | BuildRequires: texinfo |
12c42976 JB |
23 | # setfdprm used to be in util-linux before |
24 | Conflicts: util-linux < 2.13-0.pre7 | |
0b1017f1 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f223739f | 26 | |
27 | %description | |
28 | Utilities for formatting floppies and configuring floppy drive. | |
29 | Floppies can be formatted up to 1992KB. | |
30 | ||
bd2fc811 JB |
31 | Note: the fdutils are meant to control a legacy (FDC-based) floppy |
32 | drive. They won't work with other types of floppy drives (such as | |
33 | LS-120, USB floppy drives). For USB floppy drives use ufiformat | |
34 | package to format a floppy. | |
35 | ||
8ec82bbc JR |
36 | %description -l pl.UTF-8 |
37 | Narzędzia do formatowania dyskietek oraz do konfiguracji stacji | |
38 | dysków. Dyskietki mogą być formatowane do 1992KB. | |
f223739f | 39 | |
bd2fc811 JB |
40 | Uwaga: fdutils są przeznaczone do sterowania tradycyjnymi stacjami |
41 | dyskietek (opartymi na FDC). Nie będą działać z innymi rodzajami | |
42 | stacji, takimi jak LS-120 czy podłączane przez USB. Do formatowania | |
43 | dyskietek 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 | 54 | cp -f /usr/share/automake/config.* . |
3a50d9e5 | 55 | %{__aclocal} |
79d80db6 | 56 | %{__autoconf} |
b8225c37 | 57 | %configure |
f08a478e | 58 | %{__make} |
f223739f | 59 | |
60 | %install | |
0b1017f1 | 61 | rm -rf $RPM_BUILD_ROOT |
12c42976 | 62 | install -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 |
68 | rm $RPM_BUILD_ROOT%{_mandir}/man4/fd.4 | |
d18d2707 | 69 | |
f223739f | 70 | %clean |
71 | rm -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* |