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