| Revision 334,
1.4 KB
checked in by bruno, 5 years ago
(diff) |
|
Addind man page support in spec file
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # $Id$ |
|---|
| 3 | # |
|---|
| 4 | %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) |
|---|
| 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 | |
|---|
| 9 | Name: PBPKG |
|---|
| 10 | Version: PBVER |
|---|
| 11 | Release: PBTAGPBSUF |
|---|
| 12 | License: GPL |
|---|
| 13 | Group: PBGRP |
|---|
| 14 | Url: http://trac.project-builder.org |
|---|
| 15 | Source: PBSRC |
|---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) |
|---|
| 17 | BuildArch: noarch |
|---|
| 18 | Requires: perl >= 5.8.4, perl-DateManip, PBDEP |
|---|
| 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 PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR |
|---|
| 37 | make |
|---|
| 38 | |
|---|
| 39 | %install |
|---|
| 40 | %{__rm} -rf $RPM_BUILD_ROOT |
|---|
| 41 | make pure_install |
|---|
| 42 | find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f |
|---|
| 43 | |
|---|
| 44 | %clean |
|---|
| 45 | %{__rm} -rf $RPM_BUILD_ROOT |
|---|
| 46 | |
|---|
| 47 | %files |
|---|
| 48 | %defattr(-,root,root) |
|---|
| 49 | %doc NEWS AUTHORS |
|---|
| 50 | %doc INSTALL COPYING README contrib/pbsetupqemu |
|---|
| 51 | |
|---|
| 52 | %{perlvendorlib}/* |
|---|
| 53 | %{_bindir}/* |
|---|
| 54 | %{_mandir}/*/* |
|---|
| 55 | |
|---|
| 56 | %changelog |
|---|
| 57 | PBLOG |
|---|
Note: See
TracBrowser
for help on using the repository browser.