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

Last change on this file since 550 was 550, checked in by Bruno Cornec, 16 years ago

Fixes for correct Fedora build according to https://bugzilla.redhat.com/show_bug.cgi?id=449037

File size: 1.4 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: PBURL
14Source: PBREPO/PBSRC
15PBPATCHSRC
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
17
18%description
19Afio makes cpio-format archives. It deals somewhat gracefully with
20input data corruption. Supports multi-volume archives during
21interactive operation. Afio can make compressed archives that are
22much safer than compressed tar or cpio archives. Afio is best used as
23an `archive engine' in a backup script.
24
25%description -l fr
26Archiveur écrivant des archives au format cpio
27
28%prep
29%setup -q
30
31PBPATCHCMD
32
33%build
34make %{?_smp_mflags}
35chmod 644 script*/*
36
37%check
38make regtest
39make regtest2gb
40
41%install
42rm -rf $RPM_BUILD_ROOT
43mkdir -p $RPM_BUILD_ROOT%{_bindir}
44mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
45install -p -m 755 afio $RPM_BUILD_ROOT%{_bindir}
46install -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(-,root,root,-)
53# Fedora requirements do not include those:
54# %doc ChangeLog INSTALLATION
55%doc HISTORY PORTING README SCRIPTS ANNOUNCE-2.5 perl.artistic.license
56%doc afio.lsm script1 script2 script3 script4
57%{_bindir}/%{name}
58%{_mandir}/man1/%{name}.1*
59
60%changelog
61PBLOG
62
Note: See TracBrowser for help on using the repository browser.