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

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

Fedora fixes according to https://bugzilla.redhat.com/show_bug.cgi?id=449037

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