%define _snap 20070602 Summary: Soprano - Qt wrapper API to librdf Summary(pl.UTF-8): Soprano - wrapper Qt do librdf Name: soprano Version: 0.9.0 Release: 0.%{_snap}.1 License: GPLv2 Group: X11/Applications Source0: %{name}-%{_snap}.tar.bz2 # Source0-md5: 8785c5166b4c36bba29eb943c558c51d URL: http://sourceforge.net/projects/soprano BuildRequires: autoconf BuildRequires: automake BuildRequires: cmake BuildRequires: qt4-build BuildRequires: qt4-qmake BuildRequires: redland-devel BuildRequires: rpmbuild(macros) >= 1.129 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Soprano (formally known as QRDF) is a library which provides a Qt wrapper API to different RDF storage solutions. It features named graphs (contexts) and has a modular plug-in structure which allows to use different RDF storage implementations. %description -l pl.UTF-8 Soprano (wcześniej znane jako QRDF) to biblioteka udostępniająca API wrappera Qt do różnych rozwiązań przechowywania danych RDF. Obsługuje nazwane grafy (konteksty) i ma strukturę modularnych wtyczek, co pozwala na używanie różnych implementacji przechowywania danych RDF. %package devel Summary: Header files for soprano Summary(pl.UTF-8): Pliki nagłówkowe dla soprano Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Header files for soprano. %description devel -l pl.UTF-8 Pliki nagłówkowe dla soprano. %prep %setup -q -n %{name} %build install -d build cd build %cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=1 \ -DQT_QMAKE_EXECUTABLE=%{_bindir}/qt4-qmake \ %if "%{_lib}" == "lib64" -DLIB_SUFFIX=64 \ %endif .. %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libsoprano.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libsoprano.so.3 %dir %{_libdir}/soprano %attr(755,root,root) %{_libdir}/soprano/libsoprano_redlandbackend.so %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libsoprano.so %dir %{_includedir}/soprano %{_includedir}/soprano/*.h