|
Last change
on this file since 225 was 225, checked in by Bruno Cornec, 18 years ago |
|
DESTDIR should be really called on the make line
|
|
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 | make DESTDIR=${RPM_BUILD_ROOT} install
|
|---|
| 41 |
|
|---|
| 42 | %clean
|
|---|
| 43 | %{__rm} -rf %{buildroot}
|
|---|
| 44 |
|
|---|
| 45 | %files
|
|---|
| 46 | %defattr(-,root,root)
|
|---|
| 47 | %doc ChangeLog svn.log
|
|---|
| 48 | %doc INSTALL COPYING README AUTHORS contrib/pbsetupqemu
|
|---|
| 49 |
|
|---|
| 50 | %{perl_vendorlib}
|
|---|
| 51 | #%{_mandir}/*/*
|
|---|
| 52 | %{_bindir}/*
|
|---|
| 53 |
|
|---|
| 54 | %changelog
|
|---|
| 55 | PBLOG
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.