redland-vl.spec 6.7 KB

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