redland-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. Name: redland
  2. Summary: RDF Application Framework
  3. Summary(ja): RDF アプリケーションフレームワーク
  4. Version: 1.0.17
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+ or ASL 2.0
  7. Group: System Environment/Libraries
  8. URL: http://librdf.org/
  9. Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: curl-devel
  12. BuildRequires: libdb-devel
  13. BuildRequires: libiodbc-devel
  14. BuildRequires: libtool-ltdl-devel
  15. BuildRequires: libmysqlclient-devel
  16. BuildRequires: libpq-devel
  17. BuildRequires: libxml2-devel >= 2.4.0
  18. BuildRequires: raptor2-devel >= 2.0.7
  19. BuildRequires: rasqal-devel >= 0.9.25
  20. BuildRequires: sqlite3-devel
  21. BuildRequires: virtuoso-opensource
  22. %description
  23. Redland is a library that provides a high-level interface for RDF
  24. (Resource Description Framework) implemented in an object-based API.
  25. It is modular and supports different RDF parsers, serializers,
  26. storage and query languages. Redland is designed for developers to
  27. provide RDF support in their applications as well as a core library
  28. for RDF developers to start with.
  29. %package mysql
  30. Summary: MySQL storage support for Redland
  31. Group: System Environment/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: raptor2-devel >= 2.0.7
  34. Requires: rasqal-devel >= 0.9.25
  35. %description mysql
  36. This package provides Redland's storage support for graphs in memory and
  37. persistently with MySQL files or URIs.
  38. %package pgsql
  39. Summary: PostgreSQL storage support for Redland
  40. Group: System Environment/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. %description pgsql
  43. This package provides Redland's storage support for graphs in memory and
  44. persistently with PostgreSQL files or URIs.
  45. %package devel
  46. Summary: Libraries and header files for programs that use Redland.
  47. Group: Development/Libraries
  48. Requires: %{name} = %{version}-%{release}
  49. %description devel
  50. Header files for development with Redland
  51. %prep
  52. %setup -q
  53. # hack to nuke rpaths
  54. %if "%{_libdir}" != "/usr/lib"
  55. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  56. %endif
  57. %build
  58. %configure \
  59. --disable-static \
  60. --enable-release \
  61. --enable-silent-rules \
  62. --with-bdb=%{_prefix} \
  63. --with-bdb-lib=%{_libdir} \
  64. --with-bdb-include=%{_includedir} \
  65. --with-bdb-dbname=db
  66. make %{?_smp_mflags}
  67. %install
  68. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  69. make install DESTDIR=$RPM_BUILD_ROOT
  70. #unpackaged files
  71. find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
  72. %clean
  73. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  74. %post -p /sbin/ldconfig
  75. %postun -p /sbin/ldconfig
  76. %files
  77. %defattr(-, root, root)
  78. %doc AUTHORS COPYING COPYING.LIB LICENSE.txt NEWS README
  79. %doc LICENSE-2.0.txt NOTICE TODO
  80. %doc FAQS.html LICENSE.html NEWS.html README.html TODO.html
  81. %{_bindir}/rdfproc
  82. %{_bindir}/redland-db-upgrade
  83. %{_libdir}/librdf.so.*
  84. %dir %{_libdir}/redland
  85. %{_libdir}/redland/librdf_storage_sqlite.so
  86. %{_libdir}/redland/librdf_storage_virtuoso.so
  87. %{_datadir}/redland/mysql-v1.ttl
  88. %{_datadir}/redland/mysql-v2.ttl
  89. %{_mandir}/man1/rdfproc.1*
  90. %{_mandir}/man1/redland-db-upgrade.1*
  91. %{_mandir}/man3/redland.3*
  92. %files mysql
  93. %defattr(-,root,root,-)
  94. %{_libdir}/redland/librdf_storage_mysql.so
  95. %files pgsql
  96. %defattr(-,root,root,-)
  97. %{_libdir}/redland/librdf_storage_postgresql.so
  98. %files devel
  99. %defattr(-, root, root)
  100. %doc ChangeLog RELEASE.html
  101. %doc %{_datadir}/gtk-doc/html
  102. %{_bindir}/redland-config
  103. %{_libdir}/librdf*.so
  104. %{_libdir}/pkgconfig/redland.pc
  105. %{_datadir}/%{name}/Redland.i
  106. %{_includedir}/redland.h
  107. %{_includedir}/librdf.h
  108. %{_includedir}/rdf_*.h
  109. %{_mandir}/man1/redland-config.1*
  110. %changelog
  111. * Sat Sep 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.0.17-1
  112. - updated to 1.0.17
  113. - updated BuildRequires
  114. * Sat Jan 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.16-1
  115. - new upstream release
  116. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.15-1
  117. - new upstream release
  118. * Fri Aug 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.14-1
  119. - new upstream release
  120. - added mysql, pgsql subpackages
  121. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-6
  122. - rebuilt with rpm-4.8.1
  123. * Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-5
  124. - BuildRequires: libiodbc-devel instead of unixODBC-devel
  125. * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-4
  126. - added Patch50 and 51 from FC
  127. * Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-3
  128. - no_undefined patch
  129. * Sun Jan 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-2
  130. - pkgconfig_requires_private patch
  131. * Thu Feb 11 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.10-3
  132. - rebuilt with rasqal-0.9.17 on ppc
  133. * Sun Feb 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-2
  134. - add BuildRequires: pkgconfig, unixODBC-devel
  135. - add Requires: unixODBC
  136. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-1
  137. - new upstream release
  138. - built with new toolchain, db4-4.8.26
  139. * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-1
  140. - new upstream release
  141. * Thu Oct 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-2
  142. - redland-devel requires {raptor,rasqal}-devel instead of {rapter,rasqal}
  143. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-1
  144. - fix release
  145. - drop .a
  146. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-0vl1
  147. - new upstream release
  148. - drop .la
  149. * Sun May 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.6-0vl1
  150. - initial release for VineSeed
  151. - disable MySQL, postgresql and sqlite
  152. * Sat May 5 2007 Dave Beckett <dave@dajobe.org>
  153. - Add /usr/share/redland/mysql-v1.ttl and /usr/share/redland/mysql-v2.ttl
  154. * Wed Feb 15 2006 Dave Beckett <dave@dajobe.org>
  155. - Require db4-devel
  156. - Disable postgresql for now
  157. * Thu Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  158. - Update Source:
  159. - Do not require python-devel at build time
  160. - Add sqlite-devel build requirement.
  161. - Use %%configure and %%makeinstall
  162. * Thu Jul 21 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  163. - Updated for gtk-doc locations
  164. * Mon Nov 1 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  165. - License now LGPL/Apache 2
  166. - Added LICENSE-2.0.txt and NOTICE
  167. * Mon Jul 19 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  168. - move perl, python packages into redland-bindings
  169. * Mon Jul 12 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  170. - put /usr/share/redland/Redland.i in redland-devel
  171. * Wed May 5 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  172. - require raptor 1.3.0
  173. - require rasqal 0.2.0
  174. * Fri Jan 30 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  175. - require raptor 1.2.0
  176. - update for removal of python distutils
  177. - require python 2.2.0+
  178. - require perl 5.8.0+
  179. - build and require mysql
  180. - do not build and require threestore
  181. * Sun Jan 4 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  182. - added redland-python package
  183. - export some more docs
  184. * Mon Dec 15 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  185. - require raptor 1.1.0
  186. - require libxml 2.4.0 or newer
  187. - added pkgconfig redland.pc
  188. - split redland/devel package shared libs correctly
  189. * Mon Sep 8 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  190. - require raptor 1.0.0
  191. * Thu Sep 4 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  192. - added rdfproc
  193. * Thu Aug 28 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  194. - patches added post 0.9.13 to fix broken perl UNIVERSAL::isa
  195. * Thu Aug 21 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  196. - Add redland-db-upgrade.1
  197. - Removed duplicate perl CORE shared objects
  198. * Sun Aug 17 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  199. - Updates for new perl module names.
  200. * Tue Apr 22 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  201. - Updated for Redhat 9, RPM 4
  202. * Wed Feb 12 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  203. - Updated for redland 0.9.12
  204. * Fri Jan 4 2002 Dave Beckett <dave.beckett@bristol.ac.uk>
  205. - Updated for new Perl module names
  206. * Fri Sep 14 2001 Dave Beckett <dave.beckett@bristol.ac.uk>
  207. - Added shared libraries