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
RevLine 
[14]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
[27]8Name: PBPKG
[15]9Version: PBVER
[99]10Release: PBTAGPBSUF
[14]11License: GPL
[15]12Group: PBGRP
[14]13Url: http://www.mondorescue.org
[15]14Source: PBSRC
[14]15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[25]16BuildArch: noarch
[175]17Requires: perl >= 5.8.4, perl-DateManip, perl-AppConfig, PBDEP
[74]18Provides: perl(ProjectBuilder::Changelog), perl(ProjectBuilder::Base), perl(ProjectBuilder::Distribution), perl(ProjectBuilder::Version)
[14]19
20%description
[154]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.
[14]25
26%description -l fr
[52]27Project Builder ou pb est un programme pour produire des paquets pour
28diverses distributions.
[154]29Il réalise cela en minimisant la duplication des informations requises
30et par un jeu de fichiers de configuration très simples.
[14]31
32%prep
33%setup -q
34
35%build
[47]36%{__perl} Makefile.PL
[203]37make
[14]38
39%install
[215]40make DESTDIR=${RPM_BUILD_ROOT} install
[14]41
42%clean
[47]43%{__rm} -rf %{buildroot}
[14]44
45%files
46%defattr(-,root,root)
[46]47%doc ChangeLog svn.log
[153]48%doc INSTALL COPYING README AUTHORS contrib/pbsetupqemu
[14]49
[48]50%{perl_vendorlib}
51#%{_mandir}/*/*
[35]52%{_bindir}/*
[14]53
54%changelog
[17]55PBLOG
Note: See TracBrowser for help on using the repository browser.