perl-File-Find-Rule-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Name: perl-File-Find-Rule
  2. Version: 0.32
  3. Release: 6%{?_dist_release}
  4. Summary: Perl module implementing an alternative interface to File::Find
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/File-Find-Rule/
  8. Source0: http://www.cpan.org/modules/by-module/File/File-Find-Rule-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Number::Compare)
  14. BuildRequires: perl(Text::Glob)
  15. BuildRequires: perl(Test::More)
  16. #Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. File::Find::Rule is a friendlier interface to File::Find. It allows
  21. you to build rules which specify the desired files and directories.
  22. %prep
  23. %setup -q -n File-Find-Rule-%{version}
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  30. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  31. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  32. chmod -R u+w $RPM_BUILD_ROOT/*
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %check
  36. make test
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes README
  40. %{_bindir}/findrule
  41. %{_mandir}/man1/*
  42. %{perl_vendorlib}/File
  43. %{_mandir}/man3/*
  44. %changelog
  45. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.32-6
  46. - build for Vine Linux
  47. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-5
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  49. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-4
  50. - 661697 rebuild for fixing problems with vendorach/lib
  51. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-3
  52. - Mass rebuild with perl-5.12.0
  53. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-2
  54. - Mass rebuild with perl-5.12.0
  55. * Mon Dec 14 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.32-1
  56. - Upstream update.
  57. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-9
  58. - rebuild against perl 5.10.1
  59. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-8
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  61. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-7
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  63. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-6
  64. - Rebuild for perl 5.10 (again)
  65. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-5
  66. - rebuild for new perl
  67. * Tue Dec 11 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-4
  68. - Add BR: perl(Test::More) (BZ 419631).
  69. * Mon Sep 03 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-3
  70. - Update license tag.
  71. - Add BR: perl(ExtUtils::MakeMaker).
  72. * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.30-2
  73. - Mass rebuild.
  74. * Mon Jun 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.30-1
  75. - Upstream update.
  76. * Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.29-1
  77. - Upstream update.
  78. * Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.28-4
  79. - Rebuild for perl-5.8.8.
  80. * Tue Aug 16 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-3
  81. - Spec cleanup.
  82. * Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-2
  83. - FE re-submission.
  84. * Mon Mar 21 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-1
  85. - FE submission.