automatic update by autodist [release 0.14-1mamba;Sun May 19 2013]
This commit is contained in:
parent
f2bb524712
commit
2afc150efd
@ -1,2 +1,4 @@
|
||||
# perl-XML-XPathEngine
|
||||
|
||||
XML::XPathEngine - a re-usable XPath engine for DOM-like trees.
|
||||
|
||||
|
62
perl-XML-XPathEngine.spec
Normal file
62
perl-XML-XPathEngine.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-XML-XPathEngine
|
||||
Version: 0.14
|
||||
Release: 1mamba
|
||||
Summary: XML::XPathEngine - a re-usable XPath engine for DOM-like trees
|
||||
Group: System/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/MI/MIROD/XML-XPathEngine-%{version}.tar.gz
|
||||
License: Artistic, GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: perl-devel >= %perl_major_ver
|
||||
Requires: perl >= %perl_major_ver
|
||||
|
||||
%description
|
||||
XML::XPathEngine - a re-usable XPath engine for DOM-like trees.
|
||||
|
||||
%prep
|
||||
%setup -q -n XML-XPathEngine-%{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}"
|
||||
rm -f .packlist
|
||||
|
||||
%files -f .packlist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Sun May 19 2013 Automatic Build System <autodist@mambasoft.it> 0.14-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Nov 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13-2mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Mon Oct 17 2011 Automatic Build System <autodist@mambasoft.it> 0.13-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jan 23 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user