soprano-vl.spec 4.4 KB

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