Name: perl-Params-Util
Version: 0.07
Release: 1%{?dist}
Summary: Simple standalone param-checking functions
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Params-Util/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(File::Spec) >= 0.82
BuildRequires: perl(Scalar::Util) >= 1.11
# Required by the tests
BuildRequires: perl(Test::Pod) >= 1.00
%description
Params::Util provides a basic set of importable functions that
makes checking parameters a hell of a lot easier.
%prep
%setup -q -n Params-Util-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%clean
rm -rf $RPM_BUILD_ROOT
%check
make test
%files
%defattr(-,root,root,-)
%doc Changes LICENSE
%{perl_vendorlib}/Params
%{_mandir}/man3/*
%changelog
* Wed Oct 12 2005 Ralf Corsepius <rc040203@freenet.de> - 0.07-1
- Upstream update.
* Fri Oct 07 2005 Ralf Corsepius <ralf@links2linux.de> - 0.06-1
- Upstream update.
- Remove BR perl(ExtUtils::AutoInstall), not required anymore.
* Tue Sep 14 2005 Ralf Corsepius <ralf@links2linux.de> - 0.05-2
- Add BR: perl(ExtUtils::AutoInstall) and core deps.
* Tue Sep 14 2005 Ralf Corsepius <ralf@links2linux.de> - 0.05-1
- Initial version.