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
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
13Url: PBURL
14Source: PBREPO/PBSRC
[550]15PBPATCHSRC
[451]16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
17
18%description
[534]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.
[451]24
25%description -l fr
[454]26Archiveur écrivant des archives au format cpio
[451]27
28%prep
29%setup -q
30
[550]31PBPATCHCMD
32
[451]33%build
34make %{?_smp_mflags}
[550]35chmod 644 script*/*
[451]36
[550]37%check
38make regtest
39make regtest2gb
40
[451]41%install
[485]42rm -rf $RPM_BUILD_ROOT
[454]43mkdir -p $RPM_BUILD_ROOT%{_bindir}
44mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
[550]45install -p -m 755 afio $RPM_BUILD_ROOT%{_bindir}
46install -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1
[451]47
48%clean
[485]49rm -rf $RPM_BUILD_ROOT
[451]50
51%files
[534]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
[454]57%{_bindir}/%{name}
58%{_mandir}/man1/%{name}.1*
[451]59
60%changelog
61PBLOG
62
Note: See TracBrowser for help on using the repository browser.