redland-vl.spec 7.1 KB

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