[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-cvs
Subject: [CVS] OpenPKG: openpkg-src/perl-module/ perl-module.spec
From: "Ralf S. Engelschall" <rse () openpkg ! org>
Date: 2005-10-31 18:07:35
Message-ID: 20051031180735.441D61B506D () master ! openpkg ! org
[Download RAW message or body]
OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: rse@openpkg.org
Module: openpkg-src Date: 31-Oct-2005 19:07:35
Branch: HEAD Handle: 2005103118073500
Added files:
openpkg-src/perl-module perl-module.spec
Log:
new perl-module package providing latest old-style ExtUtils::MakeMaker
and the new-style Module::Build
Summary:
Revision Changes Path
1.1 +128 -0 openpkg-src/perl-module/perl-module.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-module/perl-module.spec
============================================================================
$ cvs diff -u -r0 -r1.1 perl-module.spec
--- /dev/null 2005-10-31 19:07:24 +0100
+++ perl-module.spec 2005-10-31 19:07:35 +0100
@@ -0,0 +1,128 @@
+##
+## perl-module.spec -- OpenPKG RPM Package Specification
+## Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
+## Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+# versions of individual parts
+%define V_perl 5.8.7
+%define V_extutils_depends 0.205
+%define V_extutils_pkgconfig 1.07
+%define V_extutils_modulemaker 0.43
+%define V_extutils_makemaker 6.30
+%define V_module_scandeps 0.51
+%define V_module_build 0.2611
+
+# package information
+Name: perl-module
+Summary: Perl Modules for use with Perl Archive
+URL: http://www.cpan.org/
+Vendor: Perl Community
+Packager: OpenPKG
+Distribution: OpenPKG
+Class: BASE
+Group: Language
+License: GPL/Artistic
+Version: %{V_perl}
+Release: 20051031
+
+# list of sources
+Source0: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-Depends-%{V_extutils_depends}.tar.gz
+Source1: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-PkgConfig-%{V_extutils_pkgconfig}.tar.gz
+Source2: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-ModuleMaker-%{V_extutils_modulemaker}.tar.gz
+Source3: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-MakeMaker-%{V_extutils_makemaker}.tar.gz
+Source4: http://www.cpan.org/modules/by-module/Module/Module-ScanDeps-%{V_module_scandeps}.tar.gz
+Source5: http://www.cpan.org/modules/by-module/Module/Module-Build-%{V_module_build}.tar.gz
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= \
%{V_perl}-20051031 +PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Perl modules for use with networks:
+ - ExtUtils::Depends (%{V_extutils_depends})
+ - ExtUtils::PkgConfig (%{V_extutils_pkgconfig})
+ - ExtUtils::ModuleMaker (%{V_extutils_modulemaker})
+ - ExtUtils::MakeMaker (%{V_extutils_makemaker})
+ - Module::ScanDeps (%{V_module_scandeps})
+ - Module::Build (%{V_module_build})
+
+%track
+ prog perl-module:ExtUtils-Depends = {
+ version = %{V_extutils_depends}
+ url = http://www.cpan.org/modules/by-module/ExtUtils/
+ regex = ExtUtils-Depends-(__VER__)\.tar\.gz
+ }
+ prog perl-module:ExtUtils-PkgConfig = {
+ version = %{V_extutils_pkgconfig}
+ url = http://www.cpan.org/modules/by-module/ExtUtils/
+ regex = ExtUtils-PkgConfig-(__VER__)\.tar\.gz
+ }
+ prog perl-module:ExtUtils-ModuleMaker = {
+ version = %{V_extutils_modulemaker}
+ url = http://www.cpan.org/modules/by-module/ExtUtils/
+ regex = ExtUtils-ModuleMaker-(\d+\.\d\d)\.tar\.gz
+ }
+ prog perl-module:Module-ScanDeps = {
+ version = %{V_module_scandeps}
+ url = http://www.cpan.org/modules/by-module/Module/
+ regex = Module-ScanDeps-(__VER__)\.tar\.gz
+ }
+ prog perl-module:Module-Build = {
+ version = %{V_module_build}
+ url = http://www.cpan.org/modules/by-module/Module/
+ regex = Module-Build-(__VER__)\.tar\.gz
+ }
+
+%prep
+ %setup -q -c
+ %setup -q -T -D -a 1
+ %setup -q -T -D -a 2
+ %setup -q -T -D -a 3
+ %setup -q -T -D -a 4
+ %setup -q -T -D -a 5
+
+%build
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_prefix}/bin/perl-openpkg prepare
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
+ %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/instmodsh
+ mv $RPM_BUILD_ROOT%{l_prefix}/bin/scandeps.pl \
+ $RPM_BUILD_ROOT%{l_prefix}/bin/scandeps
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat \
perl-openpkg-files` +
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic