soprano-vl.spec 5.3 KB

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