perl-Algorithm-C3-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: perl-Algorithm-C3
  2. Version: 0.08
  3. Release: 1%{?_dist_release}
  4. Summary: Module for merging hierarchies using the C3 algorithm
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Algorithm-C3/
  8. Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Algorithm-C3-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
  10. BuildArch: noarch
  11. # Build
  12. BuildRequires: perl(Module::Build)
  13. # Module
  14. BuildRequires: perl(Carp) >= 0.01
  15. # Test
  16. BuildRequires: perl(Test::More) >= 0.47
  17. BuildRequires: perl(Test::Pod)
  18. BuildRequires: perl(Test::Pod::Coverage)
  19. # Runtime
  20. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  21. %description
  22. This module implements the C3 algorithm. Most of the uses I have for C3
  23. revolve around class building and metamodels but it could also be used for
  24. things like dependency resolution as well since it tends to do such a nice
  25. job of preserving local precedence orderings.
  26. %prep
  27. %setup -q -n Algorithm-C3-%{version}
  28. %build
  29. perl Build.PL installdirs=vendor
  30. ./Build
  31. %install
  32. rm -rf %{buildroot}
  33. ./Build install destdir=%{buildroot} create_packlist=0
  34. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  35. %{_fixperms} %{buildroot}
  36. %check
  37. ./Build test
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc Changes README t/
  43. %{perl_vendorlib}/Algorithm/
  44. %{_mandir}/man3/Algorithm::C3.3pm*
  45. %changelog
  46. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.08-1
  47. - initial build for Vine Linux
  48. * Mon Jan 16 2012 Paul Howarth <paul@city-fan.org> - 0.08-9
  49. - Spec clean-up:
  50. - Make %%files list more explicit
  51. - Categorize build requirements for build/module/test
  52. - Don't use macros for commands
  53. - Use tabs
  54. - Fix typo in %%description
  55. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-8
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  57. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.08-7
  58. - Perl mass rebuild
  59. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-6
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  61. * Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-5
  62. - Rebuild to fixproblems with vendorarch/lib (#661697)
  63. * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-4
  64. - Mass rebuild with perl-5.12.0
  65. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.08-3
  66. - Rebuild against perl 5.10.1
  67. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  69. * Sun Jun 07 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.08-1
  70. - Auto-update to 0.08 (by cpan-spec-update 0.01)
  71. - Altered br on perl(Test::More) (0 => 0.47)
  72. - Added a new br on perl(Carp) (version 0.01)
  73. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-2
  76. - Rebuild for new perl
  77. * Thu May 31 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.07-1
  78. - Update to 0.07
  79. - Include t/ in doc
  80. - Minor spec reworkage to deal with the once and future perl split
  81. * Tue Nov 21 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.06-1
  82. - Update to 0.06
  83. * Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.05-2
  84. - Bump
  85. * Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.05-1
  86. - Specfile autogenerated by cpanspec 1.69.1