head	1.33;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.29
	OPENPKG_E1_MP:1.29
	OPENPKG_E1_MP_2_STABLE:1.26.2.2
	OPENPKG_E1_FP:1.26.2.2
	OPENPKG_2_STABLE_MP:1.28
	OPENPKG_2_STABLE_20061018:1.26.2.2
	OPENPKG_2_STABLE_20060622:1.26.2.1
	OPENPKG_2_STABLE:1.26.0.2
	OPENPKG_2_STABLE_BP:1.26
	OPENPKG_2_5_RELEASE:1.23.4.1
	OPENPKG_2_5_SOLID:1.23.0.4
	OPENPKG_2_5_SOLID_BP:1.23
	OPENPKG_2_4_RELEASE:1.23.2.1
	OPENPKG_2_4_SOLID:1.23.0.2
	OPENPKG_2_4_SOLID_BP:1.23
	OPENPKG_CW_FP:1.22
	OPENPKG_2_3_RELEASE:1.22.2.1
	OPENPKG_2_3_SOLID:1.22.0.2
	OPENPKG_2_3_SOLID_BP:1.22
	OPENPKG_2_2_RELEASE:1.21.4.1
	OPENPKG_2_2_SOLID:1.21.0.4
	OPENPKG_2_2_SOLID_BP:1.21
	OPENPKG_2_1_RELEASE:1.21.2.1
	OPENPKG_2_1_SOLID:1.21.0.2
	OPENPKG_2_1_SOLID_BP:1.21
	OPENPKG_2_0_RELEASE:1.19.2.1
	OPENPKG_2_0_SOLID:1.19.0.2
	OPENPKG_2_0_SOLID_BP:1.19
	OPENPKG_1_3_RELEASE:1.9.2.2.2.1
	OPENPKG_1_3_SOLID:1.9.2.2.0.2
	OPENPKG_1_3_SOLID_BP:1.9.2.2
	OPENPKG_1_STABLE_MP:1.15
	OPENPKG_1_2_RELEASE:1.9.2.1.2.1
	OPENPKG_1_2_SOLID:1.9.2.1.0.2
	OPENPKG_1_2_SOLID_BP:1.9.2.1
	OPENPKG_1_STABLE:1.9.0.2
	OPENPKG_1_STABLE_BP:1.9;
locks; strict;
comment	@-- @;


1.33
date	2009.06.30.20.21.10;	author rse;	state Exp;
branches;
next	1.32;
commitid	mW7f5wxeUG4f4VTt;

1.32
date	2009.04.18.13.13.32;	author rse;	state Exp;
branches;
next	1.31;
commitid	4pHXU27WTIGCZuKt;

1.31
date	2008.01.01.15.00.45;	author rse;	state Exp;
branches;
next	1.30;
commitid	B8esaHJHoduuKILs;

1.30
date	2007.07.20.20.17.41;	author thl;	state Exp;
branches;
next	1.29;
commitid	yCyWfcoNSNOaUxqs;

1.29
date	2007.01.01.17.40.26;	author rse;	state Exp;
branches;
next	1.28;
commitid	BicZD6VUl7GuqP0s;

1.28
date	2006.10.13.17.30.59;	author thl;	state Exp;
branches;
next	1.27;
commitid	q5GSxzsSDX29XxQr;

1.27
date	2006.09.23.10.39.56;	author rse;	state Exp;
branches;
next	1.26;
commitid	0nx6d9SwqVXImWNr;

1.26
date	2006.05.24.18.52.35;	author rse;	state Exp;
branches
	1.26.2.1;
next	1.25;
commitid	2sKuWvpXDlTeZiyr;

1.25
date	2006.01.01.13.18.05;	author rse;	state Exp;
branches;
next	1.24;
commitid	otZG8yKMCw1JFTfr;

1.24
date	2005.12.27.18.39.31;	author rse;	state Exp;
branches;
next	1.23;
commitid	O8s6twdbo0ZnHhfr;

1.23
date	2005.03.24.11.19.46;	author rse;	state Exp;
branches
	1.23.2.1
	1.23.4.1;
next	1.22;

1.22
date	2005.01.01.10.53.08;	author rse;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	2004.05.19.08.07.57;	author rse;	state Exp;
branches
	1.21.2.1
	1.21.4.1;
