soprano-vl.spec 5.2 KB

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