head	1.20;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.16
	OPENPKG_E1_MP:1.16
	OPENPKG_E1_MP_2_STABLE:1.14.2.2
	OPENPKG_E1_FP:1.14.2.2
	OPENPKG_2_STABLE_MP:1.14
	OPENPKG_2_STABLE_20061018:1.14.2.2
	OPENPKG_2_STABLE:1.14.0.2
	OPENPKG_CW_FP:1.9;
locks; strict;
comment	@-- @;


1.20
date	2009.04.18.13.13.42;	author rse;	state Exp;
branches;
next	1.19;
commitid	4pHXU27WTIGCZuKt;

1.19
date	2008.01.01.15.01.08;	author rse;	state Exp;
branches;
next	1.18;
commitid	B8esaHJHoduuKILs;

1.18
date	2007.07.20.20.17.50;	author thl;	state Exp;
branches;
next	1.17;
commitid	yCyWfcoNSNOaUxqs;

1.17
date	2007.03.15.16.00.30;	author cs;	state Exp;
branches;
next	1.16;
commitid	DY6jMqYksjNYzcas;

1.16
date	2007.01.06.09.56.11;	author rse;	state Exp;
branches;
next	1.15;
commitid	bzQU1sqdUoBvKq1s;

1.15
date	2007.01.01.17.40.33;	author rse;	state Exp;
branches;
next	1.14;
commitid	BicZD6VUl7GuqP0s;

1.14
date	2006.10.13.17.31.25;	author thl;	state Exp;
branches
	1.14.2.1;
next	1.13;
commitid	q5GSxzsSDX29XxQr;

1.13
date	2006.06.18.07.49.31;	author rse;	state Exp;
branches;
next	1.12;
commitid	JfUuIVg9VaGCxsBr;

1.12
date	2006.03.10.17.21.31;	author rse;	state Exp;
branches;
next	1.11;
commitid	gvEbxhTlj8T8VEor;

1.11
date	2006.01.01.13.18.28;	author rse;	state Exp;
branches;
next	1.10;
commitid	otZG8yKMCw1JFTfr;

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

1.9
date	2005.03.01.12.22.02;	author ms;	state Exp;
branches;
next	1.8;

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

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

1.6
date	2004.12.23.13.58.35;	author tho;	state Exp;
branches;
next	1.5;

1.5
date	2004.12.01.18.40.42;	author ms;	state Exp;
branches;
next	1.4;

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

1.3
date	2004.09.09.16.41.25;	author ms;	state Exp;
branches;
next	1.2;

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

1.1
date	2004.06.08.18.58.48;	author rse;	state Exp;
branches;
next	;

1.14.2.1
date	2006.10.13.17.31.25;	author rse;	state dead;
branches;
next	1.14.2.2;
commitid	iZxwRSmmWscPXUQr;

1.14.2.2
date	2006.10.16.14.53.55;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.20
log
@bump years in copyright messages
@
text
@##
##  papyrus.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:         papyrus
Summary:      XML Reporting Engine for RDBMS
URL:          http://www.treshna.com/papyrus/
Vendor:       A. Hill, A. Renaud, T. Lord
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Database
License:      GPL
Version:      1.7.0
Release:      20080101

#   list of sources
Source0:      http://www.treshna.com/downloads/papyrus-%{version}.tar.gz
Patch0:       papyrus.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, libtool, gcc, make, pkgconfig, config
PreReq:       OpenPKG, openpkg >= 20040130
BuildPreReq:  glib2, gettext, libiconv, libxml, libxslt, libgda >= 2.99
PreReq:       glib2, gettext, libiconv, libxml, libxslt, libgda >= 2.99
AutoReq:      no
AutoReqProv:  no

%description
    Papyrus is an XML reporting engine. It enables you to generate
    reports from a variety of different SQL databases. Your reports can
    be generated as PDF, PostScript, XML, HTML, DVI, Latex or straight
    ANSI text. Papyrus will correctly represent the reports in each of
    these outputted mediums with as much support as it can provide. The
    Papyrus XML language is aimed from a formatting perspective. To give
    you the ability to generate the best looking reports at ease.

