Summary: fdutils Name: fdutils Version: 5.4 Release: 4 Group: Utilities/Disk Source0: fdutils-5.4.tar.gz Patch1: fdutils-5.4-20050213.diff.gz BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot License: GPL %description Utilities for formatting floppies and configuring the floppy drive. Allows to make and access "special" floppies, such as CP/M, OS/2's XDF format and other formats. Stores up to 1992K on a high density disk %prep %setup -q %patch1 -p 1 ./configure --prefix=%{buildroot}%{_prefix} --sysconfdir=/etc --infodir=%{buildroot}%{_infodir} --mandir=%{buildroot}%{_mandir} %build make %clean [ X%{buildroot} != X ] && [ X%{buildroot} != X/ ] && rm -r %{buildroot} %install make install %files %{_bindir}/diskd %{_bindir}/diskseekd %{_bindir}/fdmount %{_bindir}/fdmountd %{_bindir}/fdrawcmd %{_bindir}/floppycontrol %{_bindir}/floppymeter %{_bindir}/MAKEFLOPPIES %{_bindir}/setfdprm %{_bindir}/getfdprm %{_bindir}/superformat %{_bindir}/xdfcopy %{_infodir}/fdutils.info.gz %{_mandir}/man1/diskd.1.gz %{_mandir}/man1/diskseekd.1.gz %{_mandir}/man1/fdmount.1.gz %{_mandir}/man1/fdmountd.1.gz %{_mandir}/man4/fd.4.gz %{_mandir}/man1/fdrawcmd.1.gz %{_mandir}/man1/floppycontrol.1.gz %{_mandir}/man1/floppymeter.1.gz %{_mandir}/man1/makefloppies.1.gz %{_mandir}/man1/xdfcopy.1.gz %{_mandir}/man1/getfdprm.1.gz %{_mandir}/man1/setfdprm.1.gz %{_mandir}/man1/superformat.1.gz %post if [ -f %{_bindir}/install-info ] ; then if [ -f %{_infodir}/dir ] ; then %{_bindir}/install-info %{_infodir}/fdutils.info.gz %{_infodir}/dir fi if [ -f %{_infodir}/dir.info ] ; then %{_bindir}/install-info %{_infodir}/fdutils.info.gz %{_infodir}/dir.info fi fi %preun if [ -f %{_bindir}/install-info ] ; then if [ -f %{_infodir}/dir ] ; then %{_bindir}/install-info --delete %{_infodir}/fdutils.info.gz %{_infodir}/dir fi if [ -f %{_infodir}/dir.info ] ; then %{_bindir}/install-info --delete %{_infodir}/fdutils.info.gz %{_infodir}/dir.info fi fi