source: ProjectBuilder/0.8.5/pbconf/project-builder/rpm/project-builder.spec@ 228

Last change on this file since 228 was 228, checked in by Bruno Cornec, 17 years ago

Force removal of perllocal.pod to avoid build issues

File size: 1.5 KB
RevLine 
[14]1#
2# $Id$
3#
[222]4%define perlvendorlib: %(eval "`%{__perl} -V:installvendorlib | cut -d= -f2`")
[14]5
6Summary: Project Builder aka pb is a tool to produce packages for multiple distributions
7Summary(fr): Project Builder ou pb est un programme pour produire des paquets pour diverses distributions
8
[27]9Name: PBPKG
[15]10Version: PBVER
[99]11Release: PBTAGPBSUF
[14]12License: GPL
[15]13Group: PBGRP
[222]14Url: http://trac.project-builder.org
[15]15Source: PBSRC
[14]16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[25]17BuildArch: noarch
[175]18Requires: perl >= 5.8.4, perl-DateManip, perl-AppConfig, PBDEP
[74]19Provides: perl(ProjectBuilder::Changelog), perl(ProjectBuilder::Base), perl(ProjectBuilder::Distribution), perl(ProjectBuilder::Version)
[14]20
21%description
[154]22Project Builder aka pb is a tool to produce packages for multiple
23distributions.
24It does that by minimizing the duplication of information required
25and a set a very simple configuration files.
[14]26
27%description -l fr
[52]28Project Builder ou pb est un programme pour produire des paquets pour
29diverses distributions.
[154]30Il réalise cela en minimisant la duplication des informations requises
31et par un jeu de fichiers de configuration très simples.
[14]32
33%prep
34%setup -q
35
36%build
[221]37%{__perl} Makefile.PL destdir=$RPM_BUILD_ROOT
[203]38make
[14]39
40%install
[228]41make DESTDIR=${RPM_BUILD_ROOT} pure_install
42find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f
[14]43
44%clean
[221]45%{__rm} -rf $RPM_BUILD_ROOT
[14]46
47%files
48%defattr(-,root,root)
[46]49%doc ChangeLog svn.log
[153]50%doc INSTALL COPYING README AUTHORS contrib/pbsetupqemu
[14]51
[222]52%{_prefix}/lib/perl5/vendor_perl/*/*
53%{_bindir}/*
[48]54#%{_mandir}/*/*
[14]55
56%changelog
[17]57PBLOG
Note: See TracBrowser for help on using the repository browser.