redland-vl.spec 6.8 KB

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