| Revision 42,
1.3 KB
checked in by bruno, 6 years ago
(diff) |
|
Improvements after reading man page ... maybe :-)
|
| 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: PBTAG |
|---|
| 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, PBDEP |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | Project Builder aka pb is a tool to produce packages for multiple distributions. |
|---|
| 21 | It does that by minimizing the duplication of information required and a set a |
|---|
| 22 | very simple configuration files. |
|---|
| 23 | |
|---|
| 24 | %description -l fr |
|---|
| 25 | Project Builder ou pb est un programme pour produire des paquets pour diverses distributions. |
|---|
| 26 | Il réalise cela en minimisant la duplication des informations requises et par un jeu de |
|---|
| 27 | fichiers de configuration très simples. |
|---|
| 28 | |
|---|
| 29 | %prep |
|---|
| 30 | %setup -q |
|---|
| 31 | |
|---|
| 32 | %build |
|---|
| 33 | %{__perl} Makefile.PL INSTALLDIRS=vendor INST_SCRIPT=./blib/bin INSTALLSCRIPT=$RPM_BUILD_ROOT/usr/bin VERSION=%{version} |
|---|
| 34 | %make |
|---|
| 35 | |
|---|
| 36 | %install |
|---|
| 37 | %{__rm} -rf %{buildroot} |
|---|
| 38 | %makeinstall_std |
|---|
| 39 | |
|---|
| 40 | %clean |
|---|
| 41 | %{__rm} -rf $RPM_BUILD_ROOT |
|---|
| 42 | |
|---|
| 43 | %files |
|---|
| 44 | %defattr(-,root,root) |
|---|
| 45 | %config(noreplace) %{_sysconfdir}/%{name}/%{name} |
|---|
| 46 | %doc ChhangeLog svn.log |
|---|
| 47 | %doc INSTALL COPYING README TODO AUTHORS NEWS |
|---|
| 48 | |
|---|
| 49 | %{perl_vendorlib}/AppConfig.pm |
|---|
| 50 | %{_mandir}/*/* |
|---|
| 51 | %{_bindir}/* |
|---|
| 52 | |
|---|
| 53 | %changelog |
|---|
| 54 | PBLOG |
|---|
Note: See
TracBrowser
for help on using the repository browser.