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