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