[suggest] spec for perl-Algorithm-C3

Al Pacifico adpacifico at users.sourceforge.net
Fri Sep 22 04:58:42 CEST 2006

Name:           perl-Algorithm-C3
Version:        0.01
Release:        1%{?dist}
Summary:        A module for merging hierarchies using the C3 algorithm

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Algorithm-C3/
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u}

BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl(Test::More)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo

C3 is the name of an algorithm which aims to provide a sane method
resolution order under multiple inheritence. It was first introduced
in the langauge Dylan (see links in the L<SEE ALSO> section), and
then later adopted as the preferred MRO (Method Resolution Order)
for the new-style classes in Python 2.3. Most recently it has been
adopted as the 'canonical' MRO for Perl 6 classes, and the default
MRO for Parrot objects as well.

%setup -q -n Algorithm-C3-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

make test


%doc README Changes
%doc %{_mandir}/man3/*.3*

* Sat Jul 15 2006 Al Pacifico <adpacifico at users.sourceforge.net> - 0.01-1
- Initial packaging, using fedora-newrpmspec to generate .spec template

Al Pacifico
Seattle, WA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.repoforge.org/pipermail/users/attachments/20060921/629d9f21/attachment-0004.html>

More information about the users mailing list