soprano-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Summary: Qt wrapper API to different RDF storage solutions
  2. Name: soprano
  3. Version: 2.4.1
  4. Release: 1%{?_dist_release}
  5. License: LGPLv2+
  6. Group: System Environment/Libraries
  7. Source: %{name}-%{version}.tar.bz2
  8. URL: http://sourceforge.net/projects/soprano
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: cmake
  11. BuildRequires: qt4-devel
  12. BuildRequires: redland-devel
  13. BuildRequires: clucene-core-devel
  14. BuildRequires: raptor-devel
  15. BuildRequires: rasqal-devel
  16. # for backends/virtuoso
  17. BuildRequires: libiodbc-devel
  18. BuildRequires: doxygen
  19. BuildRequires: graphviz
  20. BuildRequires: qt4-doc
  21. Provides: soprano-backend-virtuoso = %{version}-%{release}
  22. Requires: virtuoso-opensource
  23. %description
  24. Soprano (formally known as QRDF) is a library which provides a nice Qt
  25. interface to RDF storage solutions. It has a modular structure which
  26. allows to replace the actual RDF storage implementation used.
  27. Currently Soprano implements one fully functional backend which is based
  28. on librdf, the Redland RDF Application Framework.
  29. %package devel
  30. Summary: Development files for soprano
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: qt4-devel
  34. Requires: cmake
  35. %description devel
  36. Header files for developing applications using soprano
  37. %prep
  38. %setup -q
  39. %build
  40. mkdir -p %{_target_platform}
  41. pushd %{_target_platform}
  42. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  43. %cmake \
  44. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  45. -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` \
  46. -DSOPRANO_BUILD_API_DOCS:BOOL=%{!?apidocs:0}%{?apidocs} \
  47. -DSOPRANO_BUILD_TESTS:BOOL=%{!?tests:FALSE}%{?tests} \
  48. %ifarch x86_64
  49. -DLIB_SUFFIX=64 \
  50. -DQT_QMAKE_EXECUTABLE=%{_libdir}/qt4/bin/qmake \
  51. %endif
  52. ..
  53. popd
  54. make %{?_smp_mflags} -C %{_target_platform}
  55. %install
  56. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  58. # move *.cmake file to cmake default module directory
  59. #mkdir -p $RPM_BUILD_ROOT%{_datadir}/CMake/Modules
  60. #mv $RPM_BUILD_ROOT%{_datadir}/apps/cmake/modules/*.cmake \
  61. # $RPM_BUILD_ROOT%{_datadir}/CMake/Modules
  62. %clean
  63. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  64. %post -p /sbin/ldconfig
  65. %postun -p /sbin/ldconfig
  66. %files
  67. %defattr(-, root, root)
  68. %doc AUTHORS COPYING COPYING.LIB README
  69. %{_bindir}/*
  70. %{_libdir}/*.so.*
  71. %{_libdir}/soprano
  72. %{_datadir}/dbus-1
  73. %dir %{_datadir}/soprano
  74. %{_datadir}/soprano/plugins
  75. %{_datadir}/soprano/rules
  76. %files devel
  77. %defattr(-, root, root)
  78. %{_libdir}/*.so
  79. %{_libdir}/pkgconfig/*.pc
  80. %{_includedir}/*
  81. %{_datadir}/soprano/cmake
  82. %changelog
  83. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1
  84. - new upstream release
  85. * Sat Feb 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-1
  86. - new upstream release
  87. * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0-1
  88. - new upstream release
  89. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-2
  90. - rebuilt with new toolchain
  91. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1
  92. - new upstream release
  93. - moved %%{_datadir}/soprano/{plugins,rules} to main package
  94. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1
  95. - new upstream release
  96. * Mon Feb 9 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.1-1
  97. - new upstream release
  98. * Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2
  99. - added -DQT_QMAKE_EXECUTABLE=... to cmake (if x86_64)
  100. * Sun Aug 31 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.1-1
  101. - new upstream release
  102. * Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.3-2
  103. - added cmake option -DLIB_SUFFIX=64 (if x86_64)
  104. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.3-1
  105. - new upstream release
  106. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.2-0vl1
  107. - new upstream release
  108. * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.99-0vl0.rc2
  109. - initial release for VineSeed