source: ProjectBuilder/pbconf/devel/project-builder/rpm/project-builder.spec@ 329

Last change on this file since 329 was 329, checked in by Bruno Cornec, 16 years ago
  • All modules are packages now (simplifies use and spec)
File size: 1.4 KB
RevLine 
[14]1#
2# $Id$
3#
[283]4%define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
[14]5
6Summary: Project Builder aka pb is a tool to produce packages for multiple distributions
7Summary(fr): Project Builder ou pb est un programme pour produire des paquets pour diverses distributions
8
[27]9Name: PBPKG
[15]10Version: PBVER
[99]11Release: PBTAGPBSUF
[14]12License: GPL
[15]13Group: PBGRP
[226]14Url: http://trac.project-builder.org
[15]15Source: PBSRC
[14]16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[25]17BuildArch: noarch
[291]18Requires: perl >= 5.8.4, perl-DateManip, PBDEP
[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
[283]36%{__perl} Makefile.PL PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR
[203]37make
[14]38
39%install
[283]40%{__rm} -rf $RPM_BUILD_ROOT
41make pure_install
[231]42find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f
[14]43
44%clean
[226]45%{__rm} -rf $RPM_BUILD_ROOT
[14]46
47%files
48%defattr(-,root,root)
[297]49%doc NEWS AUTHORS
[287]50%doc INSTALL COPYING README contrib/pbsetupqemu
[14]51
[283]52%{perlvendorlib}/*
[226]53%{_bindir}/*
[48]54#%{_mandir}/*/*
[14]55
56%changelog
[17]57PBLOG
Note: See TracBrowser for help on using the repository browser.