perl-XML-LibXSLT/perl-XML-LibXSLT.spec

108 lines
3.3 KiB
RPMSpec

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-XML-LibXSLT
Version: 2.002000
Release: 1mamba
Summary: XML::LibXSLT - Interface to the gnome libxslt library
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org/
Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXSLT-%{version}.tar.gz
License: Artistic, GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: liblzma-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
BuildRequires: perl-XML-LibXML
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Requires: perl >= %perl_major_ver
%description
This module is an interface to the gnome project's libxslt.
This is an extremely good XSLT engine, highly compliant and also very fast
%prep
%setup -q -n XML-LibXSLT-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%ifnarch %{ix86}
%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 $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
* Wed May 18 2022 Automatic Build System <autodist@mambasoft.it> 2.002000-1mamba
- automatic version update by autodist
* Mon May 16 2022 Automatic Build System <autodist@mambasoft.it> 2.001000-1mamba
- automatic version update by autodist
* Sat Apr 09 2022 Automatic Build System <autodist@mambasoft.it> 2.000000-1mamba
- automatic version update by autodist
* Fri Apr 10 2020 Automatic Build System <autodist@mambasoft.it> 1.99-1mamba
- automatic update by autodist
* Fri Nov 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.95-1mamba
- update to 1.95
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.94-2mamba
- rebuilt with perl 5.24
* Sun Feb 01 2015 Automatic Build System <autodist@mambasoft.it> 1.94-1mamba
- automatic update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 1.92-1mamba
- automatic update by autodist
* Mon Nov 11 2013 Automatic Build System <autodist@mambasoft.it> 1.82-1mamba
- automatic update by autodist
* Sat Jul 06 2013 Automatic Build System <autodist@mambasoft.it> 1.81-1mamba
- automatic version update by autodist
* Fri Feb 08 2013 Automatic Build System <autodist@mambasoft.it> 1.80-1mamba
- update to 1.80
* Tue Nov 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.70-2mamba
- rebuild with perl 5.16
* Sat Feb 06 2010 Automatic Build System <autodist@mambasoft.it> 1.70-1mamba
- automatic update by autodist
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.68-1mamba
- automatic update by autodist
* Sun Nov 09 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.66-2mamba
- automatic rebuild by autodist
* Wed Jul 16 2008 gil <puntogil@libero.it> 1.66-1mamba
- package created by autospec