%define name afio %define version 2.5 %define release %mkrel 5 %define summary Archiver program which writes cpio-format archives Name: %{name} Version: %{version} Release: %{release} Summary: %{summary} Group: Archiving/Backup Source: http://metalab.unc.edu/pub/linux/system/backup/%{name}-%{version}.tar.bz2 License: LGPL BuildRoot: %{_tmppath}/%{name}-buildroot %description Afio makes cpio-format archives. It deals somewhat gracefully with input data corruption, supports multi-volume archives during interactive operation, and can make compressed archives that are much safer than compressed tar or cpio archives. Afio is best used as an `archive engine' in a backup script. %prep rm -rf $RPM_BUILD_ROOT %setup -q %build %make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 install -m 755 afio $RPM_BUILD_ROOT%{_bindir} install -m 755 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc HISTORY INSTALLATION PORTING README SCRIPTS afio.lsm script1 script2 script3 script4 %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Sat Mar 07 2009 Antoine Ginies <aginies@mandriva.com> 2.5-5mdv2009.1 + Revision: 350725 - rebuild * Thu Jun 19 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.5-4mdv2009.0 + Revision: 226133 - rebuild * Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 2.5-3mdv2008.1 + Revision: 135819 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Sep 01 2007 Bruno Cornec <bcornec@mandriva.org> 2.5-3mdv2008.0 + Revision: 77246 - Import afio * Wed Jun 28 2006 Lenny Cartier <lenny@mandriva.com> 2.5-3mdv2007.0 - rebuild * Thu Jan 13 2005 Lenny Cartier <lenny@mandrakesoft.com> 2.5-2mdk - rebuild * Sun Dec 21 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.5-1mdk - 2.5 * Sun Dec 29 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 2.4.7-2mdk - rebuild for rpm and glibc * Thu Feb 21 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.4.7-1mdk - 2.4.7 * Tue Jan 26 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.4.6-3mdk - rebuild * Thu Jan 04 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.4.6-2mdk - clean spec * Thu Sep 28 2000 Lenny Cartier <lenny@mandrakesoft.com> 2.4.6-1mdk - used srpm from Guillaume Rousse : Wed Sep 27 2000 Guillaume Rousse <g.rousse@linux-mandrake.com> 2.4.6-1mdk - adapted spec for Mandrake * Thu Apr 20 2000 Lenny Cartier <lenny@mandrakesoft.com> 2.4.5-2mdk - fix group - fix file list * Wed Oct 20 1999 Lenny Cartier <lenny@mandrakesoft.com> - Removing the exclusively use of pgcc - Specfile adaptions for Mandrake