soprano-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. Name: soprano
  2. Summary: the Qt/C++ RDF framework
  3. Summary(ja): Qt/C++ RDF フレームワーク
  4. Version: 2.7.0
  5. Release: 2%{?_dist_release}
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://sourceforge.net/projects/soprano
  9. Source: %{name}-%{version}.tar.bz2
  10. ## upstreamable patches
  11. Patch50: soprano-2.5.63-rpath.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: clucene-core-devel >= 0.9.20
  14. BuildRequires: cmake
  15. # for backends/virtuoso
  16. BuildRequires: libiodbc-devel
  17. BuildRequires: qt4-devel
  18. BuildRequires: raptor2-devel
  19. BuildRequires: rasqal-devel >= 0.9.22
  20. BuildRequires: redland-devel
  21. BuildRequires: doxygen
  22. BuildRequires: graphviz
  23. BuildRequires: qt4-doc
  24. # Requires: redland-virtuoso
  25. Requires: redland
  26. Provides: soprano-backend-virtuoso = %{version}-%{release}
  27. Requires: virtuoso-opensource
  28. %description
  29. Soprano (formerly known as QRDF) is a library which provides a highly
  30. usable object-oriented C++/Qt4 framework for RDF data. It has a modular
  31. structure which allows to replace the actual RDF storage implementation used.
  32. Currently Soprano implements one fully functional backend which is based
  33. on librdf, the Redland RDF Application Framework.
  34. %package devel
  35. Summary: Development files for %{name}
  36. Summary(ja): %{name} の開発用ファイル
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: qt4-devel
  40. Requires: pkgconfig
  41. #Requires: cmake
  42. %description devel
  43. Header files for developing applications using soprano
  44. %prep
  45. %setup -q
  46. %patch50 -p1 -b .rpath
  47. %build
  48. mkdir -p %{_target_platform}
  49. pushd %{_target_platform}
  50. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  51. %cmake \
  52. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  53. -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` \
  54. -DSOPRANO_BUILD_API_DOCS:BOOL=%{!?apidocs:0}%{?apidocs} \
  55. -DSOPRANO_BUILD_TESTS:BOOL=%{!?tests:FALSE}%{?tests} \
  56. %ifarch x86_64
  57. -DLIB_SUFFIX=64 \
  58. -DQT_QMAKE_EXECUTABLE=%{_libdir}/qt4/bin/qmake \
  59. %endif
  60. ..
  61. popd
  62. make %{?_smp_mflags} -C %{_target_platform}
  63. %install
  64. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  65. make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  66. %clean
  67. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  68. %post -p /sbin/ldconfig
  69. %postun -p /sbin/ldconfig
  70. %files
  71. %defattr(-, root, root)
  72. %doc AUTHORS COPYING COPYING.LIB README
  73. %{_bindir}/*
  74. %{_libdir}/*.so.*
  75. %{_libdir}/soprano
  76. %{_datadir}/dbus-1
  77. %dir %{_datadir}/soprano
  78. %{_datadir}/soprano/plugins
  79. %{_datadir}/soprano/rules
  80. %files devel
  81. %defattr(-, root, root)
  82. %{_libdir}/*.so
  83. %{_libdir}/pkgconfig/*.pc
  84. %{_includedir}/*
  85. %{_datadir}/soprano/cmake
  86. %changelog
  87. * Fri Aug 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-2
  88. - rebuilt with new raptor2, rasqal and redland
  89. * Sun Aug 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-1
  90. - new upstream release
  91. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.51-1
  92. - new upstream release
  93. * Sat Jun 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  94. - new upstream release
  95. * Mon Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.63-1
  96. - new upstream release
  97. * Sat Jan 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-1
  98. - new upstream release
  99. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.2-1
  100. - new upstream release
  101. - rebuilt with rpm-4.8.1
  102. * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.0-1
  103. - new upstream release
  104. - added Japanese summary
  105. * Sat Jul 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-1
  106. - new upstream release
  107. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1
  108. - new upstream release
  109. * Sat Feb 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-1
  110. - new upstream release
  111. * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0-1
  112. - new upstream release
  113. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-2
  114. - rebuilt with new toolchain
  115. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1
  116. - new upstream release
  117. - moved %%{_datadir}/soprano/{plugins,rules} to main package
  118. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1
  119. - new upstream release
  120. * Mon Feb 9 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.1-1
  121. - new upstream release
  122. * Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2
  123. - added -DQT_QMAKE_EXECUTABLE=... to cmake (if x86_64)
  124. * Sun Aug 31 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.1-1
  125. - new upstream release
  126. * Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.3-2
  127. - added cmake option -DLIB_SUFFIX=64 (if x86_64)
  128. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.3-1
  129. - new upstream release
  130. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.2-0vl1
  131. - new upstream release
  132. * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.99-0vl0.rc2
  133. - initial release for VineSeed