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:07 +01:00
|
|
|
Version: 1.94
|
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
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: http://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: libdb51-devel
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgdbm-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-XML-LibXML
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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
|
|
|
|
%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
|
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
|