2024-01-06 09:56:04 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-XML-XQL
|
|
|
|
Version: 0.68
|
2024-03-28 01:54:53 +01:00
|
|
|
Release: 6mamba
|
2024-01-06 09:56:04 +01:00
|
|
|
Summary: XML-XQL :: Query XML tree structures with XQL
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
2024-03-28 01:54:53 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 09:56:04 +01:00
|
|
|
Source: http://www.cpan.org/modules/by-module/XML/XML-XQL-%{version}.tar.gz
|
|
|
|
License: Artistic
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
BuildRequires: perl-XML-DOM
|
|
|
|
BuildRequires: perl-Parse-Yapp
|
|
|
|
BuildRequires: perl-Date-Manip
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a Perl extension that allows you to perform XQL queries on XML object trees.
|
|
|
|
Currently only the XML::DOM module is supported, but other implementations, like XML::Grove, may soon follow.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n XML-XQL-%{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-03-28 01:54:53 +01:00
|
|
|
* Wed Mar 27 2024 Automatic Build System <autodist@openmamba.org> 0.68-6mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
2024-01-06 09:56:04 +01:00
|
|
|
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.68-5mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.68-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Nov 20 2007 Aleph0 <aleph0@openmamba.org> 0.68-3mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Oct 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.68-2qilnx
|
|
|
|
- package recreated by autospec
|
|
|
|
|
|
|
|
* Tue Sep 14 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.68-1qilnx
|
|
|
|
- first build
|