%track
    prog papyrus = {
        version   = %{version}
        url       = http://www.treshna.com/papyrus/download/
        regex     = papyrus-(__VER__)\.tar\.gz
    }

%prep
    %setup -q -n papyrus
    %patch -p0

%build
    rm -f config.guess config.sub
    %{l_prefix}/bin/config install .
    %{l_shtool} subst \
        -e 's;pkg-config libgda;pkg-config libgda-3.0;g' \
        configure
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    ./configure \
        --prefix=%{l_prefix} \
        --includedir=%{l_prefix}/include/papyrus \
        --enable-libgda
    ( echo "#!/bin/sh"
      echo "exec \"\$@@\""
    ) >depcomp
    chmod 755 depcomp
    rm -f libtool
    ln -s %{l_prefix}/bin/libtool .
    %{l_make} %{l_mflags}

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/doc
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/share/papyrus
    mv  $RPM_BUILD_ROOT%{l_prefix}/bin/html_output.xsl \
        $RPM_BUILD_ROOT%{l_prefix}/share/papyrus/html_output.xsl
    %{l_shtool} subst \
        -e 's;/bin/bash;%{l_bash};g' \
        -e 's;$bindir/html_output.xsl;%{l_prefix}/share/papyrus/html_output.xsl;g' \
        $RPM_BUILD_ROOT%{l_prefix}/bin/papyrus
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.19
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.18
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.17
log
@upgrading package: papyrus 1.6.2 -> 1.7.0
@
text
@d36 1
a36 1
Release:      20070315
d108 1
a108 2
        %{l_files_std} \
        '%not %dir %{l_prefix}/lib/pkgconfig'
@


1.16
log
@finally upgrade and port to libgda 2.99.x
@
text
@d35 2
a36 2
Version:      1.6.2
Release:      20070106
@


1.15
log
@Welcome Year 2007!
@
text
@d28 1
a28 1
URL:          http://papyrus.treshna.com/
d35 2
a36 2
Version:      1.6.1
Release:      20061013
d39 1
a39 1
Source0:      http://papyrus.treshna.com/downloads/papyrus-%{version}.tar.gz
d45 1
a45 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, libtool, gcc, make, pkgconfig
d47 2
a48 2
BuildPreReq:  glib2, gettext, libiconv, libxml, libxslt, libgda
PreReq:       glib2, gettext, libiconv, libxml, libxslt, libgda
d69 1
a69 1
    %setup -q -c
d73 2
d76 1
a76 1
        -e 's;pkg-config libgda;pkg-config libgda-2.0;g' \
@


1.14
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.14.2.1
log
@file papyrus.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:53:55 +0000
@
text
@d1 113
@


1.14.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 113
##
##  papyrus.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:         papyrus
Summary:      XML Reporting Engine for RDBMS
URL:          http://papyrus.treshna.com/
Vendor:       A. Hill, A. Renaud, T. Lord
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Database
License:      GPL
Version:      1.6.1
Release:      2.20061018

#   list of sources
Source0:      http://papyrus.treshna.com/downloads/papyrus-%{version}.tar.gz
Patch0:       papyrus.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, libtool, gcc, make, pkgconfig
PreReq:       OpenPKG, openpkg >= 2.20061018
BuildPreReq:  glib2, gettext, libiconv, libxml, libxslt, libgda
PreReq:       glib2, gettext, libiconv, libxml, libxslt, libgda
AutoReq:      no
AutoReqProv:  no

%description
    Papyrus is an XML reporting engine. It enables you to generate
    reports from a variety of different SQL databases. Your reports can
    be generated as PDF, PostScript, XML, HTML, DVI, Latex or straight
    ANSI text. Papyrus will correctly represent the reports in each of
    these outputted mediums with as much support as it can provide. The
    Papyrus XML language is aimed from a formatting perspective. To give
    you the ability to generate the best looking reports at ease.

