head	1.22;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.10
	OPENPKG_E1_MP:1.10
	OPENPKG_E1_MP_2_STABLE:1.6.2.2
	OPENPKG_E1_FP:1.6.2.2
	OPENPKG_2_STABLE_MP:1.6
	OPENPKG_2_STABLE_20061018:1.6.2.2
	OPENPKG_2_STABLE:1.6.0.2;
locks; strict;
comment	@-- @;


1.22
date	2009.04.18.13.14.47;	author rse;	state Exp;
branches;
next	1.21;
commitid	4pHXU27WTIGCZuKt;

1.21
date	2008.07.06.18.24.40;	author rse;	state Exp;
branches;
next	1.20;
commitid	elyIVTn3MA0QYL9t;

1.20
date	2008.06.27.07.09.00;	author rse;	state Exp;
branches;
next	1.19;
commitid	zL26IfaNNjPYwy8t;

1.19
date	2008.03.30.18.50.16;	author rse;	state Exp;
branches;
next	1.18;
commitid	yMAd2gufZanVgbXs;

1.18
date	2008.01.01.15.03.47;	author rse;	state Exp;
branches;
next	1.17;
commitid	B8esaHJHoduuKILs;

1.17
date	2007.12.25.09.48.19;	author rse;	state Exp;
branches;
next	1.16;
commitid	amydiSccrJTimNKs;

1.16
date	2007.11.18.09.03.08;	author rse;	state Exp;
branches;
next	1.15;
commitid	6jt7xcDpZMyyi2Gs;

1.15
date	2007.10.01.11.46.57;	author rse;	state Exp;
branches;
next	1.14;
commitid	VJbNt7HD88ooKSzs;

1.14
date	2007.05.06.16.22.09;	author cs;	state Exp;
branches;
next	1.13;
commitid	nlAeMpP7PYGL1Tgs;

1.13
date	2007.04.23.16.09.21;	author cs;	state Exp;
branches;
next	1.12;
commitid	m1RV9taum7cindfs;

1.12
date	2007.03.27.16.48.05;	author cs;	state Exp;
branches;
next	1.11;
commitid	WCMQmRTn08TnsKbs;

1.11
date	2007.02.01.17.32.10;	author rse;	state Exp;
branches;
next	1.10;
commitid	7v3pDNMD6mV7rO4s;

1.10
date	2007.01.01.17.41.28;	author rse;	state Exp;
branches;
next	1.9;
commitid	BicZD6VUl7GuqP0s;

1.9
date	2006.11.20.06.34.56;	author rse;	state Exp;
branches;
next	1.8;
commitid	oiHFdyrwMKK89nVr;

1.8
date	2006.10.31.10.47.19;	author rse;	state Exp;
branches;
next	1.7;
commitid	vLg09cItNBZzbPSr;

1.7
date	2006.10.23.09.28.15;	author rse;	state Exp;
branches;
next	1.6;
commitid	hlnDqv5B7kKo0NRr;

1.6
date	2006.10.13.17.33.34;	author thl;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	q5GSxzsSDX29XxQr;

1.5
date	2006.09.23.10.39.56;	author rse;	state Exp;
branches;
next	1.4;
commitid	0nx6d9SwqVXImWNr;

1.4
date	2006.08.28.07.03.57;	author rse;	state Exp;
branches;
next	1.3;
commitid	DkudldG2Q2vu0AKr;

1.3
date	2006.08.27.16.06.13;	author rse;	state Exp;
branches;
next	1.2;
commitid	cLSUlCHESAJv2vKr;

1.2
date	2006.07.15.15.03.05;	author rse;	state Exp;
branches;
next	1.1;
commitid	afrf32BbXpiy4YEr;

1.1
date	2006.05.15.18.43.59;	author rse;	state Exp;
branches;
next	;
commitid	z4buJuwr1P8Uf9xr;

1.6.2.1
date	2006.10.13.17.33.34;	author rse;	state dead;
branches;
next	1.6.2.2;
commitid	iZxwRSmmWscPXUQr;

1.6.2.2
date	2006.10.16.14.55.38;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.22
log
@bump years in copyright messages
@
text
@##
##  redland.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 version
%define       V_raptor           1.4.18
%define       V_rasqal           0.9.16
%define       V_redland          1.0.8

