Last change
on this file since 1813 was 429, checked in by Bruno Cornec, 16 years ago |
- Change filtering interface to add pbrepo keyword support and PBREPO macro
- Add repository generation support + conf files to pb for rpm
- Adapt pb and mondorecue spec files to new interfaces
|
File size:
1.3 KB
|
Line | |
---|
1 | #
|
---|
2 | # $Id$
|
---|
3 | #
|
---|
4 | %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
---|
5 |
|
---|
6 | Summary: perl-ProjectBuilder is a set of functions to help develop perl projects and deal with Linux distributions
|
---|
7 | Summary(fr): perl-ProjectBuilder est un ensemble de fionctions pour aider à développer des projets perl et à traiter de diverses distributions Linux
|
---|
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: PBREPO/PBSRC
|
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
17 | BuildArch: noarch
|
---|
18 | Requires: perl >= 5.8.4, PBDEP
|
---|
19 |
|
---|
20 | %description
|
---|
21 | perl-ProjectBuilder is a set of functions to help develop perl projects and deal with Linux distributions.
|
---|
22 |
|
---|
23 | %description -l fr
|
---|
24 | perl-ProjectBuilder est un ensemble de fionctions pour aider à développer des projets perl et à traiter de diverses distributions Linux.
|
---|
25 |
|
---|
26 | %prep
|
---|
27 | %setup -q
|
---|
28 |
|
---|
29 | %build
|
---|
30 | %{__perl} Makefile.PL INSTALLDIRS=vendor PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR
|
---|
31 | make
|
---|
32 |
|
---|
33 | %install
|
---|
34 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
35 | make DESTDIR=${RPM_BUILD_ROOT} install
|
---|
36 | find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f
|
---|
37 |
|
---|
38 | %check
|
---|
39 | make test
|
---|
40 |
|
---|
41 | %clean
|
---|
42 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
43 |
|
---|
44 | %files
|
---|
45 | %defattr(-,root,root)
|
---|
46 | %doc NEWS AUTHORS
|
---|
47 | %doc INSTALL COPYING README
|
---|
48 |
|
---|
49 | %{perlvendorlib}/*
|
---|
50 | %{_bindir}/*
|
---|
51 | #%{_mandir}/man1/*
|
---|
52 | %{_mandir}/man3/*
|
---|
53 |
|
---|
54 | %changelog
|
---|
55 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.