|
Last change
on this file since 220 was 220, checked in by Bruno Cornec, 18 years ago |
- date done with sudo in the VM before running pb to avoid time issues
- Really no macro in spec file for other rpm distro than Mandriva
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # $Id$
|
|---|
| 3 | #
|
|---|
| 4 |
|
|---|
| 5 | Summary: Project Builder aka pb is a tool to produce packages for multiple distributions
|
|---|
| 6 | Summary(fr): Project Builder ou pb est un programme pour produire des paquets pour diverses distributions
|
|---|
| 7 |
|
|---|
| 8 | Name: PBPKG
|
|---|
| 9 | Version: PBVER
|
|---|
| 10 | Release: PBTAGPBSUF
|
|---|
| 11 | License: GPL
|
|---|
| 12 | Group: PBGRP
|
|---|
| 13 | Url: http://www.mondorescue.org
|
|---|
| 14 | Source: PBSRC
|
|---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
|---|
| 16 | BuildArch: noarch
|
|---|
| 17 | Requires: perl >= 5.8.4, perl-DateManip, perl-AppConfig, PBDEP
|
|---|
| 18 | Provides: perl(ProjectBuilder::Changelog), perl(ProjectBuilder::Base), perl(ProjectBuilder::Distribution), perl(ProjectBuilder::Version)
|
|---|
| 19 |
|
|---|
| 20 | %description
|
|---|
| 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.
|
|---|
| 25 |
|
|---|
| 26 | %description -l fr
|
|---|
| 27 | Project Builder ou pb est un programme pour produire des paquets pour
|
|---|
| 28 | diverses distributions.
|
|---|
| 29 | Il réalise cela en minimisant la duplication des informations requises
|
|---|
| 30 | et par un jeu de fichiers de configuration très simples.
|
|---|
| 31 |
|
|---|
| 32 | %prep
|
|---|
| 33 | %setup -q
|
|---|
| 34 |
|
|---|
| 35 | %build
|
|---|
| 36 | %{__perl} Makefile.PL
|
|---|
| 37 | make
|
|---|
| 38 |
|
|---|
| 39 | %install
|
|---|
| 40 | export DESTDIR=${RPM_BUILD_ROOT}
|
|---|
| 41 | make install
|
|---|
| 42 |
|
|---|
| 43 | %clean
|
|---|
| 44 | %{__rm} -rf %{buildroot}
|
|---|
| 45 |
|
|---|
| 46 | %files
|
|---|
| 47 | %defattr(-,root,root)
|
|---|
| 48 | %doc ChangeLog svn.log
|
|---|
| 49 | %doc INSTALL COPYING README AUTHORS contrib/pbsetupqemu
|
|---|
| 50 |
|
|---|
| 51 | %{perl_vendorlib}
|
|---|
| 52 | #%{_mandir}/*/*
|
|---|
| 53 | %{_bindir}/*
|
|---|
| 54 |
|
|---|
| 55 | %changelog
|
|---|
| 56 | PBLOG
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.