soprano-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. Name: soprano
  2. Summary: the Qt/C++ RDF framework
  3. Summary(ja): Qt/C++ RDF フレームワーク
  4. Version: 2.9.4
  5. Release: 1%{?_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.5.0-gcj-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. * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.4-1
  87. - new upstream release
  88. * Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.3-1
  89. - new upstream release
  90. * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.2-1
  91. - new upstream release
  92. * Sat Jan 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.0-1
  93. - new upstream release
  94. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.0-1
  95. - new upstream release
  96. - remove Patch50 (soprano-2.5.63-rpath.patch)
  97. * Sat Dec 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.4-1
  98. - new upstream release
  99. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.3-1
  100. - new upstream release
  101. - added BR: java-1.5.0-gcj-devel
  102. * Sun Sep 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.1-1
  103. - new upstream release
  104. - built with clucne-core-2.3.3.4
  105. * Fri Aug 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-2
  106. - rebuilt with new raptor2, rasqal and redland
  107. * Sun Aug 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-1
  108. - new upstream release
  109. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.51-1
  110. - new upstream release
  111. * Sat Jun 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  112. - new upstream release
  113. * Mon Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.63-1
  114. - new upstream release
  115. * Sat Jan 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-1
  116. - new upstream release
  117. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.2-1
  118. - new upstream release
  119. - rebuilt with rpm-4.8.1
  120. * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.0-1
  121. - new upstream release
  122. - added Japanese summary
  123. * Sat Jul 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-1
  124. - new upstream release
  125. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1
  126. - new upstream release
  127. * Sat Feb 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-1
  128. - new upstream release
  129. * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0-1
  130. - new upstream release
  131. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-2
  132. - rebuilt with new toolchain
  133. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1
  134. - new upstream release
  135. - moved %%{_datadir}/soprano/{plugins,rules} to main package
  136. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1
  137. - new upstream release
  138. * Mon Feb 9 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.1-1
  139. - new upstream release
  140. * Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2
  141. - added -DQT_QMAKE_EXECUTABLE=... to cmake (if x86_64)
  142. * Sun Aug 31 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.1-1
  143. - new upstream release
  144. * Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.3-2
  145. - added cmake option -DLIB_SUFFIX=64 (if x86_64)
  146. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.3-1
  147. - new upstream release
  148. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.2-0vl1
  149. - new upstream release
  150. * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.99-0vl0.rc2
  151. - initial release for VineSeed