next	1.20;

1.20
date	2004.05.13.18.38.14;	author rse;	state Exp;
branches;
next	1.19;

1.19
date	2004.02.07.17.57.16;	author rse;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2004.02.03.20.04.40;	author rse;	state Exp;
branches;
next	1.17;

1.17
date	2004.01.23.13.11.58;	author rse;	state Exp;
branches;
next	1.16;

1.16
date	2003.10.03.11.15.03;	author rse;	state Exp;
branches;
next	1.15;

1.15
date	2003.07.08.14.41.22;	author rse;	state Exp;
branches;
next	1.14;

1.14
date	2003.06.28.10.53.29;	author mlelstv;	state Exp;
branches;
next	1.13;

1.13
date	2003.06.28.10.42.59;	author mlelstv;	state Exp;
branches;
next	1.12;

1.12
date	2003.06.27.14.22.10;	author mlelstv;	state Exp;
branches;
next	1.11;

1.11
date	2003.06.27.12.18.04;	author mlelstv;	state Exp;
branches;
next	1.10;

1.10
date	2003.03.07.15.38.09;	author cs;	state Exp;
branches;
next	1.9;

1.9
date	2003.01.14.19.45.14;	author rse;	state Exp;
branches
	1.9.2.1;
next	1.8;

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

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

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

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

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

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

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

1.1
date	2002.12.03.12.09.22;	author ps;	state Exp;
branches;
next	;

1.26.2.1
date	2006.06.20.15.22.27;	author rse;	state Exp;
branches;
next	1.26.2.2;
commitid	P9b9BoNafLYTTKBr;

1.26.2.2
date	2006.10.16.14.53.46;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;

1.23.2.1
date	2005.06.15.19.01.23;	author rse;	state Exp;
branches;
next	;

1.23.4.1
date	2005.10.11.12.51.07;	author rse;	state Exp;
branches;
next	;

1.22.2.1
date	2005.02.21.17.07.50;	author rse;	state Exp;
branches;
next	;

1.21.2.1
date	2004.07.02.15.26.41;	author rse;	state Exp;
branches;
next	;

1.21.4.1
date	2004.10.11.18.57.45;	author rse;	state Exp;
branches;
next	;

1.19.2.1
date	2004.02.18.14.50.37;	author rse;	state Exp;
branches;
next	;

1.9.2.1
date	2003.01.18.14.13.30;	author rse;	state Exp;
branches
	1.9.2.1.2.1;
next	1.9.2.2;

1.9.2.2
date	2003.07.24.20.50.15;	author rse;	state Exp;
branches
	1.9.2.2.2.1;
next	;

1.9.2.1.2.1
date	2003.01.18.17.21.21;	author rse;	state Exp;
branches;
next	;

1.9.2.2.2.1
date	2003.07.29.15.00.21;	author rse;	state Exp;
branches;
next	;


desc
@@


1.33
log
@switch to the new SourceForge.net website functionality where we can find all files (again)
@
text
@##
##  opensp.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  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:         opensp
Summary:      The OpenJade Group's SGML and XML parsing tools
URL:          http://openjade.sourceforge.net/
Vendor:       James Clark
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        PLUS
Group:        XML
License:      GPL
Version:      1.5.2
Release:      20080101

#   list of sources
Source0:      http://switch.dl.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
Patch0:       opensp.patch

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

%description
    This package is a collection of SGML/XML tools called OpenSP. It is a fork
    from James Clark's SP suite. These tools are used to parse, validate, and
    normalize SGML and XML files.

%track
    prog opensp = {
        version   = %{version}
        url       = http://sourceforge.net/projects/openjade/files/
        regex     = OpenSP-(\d+\.\d+(\.\d+)*)\.tar\.gz
    }

%prep
    %setup -q -n OpenSP-%{version}
    %patch -p0

