]>
Commit | Line | Data |
---|---|---|
1 | Summary: Program which makes cpio-format archives | |
2 | Summary(pl.UTF-8): Pakiet zawiera program do tworzenia archiwów w formacie cpio | |
3 | Name: afio | |
4 | Version: 2.5 | |
5 | Release: 3 | |
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.UTF-8 | |
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} \ | |
39 | CC="%{__cc}" \ | |
40 | CFLAGS1="-Wformat -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE %{rpmcflags}" | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}} | |
45 | ||
46 | install afio $RPM_BUILD_ROOT%{_bindir} | |
47 | install afio.1* $RPM_BUILD_ROOT%{_mandir}/man1 | |
48 | mv -f script* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc afio.lsm HISTORY SCRIPTS README PORTING | |
56 | %attr(755,root,root) %{_bindir}/afio | |
57 | %{_mandir}/man1/afio.* | |
58 | %{_examplesdir}/%{name}-%{version} |