source: spec/trunk/SPECS/perl-Algorithm-C3.spec@ 1566

Last change on this file since 1566 was 1374, checked in by tellie, 8 years ago

spec: perl-Algorithm-C3: Release version 0.10-1.

File size: 1.4 KB
Line 
1Name: perl-Algorithm-C3
2Version: 0.10
3Release: 1%{?dist}
4Summary: Module for merging hierarchies using the C3 algorithm
5License: GPL+ or Artistic
6Group: Development/Libraries
7Vendor: bww bitwise works GmbH
8URL: http://search.cpan.org/dist/Algorithm-C3/
9Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Algorithm-C3-%{version}.tar.gz
10BuildArch: noarch
11# Build
12#BuildRequires: perl-interpreter
13BuildRequires: perl-generators
14BuildRequires: perl(ExtUtils::MakeMaker)
15# Module
16BuildRequires: perl(Carp) >= 0.01
17BuildRequires: perl(strict)
18BuildRequires: perl(warnings)
19# Test
20#BuildRequires: perl(Test::More) >= 0.47
21# Runtime
22Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
24%description
25This module implements the C3 algorithm. Most of the uses I have for C3
26revolve around class building and metamodels but it could also be used for
27things like dependency resolution as well since it tends to do such a nice
28job of preserving local precedence orderings.
29
30%prep
31%setup -q -n Algorithm-C3-%{version}
32
33%build
34perl Makefile.PL INSTALLDIRS=vendor
35make %{?_smp_mflags}
36make manifypods
37
38%install
39rm -rf %{buildroot}
40make pure_install DESTDIR=%{buildroot}
41find %{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
Note: See TracBrowser for help on using the repository browser.