OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 26-Nov-2004 11:03:14
Branch: HEAD Handle: 2004112610031400
Modified files:
openpkg-src/perl-parse perl-parse.spec
Log:
add OGDL parser
Summary:
Revision Changes Path
1.96 +15 -1 openpkg-src/perl-parse/perl-parse.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-parse/perl-parse.spec
============================================================================
$ cvs diff -u -r1.95 -r1.96 perl-parse.spec
--- openpkg-src/perl-parse/perl-parse.spec 7 Nov 2004 19:47:57 -0000
1.95
+++ openpkg-src/perl-parse/perl-parse.spec 26 Nov 2004 10:03:14 -0000
1.96
@@ -40,6 +40,7 @@
%define V_appconfig_std 1.07
%define V_template 2.14
%define V_yaml 0.35
+%define V_ogdl 20041124
# package information
Name: perl-parse
@@ -52,7 +53,7 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20041107
+Release: 20041126
# list of sources
Source0:
http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
@@ -70,6 +71,7 @@
Source12:
http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{V_appconfig_std}.tar.gz
Source13:
http://www.cpan.org/modules/by-module/Template/Template-Toolkit-%{V_template}.tar.gz
Source14:
http://www.cpan.org/modules/by-module/YAML/YAML-%{V_yaml}.tar.gz
+Source15: http://osdn.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
# build information
Prefix: %{l_prefix}
@@ -96,6 +98,7 @@
- AppConfig::Std (%{V_appconfig_std})
- Template (%{V_template})
- YAML (%{V_yaml})
+ - OGDL (%{V_ogdl})
%track
prog perl-parse:Config-General = {
@@ -173,6 +176,11 @@
url = http://www.cpan.org/modules/by-module/YAML/
regex = YAML-(__VER__)\.tar\.gz
}
+ prog perl-parse:OGDL = {
+ version = %{V_ogdl}
+ url = http://prdownloads.sourceforge.net/ogdl/
+ regex = ogdltools-(__VER__)\.tgz
+ }
%prep
%setup -q -c
@@ -190,6 +198,7 @@
%setup -q -T -D -a 12
%setup -q -T -D -a 13
%setup -q -T -D -a 14
+ %setup -q -T -D -a 15
%build
@@ -214,6 +223,11 @@
-A TT_QUIET=n -A TT_ACCEPT=y \
configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
+ ( cd ogdlutils-%{V_ogdl}/c
+ %{l_cc} %{l_cflags} -c ogdlparser.c graph.c path.c ogdllog.c
+ ar cr libogdl.a ogdlparser.o graph.o path.o ogdllog.o
+ ) || exit $?
+ %{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build
install
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat
perl-openpkg-files`
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]