Name: redland Version: 1.0.17 Release: 34%{?dist} Summary: RDF Application Framework License: LGPL-2.1-or-later OR Apache-2.0 URL: http://librdf.org/ Source0: http://download.librdf.org/source/%{name}-%{version}.tar.gz Patch1: 0001-rhbz-1936659-stub-deprecated.patch BuildRequires: make BuildRequires: curl-devel BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: libtool BuildRequires: libtool-ltdl-devel BuildRequires: libxml2-devel >= 2.4.0 BuildRequires: perl-interpreter BuildRequires: raptor2-devel BuildRequires: rasqal-devel >= 0.9.26 BuildRequires: sqlite-devel %if ! 0%{?rhel} BuildRequires: libpq-devel BuildRequires: mariadb-connector-c-devel %endif %if 0%{?rhel} Obsoletes: redland-mysql < 1.0.17-24 Obsoletes: redland-pgsql < 1.0.17-24 %endif # can probably omit soon (f28 or f29?) -- rex Obsoletes: redland-virtuoso < 1.0.17-8 %description Redland is a library that provides a high-level interface for RDF (Resource Description Framework) implemented in an object-based API. It is modular and supports different RDF/XML parsers, storage mechanisms and other elements. Redland is designed for applications developers to provide RDF support in their applications as well as for RDF developers to experiment with the technology. %package devel Summary: Libraries and header files for programs that use Redland Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files for development with Redland. %if ! 0%{?rhel} %package mysql Summary: MySQL storage support for Redland Requires: %{name}%{?_isa} = %{version}-%{release} %description mysql This package provides Redland's storage support for graphs in memory and persistently with MySQL files or URIs. %package pgsql Summary: PostgreSQL storage support for Redland Requires: %{name}%{?_isa} = %{version}-%{release} %description pgsql This package provides Redland's storage support for graphs in memory and persistently with PostgreSQL files or URIs. %endif %prep %setup -q %if 0%{?rhel} %patch1 -p1 -b .stub-deprecated %endif NOCONFIGURE=1 ./autogen.sh # hack to nuke rpaths %if "%{_libdir}" != "/usr/lib" sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure %endif %build %if 0%{?rhel} %define distrooptions --disable-digests --without-mysql --without-postgresql %else # fedora %define distrooptions --with-mysql --with-postgresql %endif export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure \ --enable-release \ --disable-static \ --with-sqlite \ --without-bdb \ --without-threestone \ --without-virtuoso \ %{distrooptions} \ %make_build %install %make_install #unpackaged files find $RPM_BUILD_ROOT -name \*.la -exec rm -v {} \; %check make check %ldconfig_scriptlets %files %doc AUTHORS NEWS README %doc NOTICE TODO %doc FAQS.html LICENSE.html NEWS.html README.html TODO.html %license COPYING COPYING.LIB LICENSE.txt LICENSE-2.0.txt %{_libdir}/librdf.so.0* %{_bindir}/rdfproc %{_bindir}/redland-db-upgrade %dir %{_datadir}/redland %{_mandir}/man1/redland-db-upgrade.1* %{_mandir}/man1/rdfproc.1* %{_mandir}/man3/redland.3* %dir %{_libdir}/redland %{_libdir}/redland/librdf_storage_sqlite.so %if ! 0%{?rhel} %{_datadir}/redland/mysql-v1.ttl %{_datadir}/redland/mysql-v2.ttl %endif %if ! 0%{?rhel} %files mysql %{_libdir}/redland/librdf_storage_mysql.so %files pgsql %{_libdir}/redland/librdf_storage_postgresql.so %endif %files devel %doc ChangeLog RELEASE.html %{_bindir}/redland-config %{_datadir}/redland/Redland.i %{_datadir}/gtk-doc/ %{_includedir}/redland.h %{_includedir}/librdf.h %{_includedir}/rdf_*.h %{_libdir}/librdf.so %{_libdir}/pkgconfig/redland.pc %{_mandir}/man1/redland-config.1* %changelog * Fri Feb 24 2023 Caolán McNamara - 1.0.17-34 - migrated to SPDX license * Tue Jan 31 2023 Caolán McNamara - 1.0.17-33 - Resolves: rhbz#1788504 drop libdb dependency from redland note: rdfproc -s file of -s sqlite are potentially options * Fri Jan 20 2023 Fedora Release Engineering - 1.0.17-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 30 2022 Caolán McNamara - 1.0.17-31 - rebuild for F38 * Sat Jul 23 2022 Fedora Release Engineering - 1.0.17-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.0.17-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.0.17-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Apr 23 2021 Caolán McNamara - 1.0.7-27 - rhbz#1952816 rdfproc: Failed to open hashes storage * Mon Mar 22 2021 Caolán McNamara - 1.0.7-26 - rhbz#1936659 disable rhel redland digests and stub deprecated librdf_uri_get_digest * Tue Mar 09 2021 Caolán McNamara - 1.0.7-25 - rhbz#1936659 rhel redland uses deprecated SHA-1 algorithm by default * Tue Mar 09 2021 Caolán McNamara - 1.0.7-24 - reduce rhel dependencies to what's needed * Mon Feb 08 2021 Pavel Raiskup - 1.0.17-23 - rebuild for libpq ABI fix rhbz#1908268 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.17-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 29 2020 Than Ngo - 1.0.17-21 - Fix FTBFS in ELN * Wed Jul 29 2020 Fedora Release Engineering - 1.0.17-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.0.17-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.0.17-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.0.17-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.0.17-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 07 2018 Rex Dieter - 1.0.17-15 - BR: gcc-c++, use %%make_build %%make_install %%ldconfig_scriptlets * Fri Feb 09 2018 Fedora Release Engineering - 1.0.17-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Dec 13 2017 Rex Dieter - 1.0.17-13 - drop depcrecated virtuoso references - Use mariadb-connector-c-devel (#1493694) * Thu Aug 03 2017 Fedora Release Engineering - 1.0.17-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0.17-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jul 13 2017 Rex Dieter - 1.0.17-10 - .spec cosmetics, rebuild (mariadb) * Sat Feb 11 2017 Fedora Release Engineering - 1.0.17-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Dec 21 2016 Stephen Gallagher - 1.0.17-8 - Add BuildRequires: perl * Fri Feb 26 2016 Rex Dieter 1.0.17-7 - Obsoletes: redland-virutoso (f24+) * Sat Feb 20 2016 Rex Dieter 1.0.17-6 - disable virtuoso support f24+ * Thu Feb 04 2016 Fedora Release Engineering - 1.0.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.0.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.0.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Mar 04 2014 Rex Dieter 1.0.17-1 - 1.0.17 * Sun Aug 04 2013 Fedora Release Engineering - 1.0.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue May 28 2013 Lukáš Tinkl 1.0.16-3 - use -fno-strict-aliasing * Tue Mar 26 2013 Rex Dieter 1.0.16-2 - rdfproc: Failed to open hashes storage (#914634) * Tue Feb 19 2013 Rex Dieter 1.0.16-1 - 1.0.16 * Thu Feb 14 2013 Fedora Release Engineering - 1.0.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Mar 05 2012 Rex Dieter 1.0.15-1 - 1.0.15 * Sat Jan 14 2012 Fedora Release Engineering - 1.0.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Jul 23 2011 Rex Dieter 1.0.14-1 - 1.0.14 * Wed Mar 23 2011 Rex Dieter 1.0.12-3 - rebuild (mysql) * Wed Feb 09 2011 Fedora Release Engineering - 1.0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Oct 14 2010 Orcan Ogetbil - 1.0.12-1 - Update to 1.0.12 * Sun Oct 03 2010 Orcan Ogetbil - 1.0.11-1 - Update to 1.0.11 * Wed Sep 29 2010 jkeating - 1.0.10-8 - Rebuilt for gcc bug 634757 * Sat Sep 11 2010 Orcan Ogetbil - 1.0.10-7 - Don't require gtk-doc RHBZ#604414 * Wed Jun 09 2010 Orcan Ogetbil - 1.0.10-6 - Separate the Virtuoso plugin into its own subpackage * Sat May 08 2010 Orcan Ogetbil - 1.0.10-5 - Separate the MySQL and PostgreSQL plugins into their own subpackages * Sat Feb 13 2010 Orcan Ogetbil - 1.0.10-4 - Fix DSO linking error RHBZ#564859 - Link to our own libltdl * Mon Jan 04 2010 Rex Dieter - 1.0.10-3 - no_undefined patch * Sun Jan 03 2010 Rex Dieter - 1.0.10-2 - pkgconfig_requires_private patch * Sun Jan 03 2010 Rex Dieter - 1.0.10-1 - redland-1.0.10 * Tue Nov 24 2009 Caolán McNamara - 1.0.7-10.2 - Resolves: rhbz#540519 Rebuild against db4-4.8 * Fri Aug 28 2009 Rex Dieter 1.0.7-10.1 - temporarily drop mysql support (restore once mysql is unbroken in rawhide) * Thu Aug 27 2009 Rex Dieter 1.0.7-10 - fix build with newer sqlite (#519781) * Fri Aug 21 2009 Tomas Mraz - 1.0.7-9 - rebuilt with new openssl * Sun Jul 26 2009 Fedora Release Engineering - 1.0.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri May 01 2009 Rex Dieter - 1.0.7-7 - slighgly less ugly rpath hack - cleanup %%files * Wed Feb 25 2009 Fedora Release Engineering - 1.0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jan 22 2009 Rex Dieter 1.0.7-5 - respin (mysql) * Fri Jan 16 2009 Kevin Kofler 1.0.7-4 - rebuild for new OpenSSL * Sun Nov 23 2008 Thomas Vander Stichele - 1.0.7-3 - updated summary - not rebuilt yet * Thu Jul 10 2008 Tom "spot" Callaway 1.0.7-2 - rebuild for db4-4.7 * Sat Feb 09 2008 Kevin Kofler 1.0.7-1 - update to 1.0.7 - update minimum raptor and rasqal versions * Tue Dec 04 2007 Rex Dieter 1.0.6-3 - respin for openssl * Tue Oct 16 2007 Kevin Kofler 1.0.6-2 - fix unpackaged files and unowned directory * Tue Oct 16 2007 Kevin Kofler 1.0.6-1 - update to 1.0.6 (for Soprano 2, also some bugfixes) - update minimum raptor and rasqal versions - drop sed hacks for dependency bloat (#248106), fixed upstream * Wed Aug 22 2007 Rex Dieter 1.0.5-6 - respin (BuildID) * Fri Aug 3 2007 Kevin Kofler 1.0.5-5 - specify LGPL version in License tag * Sat Jul 14 2007 Kevin Kofler 1.0.5-4 - get rid of redland-config dependency bloat too (#248106) * Sat Jul 14 2007 Kevin Kofler 1.0.5-3 - fix bug number in changelog * Sat Jul 14 2007 Kevin Kofler 1.0.5-2 - add missing Requires: pkgconfig to the -devel package - get rid of pkgconfig dependency bloat (#248106) * Thu Jun 28 2007 Kevin Kofler 1.0.5-1 - update to 1.0.5 (1.0.6 needs newer raptor and rasqal than available) - update minimum raptor version * Fri Dec 15 2006 Thomas Vander Stichele - 1.0.4-3 - use DESTDIR * Sat Jun 17 2006 Thomas Vander Stichele - 1.0.4-2 - fixed x86_64 rpath issue with an ugly hack - removed OPTIMIZE from make invocation - added smp flags - added make check - updated license * Sun May 14 2006 Thomas Vander Stichele - 1.0.4-1 - update to new release, needs later raptor - remove patch * Sat Apr 08 2006 Thomas Vander Stichele - 1.0.3-1 - update to latest release - include patch for fclose() double-free * Sat Apr 08 2006 Thomas Vander Stichele - 1.0.2-1 - package for Fedora Extras * Wed Feb 15 2006 Dave Beckett - Require db4-devel * Thu Aug 11 2005 Dave Beckett - Update Source: - Do not require python-devel at build time - Add sqlite-devel build requirement. - Use configure and makeinstall * Thu Jul 21 2005 Dave Beckett - Updated for gtk-doc locations * Mon Nov 1 2004 Dave Beckett - License now LGPL/Apache 2 - Added LICENSE-2.0.txt and NOTICE * Mon Jul 19 2004 Dave Beckett - move perl, python packages into redland-bindings * Mon Jul 12 2004 Dave Beckett - put /usr/share/redland/Redland.i in redland-devel * Wed May 5 2004 Dave Beckett - require raptor 1.3.0 - require rasqal 0.2.0 * Fri Jan 30 2004 Dave Beckett - require raptor 1.2.0 - update for removal of python distutils - require python 2.2.0+ - require perl 5.8.0+ - build and require mysql - do not build and require threestore * Sun Jan 4 2004 Dave Beckett - added redland-python package - export some more docs * Mon Dec 15 2003 Dave Beckett - require raptor 1.1.0 - require libxml 2.4.0 or newer - added pkgconfig redland.pc - split redland/devel package shared libs correctly * Mon Sep 8 2003 Dave Beckett - require raptor 1.0.0 * Thu Sep 4 2003 Dave Beckett - added rdfproc * Thu Aug 28 2003 Dave Beckett - patches added post 0.9.13 to fix broken perl UNIVERSAL::isa * Thu Aug 21 2003 Dave Beckett - Add redland-db-upgrade.1 - Removed duplicate perl CORE shared objects * Sun Aug 17 2003 Dave Beckett - Updates for new perl module names. * Tue Apr 22 2003 Dave Beckett - Updated for Redhat 9, RPM 4 * Wed Feb 12 2003 Dave Beckett - Updated for redland 0.9.12 * Fri Jan 4 2002 Dave Beckett - Updated for new Perl module names * Fri Sep 14 2001 Dave Beckett - Added shared libraries