%build
    CC="%{l_cc}" \
    CXX="%{l_cxx}" \
    CFLAGS="%{l_cflags -O}" \
    CXXFLAGS="%{l_cxxflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    ./configure \
        --prefix=%{l_prefix} \
        --datadir=%{l_prefix}/share/sgml \
        --enable-default-catalog=%{l_prefix}/share/sgml/catalog \
        --enable-default-search-path=%{l_prefix}/share/sgml \
        --disable-shared \
        --enable-http \
        --disable-doc-build \
        --disable-nls
    %{l_make} %{l_mflags -O}

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/doc
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/sgml/doc
    mv $RPM_BUILD_ROOT%{l_prefix}/share/sgml/OpenSP \
       $RPM_BUILD_ROOT%{l_prefix}/share/sgml/opensp
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

%post
    if [ $1 -eq 1 ]; then
        $RPM_INSTALL_PREFIX/bin/sgmlcatalog \
            -p "-//SGML Open:TR95xx//SYNTAX Extended (ISO/IEC 10646-1:1993 repertoire)//EN" \
            -i opensp
    fi

%preun
    if [ $1 -eq 0 ]; then
        $RPM_INSTALL_PREFIX/bin/sgmlcatalog \
            -d opensp
    fi

@


1.32
log
@bump years in copyright messages
@
text
@d57 1
a57 1
        url       = http://prdownloads.sourceforge.net/openjade/
@


1.31
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.30
log
@remove "%not %dir" construct, allowing proper directory ownership tracking and removal when erasing last provider
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d35 1
a35 1
Release:      20070720
@


1.29
log
@Welcome Year 2007!
@
text
@d36 1
a36 1
Release:      20061013
d92 1
a92 2
        %{l_files_std} \
        '%not %dir %{l_prefix}/share/sgml'
@


1.28
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.27
log
@adjust Group header
@
text
@d30 2
a31 2
Packager:     OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release:      20060923
@


1.26
log
@SourceForge switched their URLs again and the canonical osdn.dl.sf.net no longer is available, hence switch to switch.dl.sf.net, one of the longest available and hopefully still long available mirrors
@
text
@d33 1
a33 1
Group:        SGML
d36 1
a36 1
Release:      20060524
@


1.26.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d36 1
a36 1
Release:      2.20060622
d45 2
a46 2
BuildPreReq:  OpenPKG, openpkg >= 2.20060622, gcc
PreReq:       OpenPKG, openpkg >= 2.20060622, sgml
@


1.26.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d30 2
a31 2
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
d33 1
a33 1
Group:        XML
d36 1
a36 1
Release:      2.20061018
d45 2
a46 2
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, gcc
PreReq:       OpenPKG, openpkg >= 2.20061018, sgml
@


1.25
log
@adjust copyrights for new year 2006
@
text
@d36 1
a36 1
Release:      20051227
d39 1
a39 1
Source0:      http://osdn.dl.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
@


1.24
log
@upgrading package: opensp 1.5.1 -> 1.5.2
@
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.23
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
@d35 2
a36 2
Version:      1.5.1
Release:      20040519
d79 1
@


1.23.4.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d36 1
a36 1
Release:      2.5.0
d45 2
a46 2
BuildPreReq:  OpenPKG, openpkg >= 2.5.0, gcc
PreReq:       OpenPKG, openpkg >= 2.5.0, sgml
@


1.23.2.1
log
@bump release numbers for OpenPKG 2.4
@
text
@d36 1
a36 1
Release:      2.4.0
d45 2
a46 2
BuildPreReq:  OpenPKG, openpkg >= 2.4.0, gcc
PreReq:       OpenPKG, openpkg >= 2.4.0, sgml
@


1.22
log
@Happy New Year 2005
@
text
@d2 3
a4 4
##  opensp.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.22.2.1
log
@bump release numbers for OpenPKG 2.3
@
text
@d37 1
a37 1
Release:      2.3.0
d46 2
a47 2
BuildPreReq:  OpenPKG, openpkg >= 2.3.0, gcc
PreReq:       OpenPKG, openpkg >= 2.3.0, sgml
@


1.21
log
@upgrading package: opensp 1.5 -> 1.5.1
@
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.21.4.1
log
@bump release numbers for OpenPKG 2.2
@
text
@d37 1
a37 1
Release:      2.2.0
d46 2
a47 2
BuildPreReq:  OpenPKG, openpkg >= 2.2.0, gcc
PreReq:       OpenPKG, openpkg >= 2.2.0, sgml
@


