source: projects/specs/branches/6/p/perl-XML-XPath/perl-XML-XPath-vl.spec @ 3739

Revision 3739, 2.0 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
2
3Name:           perl-XML-XPath
4Version:        1.13
5Release:        5%{?_dist_release}
6
7Summary:        XPath parser and evaluator for Perl
8
9Group:          Development/Libraries
10License:        GPL or Artistic
11URL:            http://search.cpan.org/dist/XML-XPath/
12Source0:        http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-XPath-%{version}.tar.gz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildArch:      noarch
16BuildRequires:  perl >= 1:5.6.1, perl(XML::Parser)
17#Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19%description
20This module aims to comply exactly to the XPath specification at
21http://www.w3.org/TR/xpath and yet allow extensions to be added in the
22form of functions. Modules such as XSLT and XPointer may need to do
23this as they support functionality beyond XPath.
24
25
26%prep
27%setup -q -n XML-XPath-%{version}
28
29
30%build
31%{__perl} Makefile.PL INSTALLDIRS=vendor
32make %{?_smp_mflags}
33
34
35%install
36rm -rf $RPM_BUILD_ROOT
37make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
38find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
39find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
40chmod -R u+w $RPM_BUILD_ROOT/*
41
42
43%check || :
44make test
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(-,root,root,-)
51%doc README TODO
52%{_bindir}/xpath
53%{perl_vendorlib}/XML
54%{_mandir}/man3/*.3*
55
56
57%changelog
58* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-5
59- rebuild with perl-5.12.3
60
61* Sun Jul 27 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.13-4
62- rebuilt with perl 5.10.0
63- applied new versioning policy
64
65* Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
66- rebuilt for Vine Linux
67
68* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
69- rebuilt
70
71* Sun Jul 11 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-2
72- Bring up to date with current fedora.us Perl spec template.
73
74* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.1
75- First build.
Note: See TracBrowser for help on using the repository browser.