]> git.pld-linux.org Git - packages/afio.git/commitdiff
- install man page in proper place, afio-2_4_5-8
authorkloczek <kloczek@pld-linux.org>
Sat, 18 Nov 2000 22:05:50 +0000 (22:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added %description and Source url,
- make spec %%{debug} friendly,
- License changed to Freeware.

Changed files:
    afio.spec -> 1.2

afio.spec

index e43f4dc3300eca2f6fcdffdf06797a2b07898034..8a5227de594dcb9549afe1874e0654fd9a52d493 100644 (file)
--- a/afio.spec
+++ b/afio.spec
@@ -1,35 +1,40 @@
-Summary:       Program which makes cpio-format archives.
-Summary(pl):   Pakiet zawiera program do tworzenia archiwów w formacie cpio
+Summary:       Program which makes cpio-format archives
+Summary(pl):   Pakiet zawiera program do tworzenia archiwów w formacie cpio
 Name:          afio
 Version:       2.4.5
 Release:       8
-License:       Unknown
+License:       Freeware
 Group:         Applications/Archiving
 Group(de):     Applikationen/Archivierung
 Group(pl):     Aplikacje/Archiwizacja
-Source:        %{name}-%{version}.tgz
+Source0:       ftp://sunsite.unc.edu/pub/Linux/system/Backup/%{name}-%{version}.tgz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+Afio is best used as an 'archive engine' in a backup script. It can
+make compressed archives that are much safer than compressed tar or
+cpio archives because it deals somewhat gracefully with input data
+corruption and supports multi-volume archives.
 
-%description -l pl
+This version has been patched to handle remote tape drives exactly the
+same as GNU tar - ie you can specify the backup file as
+"user@machine:/dev/tape".
 
 %prep
 %setup  -q
 
 %build
 %{__make} clean
-%{__make} CFLAGS1="-Wformat -fomit-frame-pointer $RPM_OPT_FLAGS"
+%{__make} CFLAGS1="-Wformat -fomit-frame-pointer \
+       %{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_mandir}
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}}
 
 install afio $RPM_BUILD_ROOT%{_bindir}
-install afio.1* $RPM_BUILD_ROOT%{_mandir}
-mv script* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+install afio.1* $RPM_BUILD_ROOT%{_mandir}/man1
+mv -f script* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
 
 gzip -9nf afio.lsm HISTORY SCRIPTS README PORTING
 
@@ -38,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc afio.lsm* HISTORY* SCRIPTS* README* PORTING*
+%doc *,gz
 %attr(755,root,root) %{_bindir}/afio
-%{_mandir}/afio.*
+%{_mandir}/man1/afio.*
 %{_examplesdir}/%{name}
This page took 0.089701 seconds and 4 git commands to generate.