123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- Name: perl-XML-XQL
- Version: 0.68
- Release: 1%{?_dist_release}
- Summary: Perl module for querying XML tree structures with XQL
- Summary(ja): XQL を利用して XML ツリー構造を問い合わせるための Perl モジュール
- License: GPL+ or Artistic
- Group: Development/Libraries
- URL: http://search.cpan.org/dist/XML-XQL/
- Source0: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-XQL-%{version}.tar.gz
- Patch0: %{name}-tput-147465.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildArch: noarch
- BuildRequires: perl(Date::Manip) >= 5.33
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(LWP::UserAgent)
- BuildRequires: perl(Parse::Yapp)
- BuildRequires: perl(XML::DOM) >= 1.29
- BuildRequires: perl(XML::Parser) >= 2.30
- Requires: perl(XML::DOM)
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- Source99: XML-XQL-filter-provides.sh
- %global real_perl_provides %{__perl_provides}
- %define __perl_provides %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-provides
- %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}
- %patch0 -p0
- sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
- chmod +x %{__perl_provides}
- %build
- %{__perl} Makefile.PL INSTALLDIRS=vendor
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
- find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
- %{_fixperms} $RPM_BUILD_ROOT/*
- %check
- make test
- %clean
- rm -rf $RPM_BUILD_ROOT %{__perl_provides}
- %files
- %defattr(-,root,root,-)
- %doc Changes README
- %{_bindir}/xql.pl
- %{perl_vendorlib}/XML/
- %{_mandir}/man3/XML::XQL*.3*
- %changelog
- * Wed Sep 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.68-1
- - initial build for Vine Linux
- * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-8
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-7
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.68-6
- - Rebuild for perl 5.10 (again)
- * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-5
- - rebuild for new perl
- * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.68-4
- - Reformat to match cpanspec output.
- - Fix find option order.
- - Use fixperms macro instead of our own chmod incantation.
- - BR ExtUtils::MakeMaker.
- * Mon Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.68-3
- - Rebuild for FC6
- * Thu Jun 08 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.68-2
- - rebuilt and spec clean.
-
- * Sun Nov 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-1
- - First Fedora Extras release.
- * Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.3
- - Add minimum version to XML::DOM build dependency, filter out
- versionless perl(XML::DOM) provision (#172332, Ralf Corsepius).
- * Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.2
- - Fix insecure $PATH error in taint mode (#147465).
- - Avoid warnings with empty (but defined) $TERM (#147465).
- * Thu Oct 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.1
- - First build (#128879).
|