Last change
on this file since 39 was 35, checked in by Bruno Cornec, 17 years ago |
add perl specifics to spec file
|
File size:
1.5 KB
|
Rev | Line | |
---|
[14] | 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 |
|
---|
[27] | 8 | Name: PBPKG
|
---|
[15] | 9 | Version: PBVER
|
---|
[16] | 10 | Release: PBTAG
|
---|
[14] | 11 | License: GPL
|
---|
[15] | 12 | Group: PBGRP
|
---|
[14] | 13 | Url: http://www.mondorescue.org
|
---|
[15] | 14 | Source: PBSRC
|
---|
[14] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[25] | 16 | BuildArch: noarch
|
---|
[35] | 17 | Requires: perl >= 5.8.4, PBDEP
|
---|
[14] | 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
|
---|
[35] | 33 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 34 | %{__perl} Makefile.PL %{prefix}
|
---|
| 35 | make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix} %{?_smp_mflags} VERSION=%{version}
|
---|
| 36 | #perl -p -i -e 's|/usr/local/bin|/usr/bin|g;' *.pm examples/*
|
---|
[14] | 37 |
|
---|
| 38 | %install
|
---|
[35] | 39 | eval `perl '-V:installarchlib'`
|
---|
| 40 | mkdir -p $RPM_BUILD_ROOT/$installarchlib
|
---|
| 41 | make install PREFIX=$RPM_BUILD_ROOT/%{prefix}
|
---|
[14] | 42 |
|
---|
| 43 | %clean
|
---|
| 44 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 45 |
|
---|
| 46 | %files
|
---|
| 47 | %defattr(-,root,root)
|
---|
| 48 | %config(noreplace) %{_sysconfdir}/%{name}/%{name}.pb
|
---|
| 49 | %doc ChangeLog svn.log
|
---|
| 50 | %doc INSTALL COPYING README TODO AUTHORS NEWS
|
---|
| 51 |
|
---|
[35] | 52 | %{_libdir}/perl5/site_perl/*
|
---|
| 53 | %{_bindir}/*
|
---|
[14] | 54 | #%{_mandir}/man8/*
|
---|
| 55 |
|
---|
| 56 | %changelog
|
---|
[17] | 57 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.