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: 03-Nov-2004 19:56:18
Branch: HEAD Handle: 2004110318561700
Modified files:
openpkg-src/uuid uuid.spec
Log:
upgrade to OSSP uuid 1.1.0 and provide optional Perl API support
Summary:
Revision Changes Path
1.17 +19 -3 openpkg-src/uuid/uuid.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/uuid/uuid.spec
============================================================================
$ cvs diff -u -r1.16 -r1.17 uuid.spec
--- openpkg-src/uuid/uuid.spec 16 Oct 2004 18:32:44 -0000 1.16
+++ openpkg-src/uuid/uuid.spec 3 Nov 2004 18:56:17 -0000 1.17
@@ -33,11 +33,12 @@
Class: BASE
Group: System
License: MIT/X11-style
-Version: 1.0.4
-Release: 20041016
+Version: 1.1.0
+Release: 20041103
# package options
%option with_dce no
+%option with_perl no
# list of sources
Source0: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
@@ -47,6 +48,10 @@
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130
+%if "%{with_perl}" == "yes"
+BuildPreReq: perl
+PreReq: perl
+%endif
AutoReq: no
AutoReqProv: no
@@ -86,11 +91,22 @@
%endif
--disable-shared
%{l_make} %{l_mflags -O}
+%if "%{with_perl}" == "yes"
+ %{l_prefix}/bin/perl-openpkg prepare
+ %{l_prefix}/bin/perl-openpkg -d perl configure build
+%endif
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
- %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+%if "%{with_perl}" == "yes"
+ %{l_prefix}/bin/perl-openpkg -d perl install
+ %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
+%else
+ >perl-openpkg-files
+%endif
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} `cat perl-openpkg-files`
%files -f files
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]