1 | Name: perl-XML-XQL |
---|
2 | Version: 0.68 |
---|
3 | Release: 3%{?_dist_release} |
---|
4 | Summary: Perl module for querying XML tree structures with XQL |
---|
5 | Summary(ja): XQL を利用して XML ツリー構造を問い合わせるための Perl モジュール |
---|
6 | License: GPL+ or Artistic |
---|
7 | Group: Development/Libraries |
---|
8 | URL: http://search.cpan.org/dist/XML-XQL/ |
---|
9 | |
---|
10 | Source0: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-XQL-%{version}.tar.gz |
---|
11 | Patch0: %{name}-tput-147465.patch |
---|
12 | |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
15 | BuildArch: noarch |
---|
16 | BuildRequires: perl(Date::Manip) >= 5.33 |
---|
17 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
18 | BuildRequires: perl(LWP::UserAgent) |
---|
19 | BuildRequires: perl(Parse::Yapp) |
---|
20 | BuildRequires: perl(XML::DOM) >= 1.29 |
---|
21 | BuildRequires: perl(XML::Parser) >= 2.30 |
---|
22 | Requires: perl(XML::DOM) |
---|
23 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
24 | |
---|
25 | Source99: XML-XQL-filter-provides.sh |
---|
26 | %global real_perl_provides %{__perl_provides} |
---|
27 | %define __perl_provides %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-provides |
---|
28 | |
---|
29 | %description |
---|
30 | This is a Perl extension that allows you to perform XQL queries on XML |
---|
31 | object trees. Currently only the XML::DOM module is supported, but |
---|
32 | other implementations, like XML::Grove, may soon follow. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q -n XML-XQL-%{version} |
---|
36 | %patch0 -p0 |
---|
37 | |
---|
38 | sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides} |
---|
39 | chmod +x %{__perl_provides} |
---|
40 | |
---|
41 | %build |
---|
42 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
43 | make %{?_smp_mflags} |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | |
---|
48 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
49 | |
---|
50 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
51 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
52 | |
---|
53 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
54 | |
---|
55 | %check |
---|
56 | make test |
---|
57 | |
---|
58 | %clean |
---|
59 | rm -rf $RPM_BUILD_ROOT %{__perl_provides} |
---|
60 | |
---|
61 | %files |
---|
62 | %defattr(-,root,root,-) |
---|
63 | %doc Changes README |
---|
64 | %{_bindir}/xql.pl |
---|
65 | %{perl_vendorlib}/XML/ |
---|
66 | %{_mandir}/man3/XML::XQL*.3* |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Tue Jul 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.68-3 |
---|
70 | - rebuild with perl-5.16.3 |
---|
71 | |
---|
72 | * Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.68-2 |
---|
73 | - rebuild with perl-5.12.3 |
---|
74 | |
---|
75 | * Wed Sep 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.68-1 |
---|
76 | - initial build for Vine Linux |
---|
77 | |
---|
78 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-8 |
---|
79 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
80 | |
---|
81 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-7 |
---|
82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
83 | |
---|
84 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.68-6 |
---|
85 | - Rebuild for perl 5.10 (again) |
---|
86 | |
---|
87 | * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-5 |
---|
88 | - rebuild for new perl |
---|
89 | |
---|
90 | * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.68-4 |
---|
91 | - Reformat to match cpanspec output. |
---|
92 | - Fix find option order. |
---|
93 | - Use fixperms macro instead of our own chmod incantation. |
---|
94 | - BR ExtUtils::MakeMaker. |
---|
95 | |
---|
96 | * Sun Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.68-3 |
---|
97 | - Rebuild for FC6 |
---|
98 | |
---|
99 | * Thu Jun 08 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.68-2 |
---|
100 | - rebuilt and spec clean. |
---|
101 | |
---|
102 | * Sun Nov 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-1 |
---|
103 | - First Fedora Extras release. |
---|
104 | |
---|
105 | * Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.3 |
---|
106 | - Add minimum version to XML::DOM build dependency, filter out |
---|
107 | versionless perl(XML::DOM) provision (#172332, Ralf Corsepius). |
---|
108 | |
---|
109 | * Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.2 |
---|
110 | - Fix insecure $PATH error in taint mode (#147465). |
---|
111 | - Avoid warnings with empty (but defined) $TERM (#147465). |
---|
112 | |
---|
113 | * Thu Oct 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.1 |
---|
114 | - First build (#128879). |
---|