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