perl 5.16 mass rebuild [release 0.2020-2mamba;Tue Nov 13 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:31:17 +01:00
parent 77f9210757
commit f55e3172a0
2 changed files with 68 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-PlRPC
PlRPC (Perl RPC) is a package for implementing servers and clients the are written in Perl entirely.

66
perl-PlRPC.spec Normal file
View File

@ -0,0 +1,66 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-PlRPC
Version: 0.2020
Release: 2mamba
Summary: RPC::PlRPC - A package for implementing servers and clients
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/M/MN/MNOONING/PlRPC/PlRPC-%{version}.tar.gz
License: GPL, Artistic
Requires: perl >= %{perl_major_ver}
BuildRequires: perl-devel >= %{perl_major_ver}
BuildRequires: perl-Net-Daemon >= 0.38
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PlRPC (Perl RPC) is a package for implementing servers and clients the are written in Perl entirely.
%prep
%setup -q -n PlRPC
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2020-2mamba
- perl 5.16 mass rebuild
* Wed Dec 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2020-1mamba
- update to 0.2020
- update source pointer
- remove noarch
* Mon Mar 06 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.2018-3qilnx
- specfile fixed and updated
- fixed license
- added missing build requirement
- architecture changed to noarch
* Mon Oct 25 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.2018-2qilnx
- package created by autospec (rebuilt after SRPM loss)