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

Last change on this file was 2480, checked in by Bruno Cornec, 4 years ago

no debug package for afio

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