perl-Path-Class-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Name: perl-Path-Class
  2. Version: 0.35
  3. Release: 1%{?_dist_release}
  4. Summary: Cross-platform path specification manipulation
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Path-Class/
  8. Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(base)
  12. BuildRequires: perl(Carp)
  13. BuildRequires: perl(Cwd)
  14. BuildRequires: perl(Exporter)
  15. BuildRequires: perl(File::Path)
  16. BuildRequires: perl(File::Spec) >= 0.87
  17. BuildRequires: perl(File::stat)
  18. BuildRequires: perl(File::Temp)
  19. BuildRequires: perl(IO::Dir)
  20. BuildRequires: perl(IO::File)
  21. BuildRequires: perl(Module::Build)
  22. BuildRequires: perl(strict)
  23. BuildRequires: perl(Test::More)
  24. BuildRequires: perl(Test::Perl::Critic)
  25. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  26. %description
  27. Path::Class is a module for manipulation of file and directory specifications
  28. (strings describing their locations, like '/home/ken/foo.txt' or
  29. 'C:\Windows\Foo.txt') in a cross-platform manner. It supports pretty much every
  30. platform Perl runs on, including Unix, Windows, Mac, VMS, Epoc, Cygwin, OS/2,
  31. and NetWare.
  32. %prep
  33. %setup -q -n Path-Class-%{version}
  34. %build
  35. perl Build.PL installdirs=vendor
  36. ./Build
  37. %install
  38. rm -rf %{buildroot}
  39. ./Build install destdir=%{buildroot} create_packlist=0
  40. %{_fixperms} %{buildroot}
  41. %check
  42. AUTHOR_TESTING=1 ./Build test
  43. %clean
  44. rm -rf %{buildroot}
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc Changes README
  48. %{perl_vendorlib}/Path/
  49. %{_mandir}/man3/Path::Class.3pm*
  50. %{_mandir}/man3/Path::Class::Dir.3pm*
  51. %{_mandir}/man3/Path::Class::Entity.3pm*
  52. %{_mandir}/man3/Path::Class::File.3pm*
  53. %changelog
  54. * Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.35-1
  55. - updated to 0.35
  56. - built with perl 5.16.3
  57. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.25-1
  58. - initial build for Vine Linux
  59. * Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> - 0.25-1
  60. - Update to 0.25:
  61. - resolve() now croak()s instead of die()s on non-existent file
  62. - Added a traverse() method for directories, based on the fmap_cont() method
  63. of Forest::Tree::Pure; it's an alternative to ->recurse, which allows for
  64. more control over how the recursion happens
  65. - Fixed a grammar error in the docs
  66. - Added a tempfile() method for Dir objects, which provides an interface to
  67. File::Temp (CPAN RT#60485)
  68. - Fixed a non-helpful fatal error message when calling resolve() on a path
  69. that doesn't exist; now dies with the proper "No such file or directory"
  70. message and exit status
  71. - BR: perl(Test::Perl::Critic) and run author tests where possible
  72. - Add patch to support building with Module::Build < 0.3601
  73. * Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> - 0.23-4
  74. - Spec clean-up:
  75. - Add buildreqs for Perl core modules that might be dual-lived
  76. - Tidy %%description
  77. - Make %%files list more explicit
  78. - Don't use macros for commands
  79. - Use search.cpan.org source URL
  80. - BR: at least version 0.87 of File::Spec
  81. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-3
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  83. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.23-2
  84. - Perl mass rebuild
  85. * Thu Apr 14 2011 Ian Burrell <ianburrell@gmail.com> - 0.23-1
  86. - Update to 0.23
  87. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  89. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.18-3
  90. - Rebuild to fix problems with vendorarch/lib (#661697)
  91. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.18-2
  92. - Mass rebuild with perl-5.12.0
  93. * Mon Feb 22 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.18-1
  94. - Update to 0.18 (for latest DBIx::Class)
  95. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.16-6
  96. - Rebuild against perl 5.10.1
  97. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-5
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  99. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-4
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  101. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.16-3
  102. - Rebuild for new perl
  103. * Thu Aug 16 2007 Ian Burrell <ianburrell@gmail.com> - 0.16-2
  104. - Fix BuildRequires
  105. * Mon Jan 29 2007 Ian Burrell <ianburrell@gmail.com> - 0.16-1
  106. - Specfile autogenerated by cpanspec 1.69.1