From e905bb438bf61e8cc986cca97a87d483ac40360b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:26:08 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.4.2-2mamba;Mon Nov 12 2012] --- README.md | 2 ++ perl-Net-UPnP.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 perl-Net-UPnP.spec diff --git a/README.md b/README.md index 96b3ac6..1790101 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Net-UPnP +A perl module for HTML parsing. + diff --git a/perl-Net-UPnP.spec b/perl-Net-UPnP.spec new file mode 100644 index 0000000..11832e1 --- /dev/null +++ b/perl-Net-UPnP.spec @@ -0,0 +1,64 @@ +Name: perl-Net-UPnP +Version: 1.4.2 +Release: 2mamba +Summary: Net::UPnP - A perl module for UPnP net parsing +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://www.cpan.org +Source: http://cpan.perl.org/authors/id/S/SK/SKONNO/Net-UPnP-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver +Provides: perl-net-UPnP +Obsoletes: perl-net-UPnP +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A perl module for HTML parsing. + +%prep +%setup -q -n Net-UPnP-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%ifnarch arm +%make test +%endif + +%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 -f $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}" + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Nov 12 2012 Silvan Calarco 1.4.2-2mamba +- perl 5.16 mass rebuild + +* Tue Jul 26 2011 Automatic Build System 1.4.2-1mamba +- automatic version update by autodist + +* Tue Jul 26 2011 Silvan Calarco 1.4.1-2mamba +- fix package name to match correct name and specfile name + +* Thu Jun 21 2011 Ercole 'ercolinux' Carpanetto 1.4.1-1mamba +- First build