commit 7d7e3f44875f32e3b439d8abcb8f2e81a29a7308 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sat Nov 6 07:47:11 2010 +0100 initial import .gitignore | 1 + perl-Params-Classify.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..48ad3b1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Params-Classify-0.012.tar.gz diff --git a/perl-Params-Classify.spec b/perl-Params-Classify.spec new file mode 100644 index 0000000..de13aec --- /dev/null +++ b/perl-Params-Classify.spec @@ -0,0 +1,59 @@ +Name: perl-Params-Classify +Version: 0.012 +Release: 1%{?dist} +Summary: Argument type classification +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Params-Classify/ +Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Params-Classify-%{version}.tar.gz +BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: perl(Module::Build) +BuildRequires: perl(parent) +BuildRequires: perl(Scalar::Util) >= 1.01 +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(Exporter) +Requires: perl(Scalar::Util) >= 1.01 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module provides various type-testing functions. These are intended +for functions that, unlike most Perl code, care what type of data they +are operating on. For example, some functions wish to behave +differently depending on the type of their arguments (like overloaded +functions in C++). + +%prep +%setup -q -n Params-Classify-%{version} + +%build +%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Params* +%{_mandir}/man3/* + +%changelog +* Thu Nov 04 2010 Iain Arnell <iarnell@xxxxxxxxx> 0.012-1 +- update to latest upstream version +- use correct optflags macro + +* Sun Sep 26 2010 Iain Arnell <iarnell@xxxxxxxxx> 0.011-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..34c0cfb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +07c11d0a78a07d4431f9c6d12398ce0d Params-Classify-0.012.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel