perl 5.16 mass rebuild [release 1.13-4mamba;Tue Nov 13 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:55:50 +01:00
parent f39dedf9df
commit 0009251ce6
2 changed files with 65 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-XML-XPath # perl-XML-XPath
This module aims to comply exactly to the XPath.

63
perl-XML-XPath.spec Normal file
View File

@ -0,0 +1,63 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-XML-XPath
Version: 1.13
Release: 4mamba
Summary: XML::XPath - a set of modules for parsing and evaluating XPath
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org
Source: http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-XPath-%{version}.tar.gz
License: GPL
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-XML-Parser
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/perl-root
%description
This module aims to comply exactly to the XPath.
%prep
%setup -q -n XML-XPath-%{version}
%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}
%files -f .packlist
%defattr(-,root,root)
%changelog
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-4mamba
- perl 5.16 mass rebuild
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-3mamba
- automatic rebuild by autodist
* Thu Nov 15 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
- rebuilt
* Tue Oct 26 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.13-1qilnx
- package created by autospec