[perl-Lexical-Var] Initial import

Jitka Plesnikova jplesnik at fedoraproject.org
Fri May 25 12:57:32 UTC 2012


commit 7eb2e04cc00e09881cf40a5c084b5d50ef96d07a
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Fri May 25 14:57:20 2012 +0200

    Initial import

 .gitignore            |    1 +
 perl-Lexical-Var.spec |   51 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b2be85b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Lexical-Var-0.007.tar.gz
diff --git a/perl-Lexical-Var.spec b/perl-Lexical-Var.spec
new file mode 100644
index 0000000..90a8ec7
--- /dev/null
+++ b/perl-Lexical-Var.spec
@@ -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 at redhat.com> 0.007-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..a0a9083 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cba23ac550e0a0ffaa8685cad198936d  Lexical-Var-0.007.tar.gz


More information about the scm-commits mailing list