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