fatback/fatback.spec

55 lines
1.3 KiB
RPMSpec
Raw Normal View History

Name: fatback
Version: 1.3
Release: 1mamba
Summary: A *nix tool for recovering files from FAT file systems
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://fatback.sourceforge.net
Source: http://downloads.sourceforge.net/project/fatback/fatback/fatback-%{version}/fatback-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: flex
Requires(post): %{__install_info}
Requires(preun): %{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A *nix tool for recovering files from FAT12/FAT16/FAT32 file systems.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info fatback-manual.info
exit 0
%preun
%uninstall_info fatback-manual.info
exit 0
%files
%defattr(-,root,root)
%{_bindir}/fatback
%{_infodir}/fatback-manual.info.gz
%{_mandir}/man1/fatback.1.gz
%doc AUTHORS COPYING ChangeLog NEWS README
%changelog
* Mon Jun 25 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.3-1mamba
- package created by autospec