%track
    prog papyrus = {
        version   = %{version}
        url       = http://www.treshna.com/papyrus/download/
        regex     = papyrus-(__VER__)\.tar\.gz
    }

%prep
    %setup -q -c
    %patch -p0

%build
    %{l_shtool} subst \
        -e 's;pkg-config libgda;pkg-config libgda-2.0;g' \
        configure
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    ./configure \
        --prefix=%{l_prefix} \
        --includedir=%{l_prefix}/include/papyrus \
        --enable-libgda
    ( echo "#!/bin/sh"
      echo "exec \"\$@@\""
    ) >depcomp
    chmod 755 depcomp
    rm -f libtool
    ln -s %{l_prefix}/bin/libtool .
    %{l_make} %{l_mflags}

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/doc
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/share/papyrus
    mv  $RPM_BUILD_ROOT%{l_prefix}/bin/html_output.xsl \
        $RPM_BUILD_ROOT%{l_prefix}/share/papyrus/html_output.xsl
    %{l_shtool} subst \
        -e 's;/bin/bash;%{l_bash};g' \
        -e 's;$bindir/html_output.xsl;%{l_prefix}/share/papyrus/html_output.xsl;g' \
        $RPM_BUILD_ROOT%{l_prefix}/bin/papyrus
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        '%not %dir %{l_prefix}/lib/pkgconfig'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.13
log
@URLs have changed
@
text
@d30 2
a31 2
Packager:     OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release:      20060618
@


1.12
log
@upgrading package: papyrus 1.4.4 -> 1.6.0
@
text
@d35 2
a36 2
Version:      1.6.0
Release:      20060310
d39 1
a39 1
Source0:      http://papyrus.treshna.com/papyrus-%{version}.tar.gz
d64 1
a64 1
        url       = http://papyrus.treshna.com/index.php?selection=2&pagenumber=1
d69 1
a69 1
    %setup -q -n papyrus
@


1.11
log
@adjust copyrights for new year 2006
@
text
@d35 2
a36 2
Version:      1.4.4
Release:      20050301
d73 3
d90 1
a90 1
    %{l_make} %{l_mflags -O}
@


1.10
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.9
log
@upgrading package: papyrus 1.4.3 -> 1.4.4
@
text
@d2 3
a4 4
##  papyrus.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.8
log
@upgrading package: papyrus 1.4.2 -> 1.4.3
@
text
@d36 2
a37 2
Version:      1.4.3
Release:      20050209
@


1.7
log
@Happy New Year 2005
@
text
@d36 2
a37 2
Version:      1.4.2
Release:      20041223
@


1.6
log
@upgrading package: papyrus 1.4.1 -> 1.4.2
@
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.5
log
@upgrading package: papyrus 1.4.0 -> 1.4.1
@
text
@d36 2
a37 2
Version:      1.4.1
Release:      20041201
@


1.4
log
@upgrading package: papyrus 1.3.9 -> 1.4.0
@
text
@d36 2
a37 2
Version:      1.4.0
Release:      20041018
@


1.3
log
@upgrading package: papyrus 1.3.8 -> 1.3.9
@
text
@d36 2
a37 2
Version:      1.3.9
Release:      20040909
@


1.2
log
@upgrading package: papyrus 1.3.7 -> 1.3.8
@
text
@d36 2
a37 2
Version:      1.3.8
Release:      20040727
d48 2
a49 2
BuildPreReq:  glib, gettext, libiconv, libxml, libxslt, libgda
PreReq:       glib, gettext, libiconv, libxml, libxslt, libgda
@


1.1
log
@new package: papyrus 1.3.7 (XML Reporting Engine for RDBMS)
@
text
@d36 2
a37 2
Version:      1.3.7
Release:      20040608
d48 2
a49 2
BuildPreReq:  glib, gettext, libiconv, libxml, libxslt
PreReq:       glib, gettext, libiconv, libxml, libxslt
@

