source: ProjectBuilder/pbconf/devel/perl-ProjectBuilder/rpm/perl-ProjectBuilder.spec@ 429

Last change on this file since 429 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
RevLine 
[14]1#
2# $Id$
3#
[283]4%define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
[14]5
[404]6Summary: perl-ProjectBuilder is a set of functions to help develop perl projects and deal with Linux distributions
7Summary(fr): perl-ProjectBuilder est un ensemble de fionctions pour aider à développer des projets perl et à traiter de diverses distributions Linux
[14]8
[27]9Name: PBPKG
[15]10Version: PBVER
[99]11Release: PBTAGPBSUF
[14]12License: GPL
[15]13Group: PBGRP
[226]14Url: http://trac.project-builder.org
[429]15Source: PBREPO/PBSRC
[14]16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[25]17BuildArch: noarch
[404]18Requires: perl >= 5.8.4, PBDEP
[14]19
20%description
[404]21perl-ProjectBuilder is a set of functions to help develop perl projects and deal with Linux distributions.
[14]22
23%description -l fr
[404]24perl-ProjectBuilder est un ensemble de fionctions pour aider à développer des projets perl et à traiter de diverses distributions Linux.
[14]25
26%prep
27%setup -q
28
29%build
[359]30%{__perl} Makefile.PL INSTALLDIRS=vendor PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR
[203]31make
[14]32
33%install
[283]34%{__rm} -rf $RPM_BUILD_ROOT
[359]35make DESTDIR=${RPM_BUILD_ROOT} install
[231]36find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f
[14]37
[359]38%check
39make test
40
[14]41%clean
[226]42%{__rm} -rf $RPM_BUILD_ROOT
[14]43
44%files
45%defattr(-,root,root)
[297]46%doc NEWS AUTHORS
[404]47%doc INSTALL COPYING README
[14]48
[359]49%{perlvendorlib}/*
[226]50%{_bindir}/*
[404]51#%{_mandir}/man1/*
[391]52%{_mandir}/man3/*
[14]53
54%changelog
[17]55PBLOG
Note: See TracBrowser for help on using the repository browser.