source: projects/specs/branches/6/p/perl-XML-XQL/perl-XML-XQL-vl.spec @ 3154

Revision 3154, 3.6 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

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