]> git.pld-linux.org Git - packages/afio.git/blob - afio.spec
d14820a580936f5f6797569224eed9854c7bd4c6
[packages/afio.git] / afio.spec
1 Summary:        Program which makes cpio-format archives
2 Summary(pl):    Pakiet zawiera program do tworzenia archiwów w formacie cpio
3 Name:           afio
4 Version:        2.5
5 Release:        2
6 License:        Artistic
7 Group:          Applications/Archiving
8 Source0:        http://www.ibiblio.org/pub/linux/system/backup/%{name}-%{version}.tgz
9 # Source0-md5:  8c6665e0f875dcd8e1bdb18644b59688
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 Afio is best used as an 'archive engine' in a backup script. It can
14 make compressed archives that are much safer than compressed tar or
15 cpio archives because it deals somewhat gracefully with input data
16 corruption and supports multi-volume archives.
17
18 This version has been patched to handle remote tape drives exactly the
19 same as GNU tar - ie you can specify the backup file as
20 "user@machine:/dev/tape".
21
22 %description -l pl
23 Afio jest programem u¿ywanym przez skrypty tworz±ce kopie zapasowe.
24 Potrafi tworzyæ kompresowane archiwa, które s± bardziej bezpieczne ni¿
25 kopie tworzone za pomoc± programów tar lub cpio poniewa¿ potrafi
26 poradziæ sobie z uszkodzonymi danymi. Mo¿na tym programem tworzyæ
27 tak¿e wielowolumenowe kopie zapasowe.
28
29 Program ten zosta³ poprawiony, by mo¿na by³o wyspecyfikowaæ zdalne
30 urz±dzenie kopii zapasowej tak jak w programie GNU tar, np.:
31 "user@machine:/dev/tape".
32
33 %prep
34 %setup  -q
35
36 %build
37 %{__make} clean
38 %{__make} CFLAGS1="-Wformat -fomit-frame-pointer \
39         %{rpmcflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}}
44
45 install afio $RPM_BUILD_ROOT%{_bindir}
46 install afio.1* $RPM_BUILD_ROOT%{_mandir}/man1
47 mv -f script* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc afio.lsm HISTORY SCRIPTS README PORTING
55 %attr(755,root,root) %{_bindir}/afio
56 %{_mandir}/man1/afio.*
57 %{_examplesdir}/%{name}-%{version}
This page took 0.065355 seconds and 2 git commands to generate.