# # $Id$ # %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) Summary: Project Builder aka pb is a tool to produce packages for multiple distributions Summary(fr): Project Builder ou pb est un programme pour produire des paquets pour diverses distributions Name: PBPKG Version: PBVER Release: PBTAGPBSUF License: GPL Group: PBGRP Url: http://trac.project-builder.org Source: PBSRC BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) BuildArch: noarch Requires: perl >= 5.8.4, perl-DateManip, perl-ProjectBuilder, PBDEP %description Project Builder aka pb is a tool to produce packages for multiple distributions. It does that by minimizing the duplication of information required and a set a very simple configuration files. %description -l fr Project Builder ou pb est un programme pour produire des paquets pour diverses distributions. Il réalise cela en minimisant la duplication des informations requises et par un jeu de fichiers de configuration très simples. %prep %setup -q %build %{__perl} Makefile.PL INSTALLDIRS=vendor PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR make %install %{__rm} -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f %check make test %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc NEWS AUTHORS %doc INSTALL COPYING README %{perlvendorlib}/* %{_bindir}/* %{_mandir}/man1/* %changelog PBLOG