SPECS: perl-local-lib.spec (NEW), perl-PAR-Packer.spec (NEW) - new
radek
radek at pld-linux.org
Thu Jan 22 15:11:58 CET 2009
Author: radek Date: Thu Jan 22 14:11:58 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-local-lib.spec (NONE -> 1.1) (NEW), perl-PAR-Packer.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-local-lib.spec
diff -u /dev/null SPECS/perl-local-lib.spec:1.1
--- /dev/null Thu Jan 22 15:11:58 2009
+++ SPECS/perl-local-lib.spec Thu Jan 22 15:11:52 2009
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir local
+%define pnam lib
+Summary: local::lib - create and use a local lib/ for perl modules with PERL5LIB
+#Summary(pl.UTF-8):
+Name: perl-local-lib
+Version: 1.003001
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/A/AP/APEIRON/local-lib-1.003001.tar.gz
+# Source0-md5: cc2e6547562c1538e37f52f324f0fd15
+URL: http://search.cpan.org/dist/local-lib/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+local::lib allows for the bootstrapping and usage of a directory
+containing Perl modules outside of Perl's @INC. This makes it easier
+to ship an application with an app-specific copy of a Perl module,
+or collection of modules. Useful in cases like when an upstream
+maintainer hasn't applied a patch to a module of theirs that you need
+for your application.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?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 Changes
+%{perl_vendorlib}/local
+%{_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 2009/01/22 14:11:52 radek
+- new
+
================================================================
Index: SPECS/perl-PAR-Packer.spec
diff -u /dev/null SPECS/perl-PAR-Packer.spec:1.1
--- /dev/null Thu Jan 22 15:11:58 2009
+++ SPECS/perl-PAR-Packer.spec Thu Jan 22 15:11:52 2009
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir PAR
+%define pnam Packer
+Summary: PAR::Packer - PAR Packager
+#Summary(pl.UTF-8):
+Name: perl-PAR-Packer
+Version: 0.982
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/PAR/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 8f78dcc541758efca6f3c3b98e1124ae
+URL: http://search.cpan.org/dist/PAR-Packer/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Archive-Zip >= 1
+BuildRequires: perl-Getopt-ArgvFile >= 1.07
+BuildRequires: perl-Module-ScanDeps >= 0.78
+BuildRequires: perl-PAR >= 0.977
+BuildRequires: perl-PAR-Dist >= 0.22
+%endif
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements the App::Packer::Backend interface, for generating
+stand-alone executables, perl scripts and PAR files.
+
+# %description -l pl.UTF-8
+# TODO
+
+%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 AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_bindir}/*
+%{perl_vendorlib}/*.pm
+%{perl_vendorlib}/PAR/*
+%{perl_vendorlib}/App/Packer/*
+%{_mandir}/man?/*
+
+%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 2009/01/22 14:11:52 radek
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list