#   package information
Name:         redland
Summary:      Redland RDF Application Framework
URL:          http://librdf.org/
Vendor:       Dave Beckett
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        XML
License:      LGPL/GPL
Version:      %{V_redland}
Release:      20080706

#   list of sources
Source0:      http://download.librdf.org/source/raptor-%{V_raptor}.tar.gz
Source1:      http://download.librdf.org/source/rasqal-%{V_rasqal}.tar.gz
Source2:      http://download.librdf.org/source/redland-%{V_redland}.tar.gz

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130
PreReq:       OpenPKG, openpkg >= 20040130
BuildPreReq:  libxml, libxslt, pcre, openssl, sqlite
PreReq:       libxml, libxslt, pcre, openssl, sqlite
AutoReq:      no
AutoReqProv:  no

%description
    Redland is a set of free software libraries that provide support
    for the Resource Description Framework (RDF). It provides APIs for
    manipulating the RDF graph, triples, URIs and Literals; Parsers
    and Serializers for reading and writing RDF; Storage for graphs.

%track
    prog redland:raptor = {
        version   = %{V_raptor}
        url       = http://librdf.org/
        regex     = raptor-(__VER__)\.tar\.gz
    }
    prog redland:rasqal = {
        version   = %{V_rasqal}
        url       = http://librdf.org/
        regex     = rasqal-(__VER__)\.tar\.gz
    }
    prog redland:redland = {
        version   = %{V_redland}
        url       = http://librdf.org/
        regex     = redland-(__VER__)\.tar\.gz
    }

%prep
    %setup -q -c
    %setup -q -D -T -a 1
    %setup -q -D -T -a 2

