redland-vl.spec 7.3 KB

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