Name: perl-Algorithm-C3 Version: 0.10 Release: 1%{?dist} Summary: Module for merging hierarchies using the C3 algorithm License: GPL+ or Artistic Group: Development/Libraries Vendor: bww bitwise works GmbH URL: http://search.cpan.org/dist/Algorithm-C3/ Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Algorithm-C3-%{version}.tar.gz BuildArch: noarch # Build #BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Module BuildRequires: perl(Carp) >= 0.01 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Test #BuildRequires: perl(Test::More) >= 0.47 # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module implements the C3 algorithm. Most of the uses I have for C3 revolve around class building and metamodels but it could also be used for things like dependency resolution as well since it tends to do such a nice job of preserving local precedence orderings. %prep %setup -q -n Algorithm-C3-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} make manifypods %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_fixperms} %{buildroot} %check #make test %files %doc Changes README t/ %{perl_vendorlib}/Algorithm/ %{_mandir}/man3/*.3pm* %changelog * Thu Mar 13 2018 Elbert Pol - 0.10-1 - initial rpm for OS2