93 lines
2.7 KiB
RPMSpec
93 lines
2.7 KiB
RPMSpec
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
|