# # $Id$ # Summary: Archiver program which writes cpio-format archives Summary(fr): Archiveur écrivant des archives au format cpio Name: afio Version: 2.5 Release: 1%{dist} License: LGPLv2+ Group: Applications/Archiving Url: http://freshmeat.net/projects/afio/ Source: http://freshmeat.net/redir/afio/144/url_tgz/afio-2.5.tar.gz Patch0: 01-fedora-patches.all.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) %description Afio makes cpio-format archives. It deals somewhat gracefully with input data corruption. Supports multi-volume archives during interactive operation. Afio 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. %description -l fr Archiveur écrivant des archives au format cpio. Il gère relativement bien les corruptions de données à l'entrée. Il prend en charge les archives sur de mulltiples volumes en mode interactif. Afio peut compresser les fichiers à l'archivage, ce qui est bien plus sûr que des fichiers tar ou cpio compressés. La meilleure utilisation d'afio est comme moteur d'archive dans un script de backup. %prep %setup -q %patch0 -p1 %build make %{?_smp_mflags} chmod 644 script*/* %check make regtest #make regtest2gb %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 install -p -m 755 afio $RPM_BUILD_ROOT%{_bindir} install -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) # Fedora requirements do not include those: # %doc ChangeLog INSTALLATION %doc HISTORY PORTING README SCRIPTS ANNOUNCE-2.5 perl.artistic.license %doc afio.lsm script1 script2 script3 script4 %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Thu Aug 29 2013 Bruno Cornec 2.5-1 - Updated to 2.5