automatic rebuild by autodist [release 5.5-3mamba;Mon Aug 19 2013]

This commit is contained in:
Automatic Build System 2024-01-05 22:14:35 +01:00
parent d2e374c653
commit 0005b98298
3 changed files with 106 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# fdutils # 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.

12
fdutils-5.5-libe2fs.patch Normal file
View File

@ -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 <linux/ext_fs.h>
#endif
-#include <linux/ext2_fs.h>
+#include <ext2fs/ext2_fs.h>
#ifdef HAVE_LINUX_XIA_FS_H
#include <linux/xia_fs.h>

92
fdutils.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 5.5-3mamba
- automatic rebuild by autodist
* Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 5.5-2mamba
- automatic rebuild by autodist
* Thu Jan 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5-1mamba
- package created by autospec