Last change
on this file since 2489 was 463, checked in by Bruno Cornec, 16 years ago |
- Use $/ to split PBDESC line
|
File size:
1.2 KB
|
Line | |
---|
1 | #
|
---|
2 | # $Id$
|
---|
3 | #
|
---|
4 | %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
---|
5 |
|
---|
6 | Summary: Perl module providing support and deal with Linux distributions
|
---|
7 | Summary(fr): Module Perl fournissant des fonctions de support et aidant à 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 | PBDESC
|
---|
22 |
|
---|
23 | %description -l fr
|
---|
24 | perl-ProjectBuilder est un ensemble de fonctions 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.