perl-PPIx-Utilities-vl.spec 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: perl-PPIx-Utilities
  2. Version: 1.001000
  3. Release: 4%{?_dist_release}
  4. Summary: Extensions to PPI
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/PPIx-Utilities/
  8. Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Data::Dumper)
  12. BuildRequires: perl(Exception::Class)
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(File::Slurp)
  15. BuildRequires: perl(PPI::Document)
  16. BuildRequires: perl(PPI::Dumper)
  17. BuildRequires: perl(Readonly)
  18. BuildRequires: perl(Task::Weaken)
  19. BuildRequires: perl(Test::Deep)
  20. BuildRequires: perl(Test::More)
  21. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  22. Requires: perl(Exporter)
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: shaolin
  26. %{?perl_default_filter}
  27. %description
  28. This is a collection of functions for dealing with PPI objects, many of
  29. which originated in Perl::Critic. They are organized into modules by the
  30. kind of PPI class they relate to, by replacing the "PPI" at the front of
  31. the module name with "PPIx::Utilities", e.g. functionality related to
  32. PPI::Nodes is in PPIx::Utilities::Node.
  33. %prep
  34. %setup -q -n PPIx-Utilities-%{version}
  35. %build
  36. perl Makefile.PL INSTALLDIRS=vendor
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf %{buildroot}
  40. make pure_install DESTDIR=%{buildroot}
  41. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  42. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  43. %{_fixperms} %{buildroot}
  44. %check
  45. make test
  46. %clean
  47. rm -rf %{buildroot}
  48. %files
  49. %defattr(-,root,root,-)
  50. %license LICENSE
  51. %doc Changes README
  52. %{perl_vendorlib}/PPIx/
  53. %{_mandir}/man3/PPIx::Utilities.3pm*
  54. %{_mandir}/man3/PPIx::Utilities::Exception::Bug.3pm*
  55. %{_mandir}/man3/PPIx::Utilities::Node.3pm*
  56. %{_mandir}/man3/PPIx::Utilities::Statement.3pm*
  57. %changelog
  58. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.001000-4
  59. - rebuilt with perl-5.26.
  60. * Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.001000-3
  61. - rebuilt with perl 5.16.3
  62. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.001000-2
  63. - rebuild
  64. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.001000-1
  65. - initial build for Vine Linux
  66. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001000-4
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  68. * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.001000-3
  69. - Perl mass rebuild
  70. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001000-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  72. * Thu Dec 2 2010 Paul Howarth <paul@city-fan.org> - 1.001000-1
  73. - Update to 1.001000
  74. - Add support for Const::Fast to PPIx::Utilities::Statement
  75. * Thu Jul 29 2010 Paul Howarth <paul@city-fan.org> - 1.000001-2
  76. - Re-jig for Fedora submission
  77. * Wed Jun 23 2010 Paul Howarth <paul@city-fan.org> - 1.000001-1
  78. - Initial RPM version