# # $Id$ # %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define srcname project-builder Name: project-builder Version: 0.16.2 Release: 0.20200821115809.s2652.fc32 Summary: Project Builder helps providing multi-OSes Continuous Packaging Summary(fr): Project Builder ou pb produit des paquets pour diverses distributions License: GPLv2 Group: Applications/Archiving Url: http://trac.project-builder.org Source: ftp://ftp.project-builder.org/test/src/%{srcname}-%{version}.0.20200821115809.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) Requires: perl >= 5.6.2,perl-Date-Manip,perl-ProjectBuilder,perl-File-MimeInfo,rpm-build # If we want to run make test, we need these modules, but upstream we do tests for this one in another way # also pb itself doesn't support using packages at the same time they are built yet # see http://trac.project-builder.org/ticket/175 #BuildRequires: perl-Date-Manip,perl-ProjectBuilder,perl-File-MimeInfo BuildArch: noarch BuildRequires: perl-Test-Simple %description ProjectBuilder aka pb helps producing packages for multiple OSes (Linux distributions, Solaris, ...). It does that by minimizing the duplication of information required and a set a very simple configuration files. It implements a Continuous Packaging approach. %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 -n %{srcname}-%{version}.0.20200821115809 %build %{__perl} Makefile.PL INSTALLDIRS=vendor destdir=${RPM_BUILD_ROOT}/ make %install %{__rm} -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install find ${RPM_BUILD_ROOT} -type f -name perllocal.pod -o -name .packlist -o -name '*.bs' -a -size 0 | xargs rm -f find ${RPM_BUILD_ROOT} -type d -depth | xargs rmdir --ignore-fail-on-non-empty #check #make test %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc NEWS AUTHORS COPYING README %{perl_vendorlib}/ProjectBuilder/ %{_bindir}/pb* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Fri Aug 21 2020 Bruno Cornec 0.16.2-0.20200821115809.s2652 - Updated to 0.16.2