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