1.21.2.1
log
@bump release numbers for OpenPKG 2.1
@
text
@d37 1
a37 1
Release:      2.1.0
d46 2
a47 2
BuildPreReq:  OpenPKG, openpkg >= 2.1.0, gcc
PreReq:       OpenPKG, openpkg >= 2.1.0, sgml
@


1.20
log
@fix URLs
@
text
@d36 2
a37 2
Version:      1.5
Release:      20040513
@


1.19
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
d40 1
a40 1
Source0:      http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
d59 2
a60 2
        url       = http://download.sourceforge.net/openjade/
        regex     = OpenSP-(\d+\.\d+)\.tar\.gz
@


1.19.2.1
log
@bump release numbers for OpenPKG 2.0
@
text
@d37 1
a37 1
Release:      2.0.0
d46 2
a47 2
BuildPreReq:  OpenPKG, openpkg >= 2.0.0, gcc
PreReq:       OpenPKG, openpkg >= 2.0.0, sgml
@


1.18
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
d58 1
a58 1
        version   = 1.5
@


1.17
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 [PLUS]
d37 1
a37 1
Release:      20031003
d46 2
a47 2
BuildPreReq:  OpenPKG, openpkg >= 20021204, gcc
PreReq:       OpenPKG, openpkg >= 20021204, sgml
d55 7
@


1.16
log
@Enable HTTP support for downloading DTDs externally.

Submitted by: Bill Campbell
@
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.15
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:      20030628
d71 1
@


1.14
log
@switch back to compiler macros
@
text
@a2 1
##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@


1.13
log
@remove debug-exit
@
text
@d60 2
a61 2
    CC="/usr/bin/cc" \
    CXX="/usr/bin/c++" \
@


1.12
log
@adjust catalog handling for new sgml package
@
text
@d36 1
a36 1
Release:      20030627
a84 1
    exit 42
@


1.11
log
@fix C++ declaration order, gcc3.3 is more pedantic
@
text
@d85 1
d94 3
a96 1
        $RPM_INSTALL_PREFIX/bin/mkcatalog -q install opensp
d101 2
a102 1
        $RPM_INSTALL_PREFIX/bin/mkcatalog -q deinstall opensp
@


1.10
log
@just 80 column cosmetic
@
text
@d36 1
a36 1
Release:      20030307
d40 1
d57 1
d60 2
a61 2
    CC="%{l_cc}" \
    CXX="%{l_cxx}" \
@


1.9
log
@upgrade to PLUS class
@
text
@d36 1
a36 1
Release:      20030114
d50 3
a52 3
    This package is a collection of SGML/XML tools called OpenSP. It is a fork from
    James Clark's SP suite. These tools are used to parse, validate, and normalize
    SGML and XML files.
@


1.9.2.1
log
@Welcome OPENPKG_1_STABLE branch...
@
text
@d36 1
a36 1
Release:      1.20030114
d44 2
a45 2
BuildPreReq:  OpenPKG, openpkg >= 1.20021204, gcc
PreReq:       OpenPKG, openpkg >= 1.20021204, sgml
@


1.9.2.2
log
@mass Merge-From-CURRENT (MFC) in preparation for OpenPKG 1.3 [class PLUS only]
@
text
@d3 1
a5 1
##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
d36 1
a36 1
Release:      1.20030724
a39 1
Patch0:       opensp.patch
d44 2
a45 2
BuildPreReq:  OpenPKG, openpkg >= 1.20030724, gcc
PreReq:       OpenPKG, openpkg >= 1.20030724, sgml
d50 3
a52 3
    This package is a collection of SGML/XML tools called OpenSP. It is a fork
    from James Clark's SP suite. These tools are used to parse, validate, and
    normalize SGML and XML files.
a55 1
    %patch -p0
d91 1
a91 3
        $RPM_INSTALL_PREFIX/bin/sgmlcatalog \
            -p "-//SGML Open:TR95xx//SYNTAX Extended (ISO/IEC 10646-1:1993 repertoire)//EN" \
            -i opensp
d96 1
a96 2
        $RPM_INSTALL_PREFIX/bin/sgmlcatalog \
            -d opensp
@


