perl-Algorithm-C3-0.05-1.fc5.src.rpmepel9
parent
bdce03c8da
commit
696d188824
@ -0,0 +1 @@
|
||||
Algorithm-C3-0.05.tar.gz
|
@ -0,0 +1,53 @@
|
||||
Name: perl-Algorithm-C3
|
||||
Version: 0.05
|
||||
Release: 1%{?dist}
|
||||
Summary: Module for merging hierarchies using the C3 algorithm
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Algorithm-C3/
|
||||
Source0: http://www.cpan.org/authors/id/B/BL/BLBLACK/Algorithm-C3-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl(Module::Build)
|
||||
# for testing....
|
||||
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
|
||||
|
||||
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 precendence orderings.
|
||||
|
||||
%prep
|
||||
%setup -q -n Algorithm-C3-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1
|
||||
- Specfile autogenerated by cpanspec 1.69.1.
|
Loading…
Reference in new issue