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