Line | |
---|
1 | #
|
---|
2 | # $Id$
|
---|
3 | #
|
---|
4 |
|
---|
5 | Summary: PBDESC
|
---|
6 | Summary(fr): Archiveur écrivant des archives au format cpio
|
---|
7 |
|
---|
8 | Name: PBPKG
|
---|
9 | Version: PBVER
|
---|
10 | Release: PBTAGPBSUF
|
---|
11 | License: PBLIC
|
---|
12 | Group: PBGRP
|
---|
13 | Url: http://freshmeat.net/projects/afio/
|
---|
14 | Source: PBURL
|
---|
15 | BuildRequires: gcc
|
---|
16 | PBPATCHSRC
|
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
18 |
|
---|
19 | %description
|
---|
20 | Afio makes cpio-format archives. It deals somewhat gracefully with
|
---|
21 | input data corruption. Supports multi-volume archives during
|
---|
22 | interactive operation. Afio can make compressed archives that are
|
---|
23 | much safer than compressed tar or cpio archives. Afio is best used as
|
---|
24 | an `archive engine' in a backup script.
|
---|
25 |
|
---|
26 | %description -l fr
|
---|
27 | Archiveur écrivant des archives au format cpio. Il gère relativement
|
---|
28 | bien les corruptions de données à l'entrée. Il prend en charge les
|
---|
29 | archives sur de mulltiples volumes en mode interactif. Afio peut compresser
|
---|
30 | les fichiers à l'archivage, ce qui est bien plus sûr que des fichiers tar
|
---|
31 | ou cpio compressés. La meilleure utilisation d'afio est comme moteur
|
---|
32 | d'archive dans un script de backup.
|
---|
33 |
|
---|
34 | %prep
|
---|
35 | %setup -q
|
---|
36 |
|
---|
37 | PBPATCHCMD
|
---|
38 |
|
---|
39 | %build
|
---|
40 | make %{?_smp_mflags}
|
---|
41 | chmod 644 script*/*
|
---|
42 |
|
---|
43 | %check
|
---|
44 | make regtest
|
---|
45 | #make regtest2gb
|
---|
46 |
|
---|
47 | %install
|
---|
48 | rm -rf $RPM_BUILD_ROOT
|
---|
49 | mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
---|
50 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
---|
51 | install -p -m 755 afio $RPM_BUILD_ROOT%{_bindir}
|
---|
52 | install -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
---|
53 |
|
---|
54 | %clean
|
---|
55 | rm -rf $RPM_BUILD_ROOT
|
---|
56 |
|
---|
57 | %files
|
---|
58 | %defattr(-,root,root,-)
|
---|
59 | # Fedora requirements do not include those:
|
---|
60 | # %doc ChangeLog INSTALLATION
|
---|
61 | %doc HISTORY PORTING README SCRIPTS ANNOUNCE-2.5 perl.artistic.license
|
---|
62 | %doc afio.lsm script1 script2 script3 script4
|
---|
63 | %{_bindir}/%{name}
|
---|
64 | %{_mandir}/man1/%{name}.1*
|
---|
65 |
|
---|
66 | %changelog
|
---|
67 | PBLOG
|
---|
68 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.