source: ProjectBuilder/projects/afio/pbconf/2.5/afio/rpm/afio.spec@ 1933

Last change on this file since 1933 was 1933, checked in by Bruno Cornec, 9 years ago
  • afio requires gcc to build
File size: 1.7 KB
Line 
1#
2# $Id$
3#
4
5Summary: PBDESC
6Summary(fr): Archiveur écrivant des archives au format cpio
7
8Name: PBPKG
9Version: PBVER
10Release: PBTAGPBSUF
11License: PBLIC
12Group: PBGRP
13Url: http://freshmeat.net/projects/afio/
14Source: PBURL
15BuildRequires: gcc
16PBPATCHSRC
17BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
18
19%description
20Afio makes cpio-format archives. It deals somewhat gracefully with
21input data corruption. Supports multi-volume archives during
22interactive operation. Afio can make compressed archives that are
23much safer than compressed tar or cpio archives. Afio is best used as
24an `archive engine' in a backup script.
25
26%description -l fr
27Archiveur écrivant des archives au format cpio. Il gère relativement
28bien les corruptions de données à l'entrée. Il prend en charge les
29archives sur de mulltiples volumes en mode interactif. Afio peut compresser
30les fichiers à l'archivage, ce qui est bien plus sûr que des fichiers tar
31ou cpio compressés. La meilleure utilisation d'afio est comme moteur
32d'archive dans un script de backup.
33
34%prep
35%setup -q
36
37PBPATCHCMD
38
39%build
40make %{?_smp_mflags}
41chmod 644 script*/*
42
43%check
44make regtest
45#make regtest2gb
46
47%install
48rm -rf $RPM_BUILD_ROOT
49mkdir -p $RPM_BUILD_ROOT%{_bindir}
50mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
51install -p -m 755 afio $RPM_BUILD_ROOT%{_bindir}
52install -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1
53
54%clean
55rm -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
67PBLOG
68
Note: See TracBrowser for help on using the repository browser.