redland-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. Name: redland
  2. Summary: RDF Application Framework
  3. Version: 1.0.15
  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. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.15-1
  101. - new upstream release
  102. * Fri Aug 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.14-1
  103. - new upstream release
  104. - added mysql, pgsql subpackages
  105. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-6
  106. - rebuilt with rpm-4.8.1
  107. * Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-5
  108. - BuildRequires: libiodbc-devel instead of unixODBC-devel
  109. * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-4
  110. - added Patch50 and 51 from FC
  111. * Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-3
  112. - no_undefined patch
  113. * Sun Jan 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-2
  114. - pkgconfig_requires_private patch
  115. * Thu Feb 11 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.10-3
  116. - rebuilt with rasqal-0.9.17 on ppc
  117. * Sun Feb 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-2
  118. - add BuildRequires: pkgconfig, unixODBC-devel
  119. - add Requires: unixODBC
  120. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-1
  121. - new upstream release
  122. - built with new toolchain, db4-4.8.26
  123. * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-1
  124. - new upstream release
  125. * Thu Oct 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-2
  126. - redland-devel requires {raptor,rasqal}-devel instead of {rapter,rasqal}
  127. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-1
  128. - fix release
  129. - drop .a
  130. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-0vl1
  131. - new upstream release
  132. - drop .la
  133. * Sun May 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.6-0vl1
  134. - initial release for VineSeed
  135. - disable MySQL, postgresql and sqlite
  136. * Sat May 5 2007 Dave Beckett <dave@dajobe.org>
  137. - Add /usr/share/redland/mysql-v1.ttl and /usr/share/redland/mysql-v2.ttl
  138. * Wed Feb 15 2006 Dave Beckett <dave@dajobe.org>
  139. - Require db4-devel
  140. - Disable postgresql for now
  141. * Thu Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  142. - Update Source:
  143. - Do not require python-devel at build time
  144. - Add sqlite-devel build requirement.
  145. - Use %%configure and %%makeinstall
  146. * Thu Jul 21 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  147. - Updated for gtk-doc locations
  148. * Mon Nov 1 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  149. - License now LGPL/Apache 2
  150. - Added LICENSE-2.0.txt and NOTICE
  151. * Mon Jul 19 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  152. - move perl, python packages into redland-bindings
  153. * Mon Jul 12 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  154. - put /usr/share/redland/Redland.i in redland-devel
  155. * Wed May 5 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  156. - require raptor 1.3.0
  157. - require rasqal 0.2.0
  158. * Fri Jan 30 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  159. - require raptor 1.2.0
  160. - update for removal of python distutils
  161. - require python 2.2.0+
  162. - require perl 5.8.0+
  163. - build and require mysql
  164. - do not build and require threestore
  165. * Sun Jan 4 2004 Dave Beckett <dave.beckett@bristol.ac.uk>
  166. - added redland-python package
  167. - export some more docs
  168. * Mon Dec 15 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  169. - require raptor 1.1.0
  170. - require libxml 2.4.0 or newer
  171. - added pkgconfig redland.pc
  172. - split redland/devel package shared libs correctly
  173. * Mon Sep 8 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  174. - require raptor 1.0.0
  175. * Thu Sep 4 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  176. - added rdfproc
  177. * Thu Aug 28 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  178. - patches added post 0.9.13 to fix broken perl UNIVERSAL::isa
  179. * Thu Aug 21 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  180. - Add redland-db-upgrade.1
  181. - Removed duplicate perl CORE shared objects
  182. * Sun Aug 17 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  183. - Updates for new perl module names.
  184. * Tue Apr 22 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  185. - Updated for Redhat 9, RPM 4
  186. * Fri Feb 12 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
  187. - Updated for redland 0.9.12
  188. * Fri Jan 4 2002 Dave Beckett <dave.beckett@bristol.ac.uk>
  189. - Updated for new Perl module names
  190. * Fri Sep 14 2001 Dave Beckett <dave.beckett@bristol.ac.uk>
  191. - Added shared libraries