soprano-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. Name: soprano
  2. Summary: the Qt/C++ RDF framework
  3. Summary(ja): Qt/C++ RDF フレームワーク
  4. Version: 2.9.4
  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. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: clucene-core-devel >= 2.3.3.4
  12. BuildRequires: cmake
  13. # for backends/sesame2
  14. BuildRequires: java-1.8.0-openjdk-devel
  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. Provides: soprano-backend-sesame2 = %{version}-%{release}
  28. Requires: virtuoso-opensource
  29. %description
  30. Soprano (formerly known as QRDF) is a library which provides a highly
  31. usable object-oriented C++/Qt4 framework for RDF data. It has a modular
  32. structure which allows to replace the actual RDF storage implementation used.
  33. Currently Soprano implements one fully functional backend which is based
  34. on librdf, the Redland RDF Application Framework.
  35. %package devel
  36. Summary: Development files for %{name}
  37. Summary(ja): %{name} の開発用ファイル
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: qt4-devel
  41. Requires: pkgconfig
  42. %description devel
  43. Header files for developing applications using soprano
  44. %prep
  45. %setup -q
  46. %build
  47. mkdir -p %{_target_platform}
  48. pushd %{_target_platform}
  49. %cmake \
  50. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  51. -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` \
  52. -DSOPRANO_BUILD_API_DOCS:BOOL=%{!?apidocs:0}%{?apidocs} \
  53. -DSOPRANO_BUILD_TESTS:BOOL=%{!?tests:FALSE}%{?tests} \
  54. -DSOPRANO_DISABLE_SESAME2_BACKEND:BOOL=ON \
  55. %ifarch x86_64
  56. -DLIB_SUFFIX=64 \
  57. -DQT_QMAKE_EXECUTABLE=%{_libdir}/qt4/bin/qmake \
  58. %endif
  59. ..
  60. popd
  61. make %{?_smp_mflags} -C %{_target_platform}
  62. %install
  63. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  64. make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  65. %clean
  66. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  67. %post -p /sbin/ldconfig
  68. %postun -p /sbin/ldconfig
  69. %files
  70. %defattr(-, root, root)
  71. %doc AUTHORS COPYING COPYING.LIB README
  72. %{_bindir}/*
  73. %{_libdir}/*.so.*
  74. %{_libdir}/soprano
  75. %{_datadir}/dbus-1
  76. %dir %{_datadir}/soprano
  77. %{_datadir}/soprano/plugins
  78. %{_datadir}/soprano/rules
  79. %files devel
  80. %defattr(-, root, root)
  81. %{_libdir}/*.so
  82. %{_libdir}/pkgconfig/*.pc
  83. %{_includedir}/*
  84. %{_datadir}/soprano/cmake
  85. %changelog
  86. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.4-2
  87. - rebuild with gcc-5.4.0
  88. - add BuildRequires: java-1.8.0-openjdk-devel
  89. - remove BuildRequires: java-1.5.0-gcj-devel
  90. * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.4-1
  91. - new upstream release
  92. * Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.3-1
  93. - new upstream release
  94. * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.2-1
  95. - new upstream release
  96. * Sat Jan 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.0-1
  97. - new upstream release
  98. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.0-1
  99. - new upstream release
  100. - remove Patch50 (soprano-2.5.63-rpath.patch)
  101. * Sat Dec 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.4-1
  102. - new upstream release
  103. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.3-1
  104. - new upstream release
  105. - added BR: java-1.5.0-gcj-devel
  106. * Sun Sep 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.1-1
  107. - new upstream release
  108. - built with clucne-core-2.3.3.4
  109. * Fri Aug 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-2
  110. - rebuilt with new raptor2, rasqal and redland
  111. * Sun Aug 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-1
  112. - new upstream release
  113. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.51-1
  114. - new upstream release
  115. * Sat Jun 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  116. - new upstream release
  117. * Mon Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.63-1
  118. - new upstream release
  119. * Sat Jan 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-1
  120. - new upstream release
  121. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.2-1
  122. - new upstream release
  123. - rebuilt with rpm-4.8.1
  124. * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.0-1
  125. - new upstream release
  126. - added Japanese summary
  127. * Sat Jul 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-1
  128. - new upstream release
  129. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1
  130. - new upstream release
  131. * Sat Feb 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-1
  132. - new upstream release
  133. * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0-1
  134. - new upstream release
  135. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-2
  136. - rebuilt with new toolchain
  137. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1
  138. - new upstream release
  139. - moved %%{_datadir}/soprano/{plugins,rules} to main package
  140. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1
  141. - new upstream release
  142. * Mon Feb 9 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.1-1
  143. - new upstream release
  144. * Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2
  145. - added -DQT_QMAKE_EXECUTABLE=... to cmake (if x86_64)
  146. * Sun Aug 31 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.1-1
  147. - new upstream release
  148. * Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.3-2
  149. - added cmake option -DLIB_SUFFIX=64 (if x86_64)
  150. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.3-1
  151. - new upstream release
  152. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.2-0vl1
  153. - new upstream release
  154. * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.99-0vl0.rc2
  155. - initial release for VineSeed