2024-01-06 09:57:32 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-libxml
|
|
|
|
Version: 0.08
|
2024-03-28 13:16:22 +01:00
|
|
|
Release: 6mamba
|
2024-01-06 09:57:32 +01:00
|
|
|
Summary: libxml-perl - A collection of Perl modules, scripts, and documents for working with XML in Perl
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-03-28 13:16:22 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 09:57:32 +01:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/K/KM/KMACLEOD/libxml-perl-%{version}.tar.gz
|
|
|
|
License: Artistic, GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-03-28 13:16:22 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 09:57:32 +01:00
|
|
|
BuildRequires: perl-XML-Parser
|
2024-03-28 13:16:22 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:57:32 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%description
|
|
|
|
libxml-perl is a collection of Perl modules, scripts, and documents for working with XML in Perl.
|
|
|
|
libxml-perl software works in combination with XML::Parser, PerlSAX, XML::DOM, XML::Grove, and others.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libxml-perl-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%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-03-28 13:16:22 +01:00
|
|
|
* Thu Mar 28 2024 Automatic Build System <autodist@openmamba.org> 0.08-6mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
2024-01-06 09:57:32 +01:00
|
|
|
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.08-5mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.08-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Oct 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.08-3mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Jul 25 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.08-2qilnx
|
|
|
|
- specfile fixed and updated
|
|
|
|
|
|
|
|
* Tue Oct 26 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.08-1qilnx
|
|
|
|
- package created by autospec
|