Name: soprano Summary: the Qt/C++ RDF framework Summary(ja): Qt/C++ RDF フレームワーク Version: 2.5.2 Release: 1%{?_dist_release} License: LGPLv2+ Group: System Environment/Libraries URL: http://sourceforge.net/projects/soprano Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: cmake BuildRequires: qt4-devel BuildRequires: redland-devel BuildRequires: clucene-core-devel BuildRequires: raptor-devel BuildRequires: rasqal-devel # for backends/virtuoso BuildRequires: libiodbc-devel BuildRequires: doxygen BuildRequires: graphviz BuildRequires: qt4-doc Provides: soprano-backend-virtuoso = %{version}-%{release} Requires: virtuoso-opensource %description Soprano (formerly known as QRDF) is a library which provides a highly usable object-oriented C++/Qt4 framework for RDF data. It has a modular structure which allows to replace the actual RDF storage implementation used. Currently Soprano implements one fully functional backend which is based on librdf, the Redland RDF Application Framework. %package devel Summary: Development files for %{name} Summary(ja): %{name} の開発用ファイル集 Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: qt4-devel Requires: cmake %description devel Header files for developing applications using soprano %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} unset QTDIR || : ; . /etc/profile.d/qt4.sh %cmake \ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` \ -DSOPRANO_BUILD_API_DOCS:BOOL=%{!?apidocs:0}%{?apidocs} \ -DSOPRANO_BUILD_TESTS:BOOL=%{!?tests:FALSE}%{?tests} \ %ifarch x86_64 -DLIB_SUFFIX=64 \ -DQT_QMAKE_EXECUTABLE=%{_libdir}/qt4/bin/qmake \ %endif .. popd make %{?_smp_mflags} -C %{_target_platform} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} # move *.cmake file to cmake default module directory #mkdir -p $RPM_BUILD_ROOT%{_datadir}/CMake/Modules #mv $RPM_BUILD_ROOT%{_datadir}/apps/cmake/modules/*.cmake \ # $RPM_BUILD_ROOT%{_datadir}/CMake/Modules %clean [ -n "$RPM_BUILD_ROOT" -a "$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 README %{_bindir}/* %{_libdir}/*.so.* %{_libdir}/soprano %{_datadir}/dbus-1 %dir %{_datadir}/soprano %{_datadir}/soprano/plugins %{_datadir}/soprano/rules %files devel %defattr(-, root, root) %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %{_datadir}/soprano/cmake %changelog * Mon Sep 20 2010 Ryoichi INAGAKI 2.5.2-1 - new upstream release - rebuilt with rpm-4.8.1 * Sun Aug 15 2010 Ryoichi INAGAKI 2.5.0-1 - new upstream release - added Japanese summary * Sat Jul 10 2010 Ryoichi INAGAKI 2.4.4-1 - new upstream release * Sun Mar 14 2010 Ryoichi INAGAKI 2.4.1-1 - new upstream release * Sat Feb 27 2010 Ryoichi INAGAKI 2.4.0.1-1 - new upstream release * Thu Feb 11 2010 Ryoichi INAGAKI 2.4.0-1 - new upstream release * Sat Feb 6 2010 Ryoichi INAGAKI 2.3.1-2 - rebuilt with new toolchain * Mon Oct 19 2009 Ryoichi INAGAKI 2.3.1-1 - new upstream release - moved %%{_datadir}/soprano/{plugins,rules} to main package * Sat Aug 29 2009 Ryoichi INAGAKI 2.3.0-1 - new upstream release * Mon Feb 9 2009 AKIYAMA Kazuhito 2.2.1-1 - new upstream release * Tue Sep 02 2008 Shu KONNO 2.1.1-2 - added -DQT_QMAKE_EXECUTABLE=... to cmake (if x86_64) * Sun Aug 31 2008 AKIYAMA Kazuhito 2.1.1-1 - new upstream release * Wed Aug 27 2008 Shu KONNO 2.0.3-2 - added cmake option -DLIB_SUFFIX=64 (if x86_64) * Sat Mar 29 2008 AKIYAMA Kazuhito 2.0.3-1 - new upstream release * Thu Feb 21 2008 AKIYAMA Kazuhito 2.0.2-0vl1 - new upstream release * Wed Dec 12 2007 AKIYAMA Kazuhito 1.99-0vl0.rc2 - initial release for VineSeed