perl-XML-XPath-vl.spec 2.2 KB

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