|
Last change
on this file since 301 was 297, checked in by Bruno Cornec, 18 years ago |
|
Addition of pbproj as a filtered variable for dploy needs
|
|
File size:
1.5 KB
|
| Rev | Line | |
|---|
| [14] | 1 | #
|
|---|
| 2 | # $Id$
|
|---|
| 3 | #
|
|---|
| [283] | 4 | %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
|---|
| [14] | 5 |
|
|---|
| 6 | Summary: Project Builder aka pb is a tool to produce packages for multiple distributions
|
|---|
| 7 | Summary(fr): Project Builder ou pb est un programme pour produire des paquets pour diverses distributions
|
|---|
| 8 |
|
|---|
| [27] | 9 | Name: PBPKG
|
|---|
| [15] | 10 | Version: PBVER
|
|---|
| [99] | 11 | Release: PBTAGPBSUF
|
|---|
| [14] | 12 | License: GPL
|
|---|
| [15] | 13 | Group: PBGRP
|
|---|
| [226] | 14 | Url: http://trac.project-builder.org
|
|---|
| [15] | 15 | Source: PBSRC
|
|---|
| [14] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
|---|
| [25] | 17 | BuildArch: noarch
|
|---|
| [291] | 18 | Requires: perl >= 5.8.4, perl-DateManip, PBDEP
|
|---|
| [74] | 19 | Provides: perl(ProjectBuilder::Changelog), perl(ProjectBuilder::Base), perl(ProjectBuilder::Distribution), perl(ProjectBuilder::Version)
|
|---|
| [14] | 20 |
|
|---|
| 21 | %description
|
|---|
| [154] | 22 | Project Builder aka pb is a tool to produce packages for multiple
|
|---|
| 23 | distributions.
|
|---|
| 24 | It does that by minimizing the duplication of information required
|
|---|
| 25 | and a set a very simple configuration files.
|
|---|
| [14] | 26 |
|
|---|
| 27 | %description -l fr
|
|---|
| [52] | 28 | Project Builder ou pb est un programme pour produire des paquets pour
|
|---|
| 29 | diverses distributions.
|
|---|
| [154] | 30 | Il réalise cela en minimisant la duplication des informations requises
|
|---|
| 31 | et par un jeu de fichiers de configuration très simples.
|
|---|
| [14] | 32 |
|
|---|
| 33 | %prep
|
|---|
| 34 | %setup -q
|
|---|
| 35 |
|
|---|
| 36 | %build
|
|---|
| [283] | 37 | %{__perl} Makefile.PL PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR
|
|---|
| [203] | 38 | make
|
|---|
| [14] | 39 |
|
|---|
| 40 | %install
|
|---|
| [283] | 41 | %{__rm} -rf $RPM_BUILD_ROOT
|
|---|
| 42 | make pure_install
|
|---|
| [231] | 43 | find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f
|
|---|
| [14] | 44 |
|
|---|
| 45 | %clean
|
|---|
| [226] | 46 | %{__rm} -rf $RPM_BUILD_ROOT
|
|---|
| [14] | 47 |
|
|---|
| 48 | %files
|
|---|
| 49 | %defattr(-,root,root)
|
|---|
| [297] | 50 | %doc NEWS AUTHORS
|
|---|
| [287] | 51 | %doc INSTALL COPYING README contrib/pbsetupqemu
|
|---|
| [14] | 52 |
|
|---|
| [283] | 53 | %{perlvendorlib}/*
|
|---|
| [226] | 54 | %{_bindir}/*
|
|---|
| [48] | 55 | #%{_mandir}/*/*
|
|---|
| [14] | 56 |
|
|---|
| 57 | %changelog
|
|---|
| [17] | 58 | PBLOG
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.