perl-XML-RegExp-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Name: perl-XML-RegExp
  2. Version: 0.04
  3. Release: 2%{?_dist_release}
  4. Summary: Regular expressions for XML tokens
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/XML-RegExp/
  8. Source0: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. BuildArch: noarch
  13. BuildRequires: perl >= 2:5.26.2
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. %description
  16. This package contains an utility module containing regular expressions
  17. for the following XML tokens: BaseChar, Ideographic, Letter, Digit,
  18. Extender, CombiningChar, NameChar, EntityRef, CharRef, Reference,
  19. Name, NmToken, and AttValue.
  20. %prep
  21. %setup -q -n XML-RegExp-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  28. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  29. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  30. chmod -R u+w $RPM_BUILD_ROOT/*
  31. %check
  32. make test
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc Changes README
  38. %{perl_vendorlib}/XML/
  39. %{_mandir}/man3/XML::RegExp.3*
  40. %changelog
  41. * Mon May 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.04-2
  42. - rebuilt with perl-5.26.
  43. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.04-1
  44. - new upstream release.
  45. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.03-8
  46. - rebuild with perl-5.12.3
  47. * Sat Aug 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.03-7
  48. - Initial build for Vine Linux
  49. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-6
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  51. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  53. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-4
  54. - Rebuild for perl 5.10 (again)
  55. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-3
  56. - rebuild for new perl
  57. * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-2.1
  58. - correct license tag
  59. - add BR: perl(ExtUtils::MakeMaker)
  60. * Thu Jun 29 2006 Orion Poplawski <orion@cora.nwra.com> - 0.03-2
  61. - Bump for new perl version (#196668)
  62. * Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.03-1
  63. - First Fedora Extras release (#172330).
  64. * Thu Oct 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.03-0.1
  65. - First build (#128879).