source: ProjectBuilder/0.8.5/pbconf/project-builder/rpm/project-builder.spec@ 215

Last change on this file since 215 was 215, checked in by Bruno Cornec, 17 years ago

Really no macro in spec file for other rpm distro than Mandriva

File size: 1.4 KB
Line 
1#
2# $Id$
3#
4
5Summary: Project Builder aka pb is a tool to produce packages for multiple distributions
6Summary(fr): Project Builder ou pb est un programme pour produire des paquets pour diverses distributions
7
8Name: PBPKG
9Version: PBVER
10Release: PBTAGPBSUF
11License: GPL
12Group: PBGRP
13Url: http://www.mondorescue.org
14Source: PBSRC
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
16BuildArch: noarch
17Requires: perl >= 5.8.4, perl-DateManip, perl-AppConfig, PBDEP
18Provides: perl(ProjectBuilder::Changelog), perl(ProjectBuilder::Base), perl(ProjectBuilder::Distribution), perl(ProjectBuilder::Version)
19
20%description
21Project Builder aka pb is a tool to produce packages for multiple
22distributions.
23It does that by minimizing the duplication of information required
24and a set a very simple configuration files.
25
26%description -l fr
27Project Builder ou pb est un programme pour produire des paquets pour
28diverses distributions.
29Il réalise cela en minimisant la duplication des informations requises
30et par un jeu de fichiers de configuration très simples.
31
32%prep
33%setup -q
34
35%build
36%{__perl} Makefile.PL
37make
38
39%install
40make DESTDIR=${RPM_BUILD_ROOT} install
41
42%clean
43%{__rm} -rf %{buildroot}
44
45%files
46%defattr(-,root,root)
47%doc ChangeLog svn.log
48%doc INSTALL COPYING README AUTHORS contrib/pbsetupqemu
49
50%{perl_vendorlib}
51#%{_mandir}/*/*
52%{_bindir}/*
53
54%changelog
55PBLOG
Note: See TracBrowser for help on using the repository browser.