Initial import
This commit is contained in:
parent
26d22adffe
commit
7eb2e04cc0
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/Lexical-Var-0.007.tar.gz
|
51
perl-Lexical-Var.spec
Normal file
51
perl-Lexical-Var.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
Name: perl-Lexical-Var
|
||||||
|
Version: 0.007
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Static variables without name space pollution
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Lexical-Var/
|
||||||
|
Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Lexical-Var-%{version}.tar.gz
|
||||||
|
BuildRequires: perl >= 0:5.006
|
||||||
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
|
||||||
|
BuildRequires: perl(Lexical::SealRequireHints) >= 0.006
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
|
BuildRequires: perl(XSLoader)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
Conflicts: perl(B::Hooks::OP::Check) < 0.19
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module implements lexical scoping of static variables and subroutines.
|
||||||
|
Although it can be used directly, it is mainly intended to be
|
||||||
|
infrastructure for modules that manage name spaces.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Lexical-Var-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||||
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorarch}/auto/*
|
||||||
|
%{perl_vendorarch}/Lexical*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue May 22 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.007-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user