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
RevLine 
[451]1#
2# $Id$
3#
4
[454]5Summary: PBDESC
6Summary(fr): Archiveur écrivant des archives au format cpio
[451]7
8Name: PBPKG
9Version: PBVER
10Release: PBTAGPBSUF
11License: PBLIC
12Group: PBGRP
[568]13Url: http://freshmeat.net/projects/afio/
14Source: PBURL
[1933]15BuildRequires: gcc
[550]16PBPATCHSRC
[451]17BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
18
19%description
[534]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.
[451]25
26%description -l fr
[568]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.
[451]33
34%prep
35%setup -q
36
[550]37PBPATCHCMD
38
[451]39%build
40make %{?_smp_mflags}
[550]41chmod 644 script*/*
[451]42
[550]43%check
44make regtest
[568]45#make regtest2gb
[550]46
[451]47%install
[485]48rm -rf $RPM_BUILD_ROOT
[454]49mkdir -p $RPM_BUILD_ROOT%{_bindir}
50mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
[550]51install -p -m 755 afio $RPM_BUILD_ROOT%{_bindir}
52install -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1
[451]53
54%clean
[485]55rm -rf $RPM_BUILD_ROOT
[451]56
57%files
[534]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
[454]63%{_bindir}/%{name}
64%{_mandir}/man1/%{name}.1*
[451]65
66%changelog
67PBLOG
68
Note: See TracBrowser for help on using the repository browser.