source: projects/specs/trunk/p/perl-XML-XQL/perl-XML-XQL-vl.spec @ 12121

Revision 12121, 3.8 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

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