1 | Name: perl-Algorithm-C3
|
---|
2 | Version: 0.10
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: Module for merging hierarchies using the C3 algorithm
|
---|
5 | License: GPL+ or Artistic
|
---|
6 | Group: Development/Libraries
|
---|
7 | Vendor: bww bitwise works GmbH
|
---|
8 | URL: http://search.cpan.org/dist/Algorithm-C3/
|
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Algorithm-C3-%{version}.tar.gz
|
---|
10 | BuildArch: noarch
|
---|
11 | # Build
|
---|
12 | #BuildRequires: perl-interpreter
|
---|
13 | BuildRequires: perl-generators
|
---|
14 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
15 | # Module
|
---|
16 | BuildRequires: perl(Carp) >= 0.01
|
---|
17 | BuildRequires: perl(strict)
|
---|
18 | BuildRequires: perl(warnings)
|
---|
19 | # Test
|
---|
20 | #BuildRequires: perl(Test::More) >= 0.47
|
---|
21 | # Runtime
|
---|
22 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
23 |
|
---|
24 | %description
|
---|
25 | This module implements the C3 algorithm. Most of the uses I have for C3
|
---|
26 | revolve around class building and metamodels but it could also be used for
|
---|
27 | things like dependency resolution as well since it tends to do such a nice
|
---|
28 | job of preserving local precedence orderings.
|
---|
29 |
|
---|
30 | %prep
|
---|
31 | %setup -q -n Algorithm-C3-%{version}
|
---|
32 |
|
---|
33 | %build
|
---|
34 | perl Makefile.PL INSTALLDIRS=vendor
|
---|
35 | make %{?_smp_mflags}
|
---|
36 | make manifypods
|
---|
37 |
|
---|
38 | %install
|
---|
39 | rm -rf %{buildroot}
|
---|
40 | make pure_install DESTDIR=%{buildroot}
|
---|
41 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
---|
42 | %{_fixperms} %{buildroot}
|
---|
43 |
|
---|
44 | %check
|
---|
45 | #make test
|
---|
46 |
|
---|
47 | %files
|
---|
48 | %doc Changes README t/
|
---|
49 | %{perl_vendorlib}/Algorithm/
|
---|
50 | %{_mandir}/man3/*.3pm*
|
---|
51 |
|
---|
52 | %changelog
|
---|
53 | * Thu Mar 13 2018 Elbert Pol <elbert.pol@gmail.com> - 0.10-1
|
---|
54 | - initial rpm for OS2
|
---|