initial import
This commit is contained in:
parent
794154eeab
commit
7d7e3f4487
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Params-Classify-0.012.tar.gz
|
||||
59
perl-Params-Classify.spec
Normal file
59
perl-Params-Classify.spec
Normal file
@ -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@gmail.com> 0.012-1
|
||||
- update to latest upstream version
|
||||
- use correct optflags macro
|
||||
|
||||
* Sun Sep 26 2010 Iain Arnell <iarnell@gmail.com> 0.011-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user