From f55e3172a08d0ce764a3dc800fae704da71944b7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:31:17 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 0.2020-2mamba;Tue Nov 13 2012] --- README.md | 2 ++ perl-PlRPC.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 perl-PlRPC.spec diff --git a/README.md b/README.md index 99471af..59dab0e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-PlRPC +PlRPC (Perl RPC) is a package for implementing servers and clients the are written in Perl entirely. + diff --git a/perl-PlRPC.spec b/perl-PlRPC.spec new file mode 100644 index 0000000..54112e8 --- /dev/null +++ b/perl-PlRPC.spec @@ -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 +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 0.2020-2mamba +- perl 5.16 mass rebuild + +* Wed Dec 03 2008 Silvan Calarco 0.2020-1mamba +- update to 0.2020 +- update source pointer +- remove noarch + +* Mon Mar 06 2006 Stefano Cotta Ramusino 0.2018-3qilnx +- specfile fixed and updated +- fixed license +- added missing build requirement +- architecture changed to noarch + +* Mon Oct 25 2004 Alessandro Ramazzina 0.2018-2qilnx +- package created by autospec (rebuilt after SRPM loss)