head	1.13;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.13
	OPENPKG_E1_MP:1.13
	OPENPKG_CW_FP:1.10
	OPENPKG_1_STABLE_MP:1.4;
locks; strict;
comment	@-- @;


1.13
date	2006.03.07.17.41.00;	author rse;	state dead;
branches;
next	1.12;
commitid	YIdho25zJRaO7hor;

1.12
date	2006.01.01.13.13.00;	author rse;	state Exp;
branches;
next	1.11;
commitid	otZG8yKMCw1JFTfr;

1.11
date	2005.03.24.11.18.39;	author rse;	state Exp;
branches;
next	1.10;

1.10
date	2005.01.01.10.48.34;	author rse;	state Exp;
branches;
next	1.9;

1.9
date	2004.11.18.13.37.07;	author rse;	state Exp;
branches;
next	1.8;

1.8
date	2004.09.20.16.17.08;	author rse;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.07.17.54.20;	author rse;	state Exp;
branches;
next	1.6;

1.6
date	2004.02.03.20.00.30;	author rse;	state Exp;
branches;
next	1.5;

1.5
date	2004.01.23.13.08.15;	author rse;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.23.13.31.47;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.08.14.39.09;	author rse;	state Exp;
branches;
next	1.2;

1.2
date	2003.07.07.11.35.46;	author rse;	state Exp;
branches;
next	1.1;

1.1
date	2003.02.20.07.51.23;	author cs;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Yeah, I wanted to get rid of this package since about 3 years now (as it didn't fit the similar perl-xxx situation). Today is the time to kick it out as its functionality is now included in the more reasonable superset module 'python-db'
@
text
@##
##  dcoracle2.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 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.
##

#   package information
Name:         dcoracle2
Summary:      DCOracle2 Oracle Database Bindings for Python
URL:          http://www.zope.org/Members/matt/dco2/
Vendor:       Matt Kromer
Packager:     OpenPKG
Distribution: OpenPKG
Class:        EVAL
Group:        Language
License:      Open Source
Version:      1.2
Release:      20041118

#   list of sources
Source0:      http://www.zope.org/Members/matt/dco2/DCOracle2-%{version}.tgz

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, python, oracle, make
PreReq:       OpenPKG, openpkg >= 20040130, python, oracle
AutoReq:      no
AutoReqProv:  no

%description
    DCOracle2 is a Python DB API 2.0 adapter for Oracle 8. Based on the Oracle
    8 OCI, DCOracle2 overcomes limitations of DCOracle which prevent new OCI 8
    features from functioning (LOBs).

%track
    prog dcoracle2 = {
        version   = %{version}
        url       = http://www.zope.org/Members/matt/dco2/
        regex     = DCOracle2-(\d+\.[\d\.]+)\.tgz
    }

%prep
    %setup -q -n DCOracle2
    %{l_shtool} subst \
        -e 's;^\(PYTHON=\).*$;\1 %{l_prefix}/bin/python;' \
        Makefile

%build
    ( ORACLE_HOME="`%{l_rc} --query oracle_home`"
      export ORACLE_HOME
      MAKE="%{l_make}" %{l_make} %{l_mflags -O} DCOracle2/dco2.so
    ) || exit $?

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}
    ( ORACLE_HOME="`%{l_rc} --query oracle_home`"
      export ORACLE_HOME
      %{l_prefix}/bin/python setup.py install --root=$RPM_BUILD_ROOT
    ) || exit $?
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.12
log
@adjust copyrights for new year 2006
@
text
@@


1.11
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.10
log
@Happy New Year 2005
@
text
@d2 3
a4 4
##  dcoracle2.spec -- OpenPKG RPM Specification
##  Copyright (c) 2000-2005 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2005 Cable & Wireless <http://www.cw.com/>
d30 1
a30 1
Packager:     The OpenPKG Project
@


1.9
log
@switch to lower-case 'oracle' because this is actually an always required glue package and not providing ORACLE itself
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2004 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2004 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2004 Cable & Wireless <http://www.cw.com/>
@


1.8
log
@Cleanup: %{l_prefix}/etc/rc -> %{l_rc}
@
text
@d37 1
a37 1
Release:      20040920
d45 2
a46 2
BuildPreReq:  OpenPKG, openpkg >= 20040130, make, python, ORACLE
PreReq:       OpenPKG, openpkg >= 20040130, python, ORACLE
@


1.7
log
@Mass Commit:
reduce redundancy within .spec files by referencing
macros defining vendor source versions whenever possible.
This was half-way automated and half-way manually edited.
As a result the PMOD activity in 95% of all cases
just means editing the version in one single place, only.
@
text
@d37 1
a37 1
Release:      20040207
d69 1
a69 1
    ( ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
d78 1
a78 1
    ( ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
@


1.6
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
  (new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
  new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
  and "%track" section are only supported by our latest bootstrap version.
@
text
@d37 1
a37 1
Release:      20040203
d57 1
a57 1
        version   = 1.2
@


1.5
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d32 2
a33 1
Distribution: OpenPKG [EVAL]
d37 1
a37 1
Release:      20030723
d45 2
a46 2
BuildPreReq:  OpenPKG, openpkg >= 20030103, make, python, ORACLE
PreReq:       OpenPKG, openpkg >= 20030103, python, ORACLE
d54 7
@


1.4
log
@achieve robust subshell handling by consistently using '(...) || exit 0' constructs to make sure the scripts fail if a subshell fails
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2003 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
@


1.3
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d36 1
a36 1
Release:      20030707
d64 1
a64 1
    )
d73 1
a73 1
    )
@


1.2
log
@speclint police: remove %options
@
text
@a2 1
##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@


1.1
log
@New package: dcoracle2
@
text
@d36 1
a36 1
Release:      20030220
a52 2

    %options
@

