2024-01-06 09:54:07 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-XML-LibXSLT
|
2024-01-06 09:54:08 +01:00
|
|
|
Version: 2.002001
|
2024-01-06 09:54:07 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: XML::LibXSLT - Interface to the gnome libxslt library
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 09:54:07 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 09:54:08 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 09:54:07 +01:00
|
|
|
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: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: perl-XML-LibXML
|
2024-01-06 09:54:08 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:54:07 +01:00
|
|
|
## 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
|
2024-01-06 09:54:07 +01:00
|
|
|
|
|
|
|
%ifnarch %{ix86}
|
2024-01-06 09:54:07 +01:00
|
|
|
%make test
|
2024-01-06 09:54:07 +01:00
|
|
|
%endif
|
2024-01-06 09:54:07 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-01-06 09:54:08 +01:00
|
|
|
find %{buildroot} -name *.so -exec chmod u+w {} \;
|
|
|
|
|
2024-01-06 09:54:07 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:54:08 +01:00
|
|
|
* Sat Feb 11 2023 Automatic Build System <autodist@mambasoft.it> 2.002001-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:54:08 +01:00
|
|
|
* Wed May 18 2022 Automatic Build System <autodist@mambasoft.it> 2.002000-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:54:08 +01:00
|
|
|
* Mon May 16 2022 Automatic Build System <autodist@mambasoft.it> 2.001000-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:54:08 +01:00
|
|
|
* Sat Apr 09 2022 Automatic Build System <autodist@mambasoft.it> 2.000000-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:54:07 +01:00
|
|
|
* Fri Apr 10 2020 Automatic Build System <autodist@mambasoft.it> 1.99-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:54:07 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 09:54:07 +01:00
|
|
|
* Sun Feb 01 2015 Automatic Build System <autodist@mambasoft.it> 1.94-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:54:07 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 1.92-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:54:07 +01:00
|
|
|
* 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
|