perl-XML-XPath-vl.spec 1.9 KB

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