|
Last change
on this file since 403 was 391, checked in by Bruno Cornec, 18 years ago |
- pb: pod content for Distribution.pm and man page delivery
- dploy: improved pb setup in progress
|
|
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
|
|---|
| [14] | 19 |
|
|---|
| 20 | %description
|
|---|
| [154] | 21 | Project Builder aka pb is a tool to produce packages for multiple
|
|---|
| 22 | distributions.
|
|---|
| 23 | It does that by minimizing the duplication of information required
|
|---|
| 24 | and a set a very simple configuration files.
|
|---|
| [14] | 25 |
|
|---|
| 26 | %description -l fr
|
|---|
| [52] | 27 | Project Builder ou pb est un programme pour produire des paquets pour
|
|---|
| 28 | diverses distributions.
|
|---|
| [154] | 29 | Il réalise cela en minimisant la duplication des informations requises
|
|---|
| 30 | et par un jeu de fichiers de configuration très simples.
|
|---|
| [14] | 31 |
|
|---|
| 32 | %prep
|
|---|
| 33 | %setup -q
|
|---|
| 34 |
|
|---|
| 35 | %build
|
|---|
| [359] | 36 | %{__perl} Makefile.PL INSTALLDIRS=vendor PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR
|
|---|
| [203] | 37 | make
|
|---|
| [14] | 38 |
|
|---|
| 39 | %install
|
|---|
| [283] | 40 | %{__rm} -rf $RPM_BUILD_ROOT
|
|---|
| [359] | 41 | make DESTDIR=${RPM_BUILD_ROOT} install
|
|---|
| [231] | 42 | find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f
|
|---|
| [14] | 43 |
|
|---|
| [359] | 44 | %check
|
|---|
| 45 | make test
|
|---|
| 46 |
|
|---|
| [14] | 47 | %clean
|
|---|
| [226] | 48 | %{__rm} -rf $RPM_BUILD_ROOT
|
|---|
| [14] | 49 |
|
|---|
| 50 | %files
|
|---|
| 51 | %defattr(-,root,root)
|
|---|
| [297] | 52 | %doc NEWS AUTHORS
|
|---|
| [287] | 53 | %doc INSTALL COPYING README contrib/pbsetupqemu
|
|---|
| [14] | 54 |
|
|---|
| [359] | 55 | %{perlvendorlib}/*
|
|---|
| [226] | 56 | %{_bindir}/*
|
|---|
| [359] | 57 | %{_mandir}/man1/*
|
|---|
| [391] | 58 | %{_mandir}/man3/*
|
|---|
| [14] | 59 |
|
|---|
| 60 | %changelog
|
|---|
| [17] | 61 | PBLOG
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.