Last change
on this file since 2585 was 231, checked in by Bruno Cornec, 17 years ago |
- backport some spec fixes from 0.8.5
- Fix enhancement #4
|
File size:
1.5 KB
|
Line | |
---|
1 | #
|
---|
2 | # $Id$
|
---|
3 | #
|
---|
4 | %define perlvendorlib: %(eval "`%{__perl} -V:installvendorlib | cut -d= -f2`")
|
---|
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, perl-AppConfig, PBDEP
|
---|
19 | Provides: perl(ProjectBuilder::Changelog), perl(ProjectBuilder::Base), perl(ProjectBuilder::Distribution), perl(ProjectBuilder::Version)
|
---|
20 |
|
---|
21 | %description
|
---|
22 | Project Builder aka pb is a tool to produce packages for multiple
|
---|
23 | distributions.
|
---|
24 | It does that by minimizing the duplication of information required
|
---|
25 | and a set a very simple configuration files.
|
---|
26 |
|
---|
27 | %description -l fr
|
---|
28 | Project Builder ou pb est un programme pour produire des paquets pour
|
---|
29 | diverses distributions.
|
---|
30 | Il réalise cela en minimisant la duplication des informations requises
|
---|
31 | et par un jeu de fichiers de configuration très simples.
|
---|
32 |
|
---|
33 | %prep
|
---|
34 | %setup -q
|
---|
35 |
|
---|
36 | %build
|
---|
37 | %{__perl} Makefile.PL destdir=$RPM_BUILD_ROOT
|
---|
38 | make
|
---|
39 |
|
---|
40 | %install
|
---|
41 | make DESTDIR=${RPM_BUILD_ROOT} 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 ChangeLog svn.log
|
---|
50 | %doc INSTALL COPYING README AUTHORS contrib/pbsetupqemu
|
---|
51 |
|
---|
52 | %{_prefix}/lib/perl5/vendor_perl/*/*
|
---|
53 | %{_bindir}/*
|
---|
54 | #%{_mandir}/*/*
|
---|
55 |
|
---|
56 | %changelog
|
---|
57 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.