2007-01-15 23:31:32 +00:00
|
|
|
#
|
2010-03-05 09:05:23 +00:00
|
|
|
# spec file for package perl-Params-Validate (Version 0.94)
|
2007-01-15 23:31:32 +00:00
|
|
|
#
|
2010-01-11 16:03:42 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:32 +00:00
|
|
|
#
|
2009-06-18 15:10:17 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 23:31:32 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2010-03-05 09:05:23 +00:00
|
|
|
|
2007-01-15 23:31:32 +00:00
|
|
|
Name: perl-Params-Validate
|
2010-03-05 09:05:23 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/Params/
|
2010-01-11 16:03:42 +00:00
|
|
|
License: GPLv2+
|
2007-01-15 23:31:32 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-03-05 09:05:23 +00:00
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
#Conflicts: perlmod
|
2007-11-02 00:37:18 +00:00
|
|
|
AutoReqProv: on
|
2010-03-05 09:05:23 +00:00
|
|
|
Version: 0.94
|
|
|
|
Release: 1
|
|
|
|
Source: Params-Validate-%{version}.tar.bz2
|
|
|
|
Summary: provides a system for validation method/function call parameters
|
2007-01-15 23:31:32 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2010-03-05 09:05:23 +00:00
|
|
|
The Params::Validate module provides a flexible system for validation
|
|
|
|
method/function call parameters. The validation can be as simple as
|
|
|
|
checking for the presence of required parameters or as complex as
|
|
|
|
validating object classes (via isa) or capabilities (via can), checking
|
|
|
|
parameter types, and using customized callbacks to ensure data
|
|
|
|
integrity.
|
|
|
|
|
2007-01-15 23:31:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dave Rolsky
|
|
|
|
|
|
|
|
%prep
|
2010-03-05 09:05:23 +00:00
|
|
|
%setup -q -n Params-Validate-%{version}
|
2007-01-15 23:31:32 +00:00
|
|
|
|
|
|
|
%build
|
2010-01-27 17:11:03 +00:00
|
|
|
perl Build.PL installdirs=vendor
|
|
|
|
./Build
|
2007-01-15 23:31:32 +00:00
|
|
|
|
|
|
|
%install
|
2010-01-27 17:11:03 +00:00
|
|
|
./Build install destdir=$RPM_BUILD_ROOT
|
2007-01-15 23:31:32 +00:00
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
2010-03-05 09:05:23 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-15 23:31:32 +00:00
|
|
|
|
2010-03-05 09:05:23 +00:00
|
|
|
%files
|
2007-01-15 23:31:32 +00:00
|
|
|
%defattr(-, root, root)
|
2010-03-05 09:05:23 +00:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
%doc MANIFEST README Changes
|
|
|
|
#/var/adm/perl-modules/%{name}
|
|
|
|
%dir %{perl_vendorarch}/Attribute
|
|
|
|
%{perl_vendorarch}/Attribute/Params
|
|
|
|
%{perl_vendorarch}/Params
|
|
|
|
%{perl_vendorarch}/auto/Params
|
|
|
|
%{_mandir}/man3/*.3pm.gz
|
2008-06-23 23:10:41 +00:00
|
|
|
|
2007-03-09 00:50:55 +00:00
|
|
|
%changelog
|