diff --git a/README.md b/README.md index 9b545b1..fd13e2e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # fatback +A *nix tool for recovering files from FAT12/FAT16/FAT32 file systems. + diff --git a/fatback.spec b/fatback.spec new file mode 100644 index 0000000..436cf95 --- /dev/null +++ b/fatback.spec @@ -0,0 +1,54 @@ +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 +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 1.3-1mamba +- package created by autospec