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