%build
    ln -s raptor-%{V_raptor}   raptor
    ln -s rasqal-%{V_rasqal}   rasqal
    ln -s redland-%{V_redland} redland
    ( cd raptor-%{V_raptor}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      ./configure \
          --prefix=%{l_prefix} \
          --mandir=%{l_prefix}/man \
          --datarootdir=%{l_prefix} \
          --includedir=%{l_prefix}/include/redland \
          --with-xml2-config=%{l_prefix}/bin/xml2-config \
          --with-xslt-config=%{l_prefix}/bin/xslt-config \
          --with-xml-parser=libxml \
          --with-www=xml \
          --disable-shared
      %{l_make} %{l_mflags -O}
    ) || exit $?
    ( cd rasqal-%{V_rasqal}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      ./configure \
          --prefix=%{l_prefix} \
          --mandir=%{l_prefix}/man \
          --includedir=%{l_prefix}/include/redland \
          --enable-pcre \
          --with-pcre-config=%{l_prefix}/bin/pcre-config \
          --with-regex-library=pcre \
          --enable-xml2 \
          --with-xml2-config=%{l_prefix}/bin/xml2-config \
          --with-raptor=internal \
          --with-redland=internal \
          --disable-shared
      %{l_make} %{l_mflags -O}
    ) || exit $?
    ( cd redland-%{V_redland}
      for subdir in raptor rasqal; do
          rm -rf $subdir/*
          ( echo "#!/bin/sh"; echo "exit 0" ) >$subdir/configure; chmod a+x $subdir/configure
          ( echo "all:"; echo "install:" ) >$subdir/Makefile
          ln -s ../../$subdir/src $subdir/src
      done
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      RAPTOR_CONFIG="`pwd`/../raptor-%{V_raptor}/src/raptor-config" \
      RASQAL_CONFIG="`pwd`/../rasqal-%{V_rasqal}/src/rasqal-config" \
      ./configure \
          --prefix=%{l_prefix} \
          --mandir=%{l_prefix}/man \
          --includedir=%{l_prefix}/include/redland \
          --enable-release \
          --disable-assertions \
          --with-raptor=internal \
          --with-rasqal=internal \
          --with-openssl-digests \
          --with-sqlite=yes \
          --with-sqlite-version=3 \
          --without-threestore \
          --without-mysql \
          --without-postgresql \
          --disable-shared
      %{l_make} %{l_mflags -O}
    ) || exit $?

%install
    rm -rf $RPM_BUILD_ROOT
    ( cd raptor-%{V_raptor}
      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    ) || exit $?
    ( cd rasqal-%{V_rasqal}
      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    ) || exit $?
    ( cd redland-%{V_redland}
      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    ) || exit $?
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/gtk-doc
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/gtk-doc
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.21
log
@upgrading package: redland 1.0.7 -> 1.0.8
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.20
log
@modifying package: redland-1.0.7 20080330 -> 20080627
@
text
@d26 2
a27 2
%define       V_rasqal           0.9.15
%define       V_redland          1.0.7
d40 1
a40 1
Release:      20080627
@


1.19
log
@modifying package: redland-1.0.7 20080101 -> 20080330
@
text
@d25 1
a25 1
%define       V_raptor           1.4.17
d40 1
a40 1
Release:      20080330
@


1.18
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d25 1
a25 1
%define       V_raptor           1.4.16
d40 1
a40 1
Release:      20080101
@


1.17
log
@upgrading package: redland 1.0.6 -> 1.0.7
@
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/>
d40 1
a40 1
Release:      20071225
@


1.16
log
@modifying package: redland-1.0.6 20071001 -> 20071118
@
text
@d28 1
a28 1
%define       V_redland          1.0.6
d41 1
a41 1
Release:      20071118
d97 1
d114 1
d141 1
d169 1
@


1.15
log
@modifying package: redland-1.0.6 20070506 -> 20071001
@
text
@d27 1
a27 1
%define       V_rasqal           0.9.14
d41 1
a41 1
Release:      20071001
@


1.14
log
@upgrading package: redland 1.0.5 -> 1.0.6
@
text
@d26 1
a26 1
%define       V_raptor           1.4.15
d41 1
a41 1
Release:      20070506
@


1.13
log
@modifying package: redland-1.0.5 20070327 -> 20070423
@
text
@d28 1
a28 1
%define       V_redland          1.0.5
d41 1
a41 1
Release:      20070423
@


1.12
log
@modifying package: redland-1.0.5 20070201 -> 20070327
@
text
@d27 1
a27 1
%define       V_rasqal           0.9.13
d41 1
a41 1
Release:      20070327
@


1.11
log
@modifying package: redland-1.0.5 20061120 -> 20070201
@
text
@d26 1
a26 1
%define       V_raptor           1.4.14
d41 1
a41 1
Release:      20070201
@


1.10
log
@Welcome Year 2007!
@
text
@d26 1
a26 1
%define       V_raptor           1.4.13
d41 1
a41 1
Release:      20061120
@


1.9
log
@upgrading package: redland 1.0.4 -> 1.0.5
@
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.8
log
@modifying package: redland-1.0.4 20061023 -> 20061031
@
text
@d28 1
a28 1
%define       V_redland          1.0.4
d41 1
a41 1
Release:      20061031
@


1.7
log
@modifying package: redland-1.0.4 20061013 -> 20061023
@
text
@d27 1
a27 1
%define       V_rasqal           0.9.12
d41 1
a41 1
Release:      20061023
@


1.6
log
@new world order for "Packager" and "Distribution" headers
@
text
@d26 1
a26 1
%define       V_raptor           1.4.12
d41 1
a41 1
Release:      20061013
@


1.6.2.1
log
@file redland.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:55:38 +0000
@
text
@d1 173
@


1.6.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 173
##
##  redland.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 version
%define       V_raptor           1.4.12
%define       V_rasqal           0.9.12
%define       V_redland          1.0.4

#   package information
Name:         redland
Summary:      Redland RDF Application Framework
URL:          http://librdf.org/
Vendor:       Dave Beckett
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        XML
License:      LGPL/GPL
Version:      %{V_redland}
Release:      2.20061018

#   list of sources
Source0:      http://download.librdf.org/source/raptor-%{V_raptor}.tar.gz
Source1:      http://download.librdf.org/source/rasqal-%{V_rasqal}.tar.gz
Source2:      http://download.librdf.org/source/redland-%{V_redland}.tar.gz

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018
PreReq:       OpenPKG, openpkg >= 2.20061018
BuildPreReq:  libxml, libxslt, pcre, openssl, sqlite
PreReq:       libxml, libxslt, pcre, openssl, sqlite
AutoReq:      no
AutoReqProv:  no

%description
    Redland is a set of free software libraries that provide support
    for the Resource Description Framework (RDF). It provides APIs for
    manipulating the RDF graph, triples, URIs and Literals; Parsers
    and Serializers for reading and writing RDF; Storage for graphs.

%track
    prog redland:raptor = {
        version   = %{V_raptor}
        url       = http://librdf.org/
        regex     = raptor-(__VER__)\.tar\.gz
    }
    prog redland:rasqal = {
        version   = %{V_rasqal}
        url       = http://librdf.org/
        regex     = rasqal-(__VER__)\.tar\.gz
    }
    prog redland:redland = {
        version   = %{V_redland}
        url       = http://librdf.org/
        regex     = redland-(__VER__)\.tar\.gz
    }

%prep
    %setup -q -c
    %setup -q -D -T -a 1
    %setup -q -D -T -a 2

%build
    ln -s raptor-%{V_raptor}   raptor
    ln -s rasqal-%{V_rasqal}   rasqal
    ln -s redland-%{V_redland} redland
    ( cd raptor-%{V_raptor}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      ./configure \
          --prefix=%{l_prefix} \
          --datarootdir=%{l_prefix} \
          --includedir=%{l_prefix}/include/redland \
          --with-xml2-config=%{l_prefix}/bin/xml2-config \
          --with-xslt-config=%{l_prefix}/bin/xslt-config \
          --with-xml-parser=libxml \
          --with-www=xml \
          --disable-shared
      %{l_make} %{l_mflags -O}
    ) || exit $?
    ( cd rasqal-%{V_rasqal}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      ./configure \
          --prefix=%{l_prefix} \
          --includedir=%{l_prefix}/include/redland \
          --enable-pcre \
          --with-pcre-config=%{l_prefix}/bin/pcre-config \
          --with-regex-library=pcre \
          --enable-xml2 \
          --with-xml2-config=%{l_prefix}/bin/xml2-config \
          --with-raptor=internal \
          --with-redland=internal \
          --disable-shared
      %{l_make} %{l_mflags -O}
    ) || exit $?
    ( cd redland-%{V_redland}
      for subdir in raptor rasqal; do
          rm -rf $subdir/*
          ( echo "#!/bin/sh"; echo "exit 0" ) >$subdir/configure; chmod a+x $subdir/configure
          ( echo "all:"; echo "install:" ) >$subdir/Makefile
          ln -s ../../$subdir/src $subdir/src
      done
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      RAPTOR_CONFIG="`pwd`/../raptor-%{V_raptor}/src/raptor-config" \
      RASQAL_CONFIG="`pwd`/../rasqal-%{V_rasqal}/src/rasqal-config" \
      ./configure \
          --prefix=%{l_prefix} \
          --includedir=%{l_prefix}/include/redland \
          --enable-release \
          --disable-assertions \
          --with-raptor=internal \
          --with-rasqal=internal \
          --with-openssl-digests \
          --with-sqlite=yes \
          --with-sqlite-version=3 \
          --without-threestore \
          --without-mysql \
          --without-postgresql \
          --disable-shared
      %{l_make} %{l_mflags -O}
    ) || exit $?

%install
    rm -rf $RPM_BUILD_ROOT
    ( cd raptor-%{V_raptor}
      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    ) || exit $?
    ( cd rasqal-%{V_rasqal}
      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    ) || exit $?
    ( cd redland-%{V_redland}
      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    ) || exit $?
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/gtk-doc
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.5
log
@adjust Group header
@
text
@d35 2
a36 2
Packager:     OpenPKG
Distribution: OpenPKG
d41 1
a41 1
Release:      20060923
@


1.4
log
@modifying package: redland-1.0.4 20060827 -> 20060828
@
text
@d38 1
a38 1
Group:        SGML
d41 1
a41 1
Release:      20060828
@


1.3
log
@modifying package: redland-1.0.4 20060715 -> 20060827
@
text
@d26 1
a26 1
%define       V_raptor           1.4.11
d41 1
a41 1
Release:      20060827
@


1.2
log
@modifying package: redland-1.0.4 20060515 -> 20060715
@
text
@d26 1
a26 1
%define       V_raptor           1.4.10
d41 1
a41 1
Release:      20060715
d97 1
d166 1
a166 1
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/gtk-doc
@


1.1
log
@new package: redland 1.0.4 (Redland RDF Application Framework)
@
text
@d26 1
a26 1
%define       V_raptor           1.4.9
d41 1
a41 1
Release:      20060515
@

