perl-PPIx-Utilities-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Name: perl-PPIx-Utilities
  2. Version: 1.001000
  3. Release: 3%{?_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) >= 1.208
  16. BuildRequires: perl(PPI::Dumper) >= 1.208
  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. %doc Changes LICENSE README
  51. %{perl_vendorlib}/PPIx/
  52. %{_mandir}/man3/PPIx::Utilities.3pm*
  53. %{_mandir}/man3/PPIx::Utilities::Exception::Bug.3pm*
  54. %{_mandir}/man3/PPIx::Utilities::Node.3pm*
  55. %{_mandir}/man3/PPIx::Utilities::Statement.3pm*
  56. %changelog
  57. * Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.001000-3
  58. - rebuilt with perl 5.16.3
  59. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.001000-2
  60. - rebuild
  61. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.001000-1
  62. - initial build for Vine Linux
  63. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001000-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  65. * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.001000-3
  66. - Perl mass rebuild
  67. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001000-2
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  69. * Thu Dec 2 2010 Paul Howarth <paul@city-fan.org> - 1.001000-1
  70. - Update to 1.001000
  71. - Add support for Const::Fast to PPIx::Utilities::Statement
  72. * Thu Jul 29 2010 Paul Howarth <paul@city-fan.org> - 1.000001-2
  73. - Re-jig for Fedora submission
  74. * Wed Jun 23 2010 Paul Howarth <paul@city-fan.org> - 1.000001-1
  75. - Initial RPM version