rpms/perl-Params-Validate/devel perl-Params-Validate.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ralf Corsépius (corsepiu)
fedora-extras-commits at redhat.com
Sun Aug 14 04:26:10 UTC 2005
Author: corsepiu
Update of /cvs/extras/rpms/perl-Params-Validate/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv891/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Params-Validate.spec
Log Message:
auto-import perl-Params-Validate-0.78-1 on branch devel from perl-Params-Validate-0.78-1.src.rpm
--- NEW FILE perl-Params-Validate.spec ---
Summary: Params-Validate Perl module
Name: perl-Params-Validate
Version: 0.78
Release: 1%{?dist}
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Params-Validate/
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Required by the tests
BuildRequires: perl(Test::Taint)
%description
The Params::Validate module allows you to validate method or function
call parameters to an arbitrary level of specificity. At the simplest
level, it is capable of validating the required parameters were given
and that no unspecified additional parameters were passed in. It is
also capable of determining that a parameter is of a specific type,
that it is an object of a certain class hierarchy, that it possesses
certain methods, or applying validation callbacks to arguments.
%prep
%setup -q -n Params-Validate-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
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 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/*
%clean
rm -rf $RPM_BUILD_ROOT
%check
make test
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README TODO
%{perl_vendorarch}/Params
%{perl_vendorarch}/auto/Params
%{perl_vendorarch}/Attribute
%{_mandir}/man3/*
%changelog
* Wed Aug 10 2005 Ralf Corsepius <ralf at links2linux.de> - 0.77-1
- FE submission.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Params-Validate/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 14 Aug 2005 04:25:00 -0000 1.1
+++ .cvsignore 14 Aug 2005 04:26:08 -0000 1.2
@@ -0,0 +1 @@
+Params-Validate-0.78.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Params-Validate/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 14 Aug 2005 04:25:00 -0000 1.1
+++ sources 14 Aug 2005 04:26:08 -0000 1.2
@@ -0,0 +1 @@
+8b6951214915c33addc4cc16e047546f Params-Validate-0.78.tar.gz
More information about the scm-commits
mailing list