Summary: Redland RDF Application Framework Name: redland Version: 1.0.10 Release: 6%{?_dist_release} Group: System Environment/Libraries License: LGPL/Apache 2 URL: http://librdf.org/ Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz Patch50: redland-1.0.10-pkgconfig_requires_private.patch Patch51: redland-1.0.10-no_undefined.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: curl-devel BuildRequires: db4-devel BuildRequires: libxml2-devel >= 2.4.0 BuildRequires: raptor-devel >= 1.4.17 BuildRequires: rasqal-devel >= 0.9.16 BuildRequires: perl >= 5.8.0 BuildRequires: pkgconfig BuildRequires: libiodbc-devel Requires: raptor >= 1.4.17 Requires: rasqal >= 0.9.16 %description Redland is a library that provides a high-level interface for RDF (Resource Description Framework) implemented in an object-based API. It is modular and supports different RDF parsers, serializers, storage and query languages. Redland is designed for developers to provide RDF support in their applications as well as a core library for RDF developers to start with. %package devel Summary: Libraries and header files for programs that use Redland. Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: raptor-devel >= 1.4.17 Requires: rasqal-devel >= 0.9.16 %description devel Header files for development with Redland %prep %setup -q %patch50 -p1 -b .pkgconfig_requires_private %patch51 -p1 -b .no_undefined # hack to nuke rpaths %if "%{_libdir}" != "/usr/lib" sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure %endif %build # Force use of default python even if 2.0 is present PYTHON=python export PYTHON %configure --enable-release \ --with-raptor=system \ --with-rasqal=system \ --with-threestore=no \ --with-mysql=no \ --with-sqlite=no \ --with-postgresql=no \ --disable-static %{__make} OPTIMIZE="$RPM_OPT_FLAGS" %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %makeinstall find $RPM_BUILD_ROOT -print | xargs chmod u+w rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/redland/*.la %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README %doc LICENSE-2.0.txt NOTICE %doc *.html %{_libdir}/librdf*.so.* %dir %{_libdir}/redland %{_libdir}/redland/*.so %{_bindir}/rdfproc %{_bindir}/redland-db-upgrade %{_mandir}/man1/rdfproc.1* %{_mandir}/man1/redland-db-upgrade.1* %{_mandir}/man3/redland.3* %files devel %defattr(-, root, root) %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README %doc LICENSE-2.0.txt NOTICE %doc docs/README.html %doc %{_datadir}/gtk-doc/html %{_bindir}/redland-config %{_libdir}/librdf*.so %{_libdir}/pkgconfig/redland.pc %{_datadir}/%{name}/Redland.i %{_includedir}/redland.h %{_includedir}/librdf.h %{_includedir}/rdf_*.h %{_mandir}/man1/redland-config.1* %changelog * Mon Sep 20 2010 Ryoichi INAGAKI - 1.0.10-6 - rebuilt with rpm-4.8.1 * Mon Apr 12 2010 Ryoichi INAGAKI - 1.0.10-5 - BuildRequires: libiodbc-devel instead of unixODBC-devel * Thu Feb 11 2010 Ryoichi INAGAKI - 1.0.10-4 - added Patch50 and 51 from FC * Mon Jan 04 2010 Rex Dieter - 1.0.10-3 - no_undefined patch * Sun Jan 03 2010 Rex Dieter - 1.0.10-2 - pkgconfig_requires_private patch * Thu Feb 11 2010 MATSUBAYASHI Kohji - 1.0.10-3 - rebuilt with rasqal-0.9.17 on ppc * Sun Feb 07 2010 Yoji TOYODA 1.0.10-2 - add BuildRequires: pkgconfig, unixODBC-devel - add Requires: unixODBC * Sat Feb 6 2010 Ryoichi INAGAKI 1.0.10-1 - new upstream release - built with new toolchain, db4-4.8.26 * Wed Aug 26 2009 Ryoichi INAGAKI 1.0.9-1 - new upstream release * Thu Oct 30 2008 Daisuke SUZUKI 1.0.7-2 - redland-devel requires {raptor,rasqal}-devel instead of {rapter,rasqal} * Sat Mar 29 2008 AKIYAMA Kazuhito 1.0.7-1 - fix release - drop .a * Thu Feb 21 2008 AKIYAMA Kazuhito 1.0.7-0vl1 - new upstream release - drop .la * Sun May 20 2007 AKIYAMA Kazuhito 1.0.6-0vl1 - initial release for VineSeed - disable MySQL, postgresql and sqlite * Sat May 5 2007 Dave Beckett - Add /usr/share/redland/mysql-v1.ttl and /usr/share/redland/mysql-v2.ttl * Wed Feb 15 2006 Dave Beckett - Require db4-devel - Disable postgresql for now * Thu Aug 11 2005 Dave Beckett - Update Source: - Do not require python-devel at build time - Add sqlite-devel build requirement. - Use %%configure and %%makeinstall * Thu Jul 21 2005 Dave Beckett - Updated for gtk-doc locations * Mon Nov 1 2004 Dave Beckett - License now LGPL/Apache 2 - Added LICENSE-2.0.txt and NOTICE * Mon Jul 19 2004 Dave Beckett - move perl, python packages into redland-bindings * Mon Jul 12 2004 Dave Beckett - put /usr/share/redland/Redland.i in redland-devel * Wed May 5 2004 Dave Beckett - require raptor 1.3.0 - require rasqal 0.2.0 * Fri Jan 30 2004 Dave Beckett - require raptor 1.2.0 - update for removal of python distutils - require python 2.2.0+ - require perl 5.8.0+ - build and require mysql - do not build and require threestore * Sun Jan 4 2004 Dave Beckett - added redland-python package - export some more docs * Mon Dec 15 2003 Dave Beckett - require raptor 1.1.0 - require libxml 2.4.0 or newer - added pkgconfig redland.pc - split redland/devel package shared libs correctly * Mon Sep 8 2003 Dave Beckett - require raptor 1.0.0 * Thu Sep 4 2003 Dave Beckett - added rdfproc * Thu Aug 28 2003 Dave Beckett - patches added post 0.9.13 to fix broken perl UNIVERSAL::isa * Thu Aug 21 2003 Dave Beckett - Add redland-db-upgrade.1 - Removed duplicate perl CORE shared objects * Sun Aug 17 2003 Dave Beckett - Updates for new perl module names. * Tue Apr 22 2003 Dave Beckett - Updated for Redhat 9, RPM 4 * Fri Feb 12 2003 Dave Beckett - Updated for redland 0.9.12 * Fri Jan 4 2002 Dave Beckett - Updated for new Perl module names * Fri Sep 14 2001 Dave Beckett - Added shared libraries