perl-Algorithm-C3-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: perl-Algorithm-C3
  2. Version: 0.10
  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. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. This module implements the C3 algorithm. Most of the uses I have for C3
  25. revolve around class building and metamodels but it could also be used for
  26. things like dependency resolution as well since it tends to do such a nice
  27. job of preserving local precedence orderings.
  28. %prep
  29. %setup -q -n Algorithm-C3-%{version}
  30. %build
  31. perl Makefile.PL INSTALLDIRS=vendor
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf %{buildroot}
  35. make pure_install DESTDIR=%{buildroot}
  36. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  37. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  38. %{_fixperms} %{buildroot}
  39. %check
  40. make test
  41. %clean
  42. rm -rf %{buildroot}
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes README t/
  46. %{perl_vendorlib}/Algorithm/
  47. %{_mandir}/man3/Algorithm::C3.3pm*
  48. %changelog
  49. * Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.10-1
  50. - updated to 0.10
  51. - built with perl 5.16.3
  52. - added Vendor and Distribution tag
  53. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.08-1
  54. - initial build for Vine Linux
  55. * Mon Jan 16 2012 Paul Howarth <paul@city-fan.org> - 0.08-9
  56. - Spec clean-up:
  57. - Make %%files list more explicit
  58. - Categorize build requirements for build/module/test
  59. - Don't use macros for commands
  60. - Use tabs
  61. - Fix typo in %%description
  62. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-8
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  64. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.08-7
  65. - Perl mass rebuild
  66. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-6
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  68. * Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-5
  69. - Rebuild to fixproblems with vendorarch/lib (#661697)
  70. * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-4
  71. - Mass rebuild with perl-5.12.0
  72. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.08-3
  73. - Rebuild against perl 5.10.1
  74. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  76. * Sun Jun 07 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.08-1
  77. - Auto-update to 0.08 (by cpan-spec-update 0.01)
  78. - Altered br on perl(Test::More) (0 => 0.47)
  79. - Added a new br on perl(Carp) (version 0.01)
  80. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  82. * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-2
  83. - Rebuild for new perl
  84. * Thu May 31 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.07-1
  85. - Update to 0.07
  86. - Include t/ in doc
  87. - Minor spec reworkage to deal with the once and future perl split
  88. * Tue Nov 21 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.06-1
  89. - Update to 0.06
  90. * Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.05-2
  91. - Bump
  92. * Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.05-1
  93. - Specfile autogenerated by cpanspec 1.69.1