packages: perl-Devel-LexAlias/perl-Devel-LexAlias.spec (NEW) - new
baggins
baggins at pld-linux.org
Sat Jan 28 21:11:25 CET 2012
Author: baggins Date: Sat Jan 28 20:11:25 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-Devel-LexAlias:
perl-Devel-LexAlias.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Devel-LexAlias/perl-Devel-LexAlias.spec
diff -u /dev/null packages/perl-Devel-LexAlias/perl-Devel-LexAlias.spec:1.1
--- /dev/null Sat Jan 28 21:11:25 2012
+++ packages/perl-Devel-LexAlias/perl-Devel-LexAlias.spec Sat Jan 28 21:11:20 2012
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define pdir Devel
+%define pnam LexAlias
+%include /usr/lib/rpm/macros.perl
+Summary: Devel::LexAlias - alias lexical variables
+#Summary(pl.UTF-8):
+Name: perl-Devel-LexAlias
+Version: 0.04
+Release: 1
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 7fe986f50b467fa8575a67f0729fbb1d
+URL: http://search.cpan.org/dist/Devel-LexAlias/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Devel::LexAlias provides the ability to alias a lexical variable in a
+subroutines scope to one of your choosing.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ CC="%{__cc}" \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{perl_vendorarch}/Devel/*.pm
+%dir %{perl_vendorarch}/auto/Devel/LexAlias
+%{perl_vendorarch}/auto/Devel/LexAlias/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Devel/LexAlias/*.so
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/01/28 20:11:20 baggins
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list