From 0005b98298438fa699c4a4b949dfb166557358aa Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 22:14:35 +0100 Subject: [PATCH] automatic rebuild by autodist [release 5.5-3mamba;Mon Aug 19 2013] --- README.md | 2 + fdutils-5.5-libe2fs.patch | 12 +++++ fdutils.spec | 92 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 106 insertions(+) create mode 100644 fdutils-5.5-libe2fs.patch create mode 100644 fdutils.spec diff --git a/README.md b/README.md index 8b50bb1..81fd83b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # fdutils +The fdutils package contains utilities for configuring and debugging the Linux floppy driver, for formatting extra capacity disks (up to 1992K on a high density disk), and for sending raw commands to the floppy controller. + diff --git a/fdutils-5.5-libe2fs.patch b/fdutils-5.5-libe2fs.patch new file mode 100644 index 0000000..73a3eac --- /dev/null +++ b/fdutils-5.5-libe2fs.patch @@ -0,0 +1,12 @@ +diff -Naur fdutils-5.5/src/fdmount.c fdutils-5.5.new/src/fdmount.c +--- fdutils-5.5/src/fdmount.c 2005-03-04 05:09:16.000000000 +0700 ++++ fdutils-5.5.new/src/fdmount.c 2012-04-27 10:01:32.226100023 +0700 +@@ -22,7 +22,7 @@ + #include + #endif + +-#include ++#include + + #ifdef HAVE_LINUX_XIA_FS_H + #include diff --git a/fdutils.spec b/fdutils.spec new file mode 100644 index 0000000..77876d0 --- /dev/null +++ b/fdutils.spec @@ -0,0 +1,92 @@ +Name: fdutils +Version: 5.5 +Release: 3mamba +Summary: Utilities for configuring and debugging the Linux floppy driver +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://fdutils.linux.lu +Source: http://fdutils.linux.lu/fdutils-%{version}.tar.gz +Patch0: fdutils-5.5-libe2fs.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: libe2fs-devel +Requires(post):%{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The fdutils package contains utilities for configuring and debugging the Linux floppy driver, for formatting extra capacity disks (up to 1992K on a high density disk), and for sending raw commands to the floppy controller. + +%prep +%setup -q +%patch0 -p1 +sed -i "s|-o root -g floppy||" src/Makefile.in + +%build +%configure +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d %{buildroot}%{_sysconfdir} +%makeoldinstall UID=`id -u` GID=`id -g` + +rm -f %{buildroot}%{_mandir}/man4/fd.4* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%install_info %{name}.info + +%preun +%uninstall_info %{name}.info + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/mediaprm +%attr(-,root,floppy) %{_bindir}/MAKEFLOPPIES +%attr(-,root,floppy) %{_bindir}/diskd +%attr(-,root,floppy) %{_bindir}/diskseekd +%attr(-,root,floppy) %{_bindir}/floppycontrol +%attr(-,root,floppy) %{_bindir}/getfdprm +%attr(-,root,floppy) %{_bindir}/setfdprm +%attr(-,root,floppy) %{_bindir}/fdrawcmd +%attr(-,root,floppy) %{_bindir}/superformat +%attr(-,root,floppy) %{_bindir}/xdfcopy +%attr(-,root,floppy) %{_bindir}/fdmount +%attr(-,root,floppy) %{_bindir}/fdumount +%{_bindir}/fdlist +%{_bindir}/fdmountd +%{_bindir}/floppymeter +%{_bindir}/xdfformat +%{_datadir}/info/fdutils.info.gz +%{_mandir}/man1/diskd.1.gz +%{_mandir}/man1/diskseekd.1.gz +%{_mandir}/man1/fdmount.1.gz +%{_mandir}/man1/fdrawcmd.1.gz +%{_mandir}/man1/floppycontrol.1.gz +%{_mandir}/man1/floppymeter.1.gz +%{_mandir}/man1/getfdprm.1.gz +%{_mandir}/man1/makefloppies.1.gz +%{_mandir}/man1/setfdprm.1.gz +%{_mandir}/man1/superformat.1.gz +%{_mandir}/man1/xdfcopy.1.gz +%{_mandir}/man1/fdlist.1.gz +%{_mandir}/man1/fdmountd.1.gz +%{_mandir}/man1/fdumount.1.gz +%{_mandir}/man1/xdfformat.1.gz +%doc COPYING CREDITS + +%changelog +* Mon Aug 19 2013 Automatic Build System 5.5-3mamba +- automatic rebuild by autodist + +* Sun Aug 18 2013 Automatic Build System 5.5-2mamba +- automatic rebuild by autodist + +* Thu Jan 24 2008 Silvan Calarco 5.5-1mamba +- package created by autospec