1.9.2.2.2.1
log
@bump release numbers on OpenPKG 1.3-STABLE branch for OpenPKG 1.3.0-RELEASE
@
text
@d36 1
a36 1
Release:      1.3.0
d45 2
a46 2
BuildPreReq:  OpenPKG, openpkg >= 1.3.0, gcc
PreReq:       OpenPKG, openpkg >= 1.3.0, sgml
@


1.9.2.1.2.1
log
@bump versions and dependencies for OpenPKG 1.2
@
text
@d36 1
a36 1
Release:      1.2.0
d44 2
a45 2
BuildPreReq:  OpenPKG, openpkg >= 1.2.0, gcc
PreReq:       OpenPKG, openpkg >= 1.2.0, sgml
@


1.8
log
@remove '%options' hack, it will be replaced soon with a more elegant solution based on RPM 'Provides' headers
@
text
@d32 1
a32 1
Distribution: OpenPKG [EVAL]
d36 1
a36 1
Release:      20021204
@


1.7
log
@bump of Copyright messages for forthcoming years 2003
@
text
@a53 2
    %options

@


1.6
log
@switch to %option(s), but intentionally WITHOUT dep increase and WITHOUT FTP server updates
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
##  Copyright (c) 2000-2002 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2002 Ralf S. Engelschall <rse@@engelschall.com>
@


1.5
log
@consistently use 'Options: none' to indicate no options to 'openpkg build'
@
text
@d54 1
a54 1
    Options: none
@


1.4
log
@use new l_cxxflags variable
@
text
@d54 2
@


1.3
log
@use lower-case dir for catalog
@
text
@d36 1
a36 1
Release:      20021203
d44 2
a45 2
BuildPreReq:  OpenPKG, openpkg >= 20021122, gcc
PreReq:       OpenPKG, openpkg >= 20021122, sgml
d61 1
a61 1
    CXXFLAGS="%{l_cflags -O}" \
@


1.2
log
@Fix and polish new package:
- replace tabs with spaces
- add dependency gcc (because of C++)
- fix typos "opensd" -> "opensp"
- use --datadir=%{l_prefix}/share/sgml
- use --disable-shared
- use DESTDIR
- depend on "sgml" and use its mkcatalog
- do not keep out-commented things
@
text
@d77 2
d91 1
a91 1
        $RPM_INSTALL_PREFIX/bin/mkcatalog -q install OpenSP
d96 1
a96 1
        $RPM_INSTALL_PREFIX/bin/mkcatalog -q deinstall OpenSP
@


1.1
log
@Appended opensp
@
text
@d45 1
a45 1
PreReq:       OpenPKG, openpkg >= 20021122
d50 3
a52 3
	This package is a collection of SGML/XML tools called OpenSP. It is a fork from
	James Clark's SP suite. These tools are used to parse, validate, and normalize
	SGML and XML files.
a57 1
    echo "ac_cv_func_setlocale=${ac_cv_func_setlocale='no'}" >config.cache
d59 1
d61 2
d65 1
a65 1
        --datadir=%{l_prefix}/share/sgml/opensd \
d67 3
a69 1
        --enable-default-search-path=%{l_prefix}/share/sgml 
d74 7
a80 17
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/bin \
        $RPM_BUILD_ROOT%{l_prefix}/lib/opensd \
        $RPM_BUILD_ROOT%{l_prefix}/include/opensd \
        $RPM_BUILD_ROOT%{l_prefix}/share/sgml/opensd
    %{l_make} %{l_mflags} install \
        prefix=$RPM_BUILD_ROOT%{l_prefix} \
        exec_prefix=$RPM_BUILD_ROOT%{l_prefix} \
        datadir=$RPM_BUILD_ROOT%{l_prefix}/share/sgml/opensd
#    %{l_shtool} install -c -m 644 \
#        dsssl/* $RPM_BUILD_ROOT%{l_prefix}/share/sgml/opensd/
#    echo 'CATALOG "openjade/catalog"' >$RPM_BUILD_ROOT%{l_prefix}/share/sgml/catalog
#    %{l_shtool} install -c -m 755 -e 's;@@l_prefix@@;%{l_prefix};g' \
#        %{SOURCE mkcatalog} $RPM_BUILD_ROOT%{l_prefix}/bin/
#    rm -f $RPM_BUILD_ROOT%{l_prefix}/share/sgml/openjade/ChangeLog
#    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
d86 10
@

