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