perl-Params-Coerce-0.13-1.fc5.src.rpmepel9
parent
d30c239499
commit
302fa64856
@ -0,0 +1 @@
|
||||
Params-Coerce-0.13.tar.gz
|
@ -0,0 +1,56 @@
|
||||
Name: perl-Params-Coerce
|
||||
Version: 0.13
|
||||
Release: 1%{?dist}
|
||||
Summary: Allows your classes to do coercion of parameters
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Params-Coerce/
|
||||
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Params-Coerce-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl >= 0:5.005
|
||||
BuildRequires: perl(Params::Util) >= 0.05
|
||||
BuildRequires: perl(ExtUtils::AutoInstall) >= 0.49, perl(Test::Pod) >= 1.00
|
||||
|
||||
# cpanspec autogenerated requires...
|
||||
#Requires: perl(Params::Util) >= 0.05
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
A big part of good API design is that we should be able to be flexible in
|
||||
the ways that we take parameters.
|
||||
|
||||
%prep
|
||||
%setup -q -n Params-Coerce-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.13-1
|
||||
- Specfile autogenerated by cpanspec 1.69.1.
|
Loading…
Reference in new issue