libbonobo-vl.spec 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. %define dbus_version 1.4.0
  2. %define dbus_glib_version 0.88
  3. %define libxml2_version 2.7.7
  4. %define orbit2_version 2.14.19
  5. %define po_package libbonobo-2.0
  6. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  7. Summary: Bonobo component system
  8. Summary(ja): Bonobo コンポーネントシステム
  9. Name: libbonobo
  10. Version: 2.32.1
  11. Release: 1%{?_dist_release}
  12. URL: http://ftp.gnome.org/
  13. Source0: %{name}-%{version}.tar.bz2
  14. Patch10: %{name}-2.14.0-i18n-help.patch
  15. License: LGPL
  16. Group: System Environment/Libraries
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: libxml2-devel >= %{libxml2_version}
  19. BuildRequires: ORBit2-devel >= %{orbit2_version}
  20. BuildRequires: dbus-devel >= %{dbus_version}
  21. BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
  22. BuildRequires: popt-devel
  23. BuildRequires: flex
  24. BuildRequires: byacc
  25. Obsoletes: bonobo-activation
  26. Provides: bonobo-activation
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. %description
  30. Bonobo is a component system based on CORBA, used by the GNOME desktop.
  31. %description -l ja
  32. Bonobo は GNUME デスクトップで使われている CORBA ベースのコンポーネント
  33. システムです。
  34. %package devel
  35. Summary: Libraries and headers for libbonobo
  36. Summary: libbonobo のライブラリおよびヘッダ
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: ORBit2-devel >= %{orbit2_version}
  40. Requires: libxml2-devel >= %{libxml2_version}
  41. Obsoletes: bonobo-activation-devel
  42. Provides: bonobo-activation-devel
  43. Conflicts: bonobo-devel < 1.0.8
  44. %description devel
  45. Bonobo is a component system based on CORBA, used by the GNOME desktop.
  46. This package contains header files used to compile programs that
  47. use Bonobo.
  48. %description devel -l ja
  49. Bonobo は GNOME デスクトップで使われている CORBA ベースのコンポーネント
  50. システムです。
  51. このパッケージは Bonobo を使うプログラムをコンパイルするために必要な
  52. ヘッダファイルが収録されています。
  53. # compat32
  54. %package -n compat32-%{name}
  55. Summary: Bonobo component system
  56. Summary(ja): Bonobo コンポーネントシステム
  57. Group: System Environment/Libraries
  58. Requires: %{name} = %{version}-%{release}
  59. %description -n compat32-%{name}
  60. Bonobo is a component system based on CORBA, used by the GNOME desktop.
  61. %description -n compat32-%{name} -l ja
  62. Bonobo は GNUME デスクトップで使われている CORBA ベースのコンポーネント
  63. システムです。
  64. %package -n compat32-%{name}-devel
  65. Summary: Libraries and headers for libbonobo
  66. Summary: libbonobo のライブラリおよびヘッダ
  67. Group: Development/Libraries
  68. Requires: %{name}-devel = %{version}-%{release}
  69. Requires: compat32-%{name} = %{version}-%{release}
  70. Requires: compat32-ORBit2-devel >= %{orbit2_version}
  71. Requires: compat32-libxml2-devel >= %{libxml2_version}
  72. %description -n compat32-%{name}-devel
  73. Bonobo is a component system based on CORBA, used by the GNOME desktop.
  74. This package contains header files used to compile programs that
  75. use Bonobo.
  76. %description -n compat32-%{name}-devel -l ja
  77. Bonobo は GNOME デスクトップで使われている CORBA ベースのコンポーネント
  78. システムです。
  79. このパッケージは Bonobo を使うプログラムをコンパイルするために必要な
  80. ヘッダファイルが収録されています。
  81. %prep
  82. %setup -q -n %{name}-%{version}
  83. #patch1 -p1 -b .env-leak
  84. %patch10 -p1 -b .i18n-help
  85. %build
  86. %configure --disable-static
  87. make
  88. %install
  89. rm -rf $RPM_BUILD_ROOT
  90. %makeinstall
  91. ## just kill this wherever it lives
  92. rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo-2.0/samples/bonobo-echo-2
  93. rm -f $RPM_BUILD_ROOT%{_prefix}/lib/bonobo-2.0/samples/bonobo-echo-2
  94. ## kill other stuff
  95. rm $RPM_BUILD_ROOT%{_bindir}/echo-client-2
  96. rm $RPM_BUILD_ROOT%{_libdir}/*.la
  97. rm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.*a
  98. rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.*a
  99. %find_lang %{po_package}
  100. %clean
  101. rm -rf $RPM_BUILD_ROOT
  102. %post -p /sbin/ldconfig
  103. %postun -p /sbin/ldconfig
  104. %post -n compat32-%{name} -p /sbin/ldconfig
  105. %postun -n compat32-%{name} -p /sbin/ldconfig
  106. %files -f %{po_package}.lang
  107. %defattr(-,root,root)
  108. %doc AUTHORS COPYING ChangeLog NEWS README
  109. %{_libdir}/lib*.so.*
  110. %{_libdir}/bonobo
  111. %{_libdir}/orbit-2.0/*.so*
  112. %{_bindir}*
  113. %{_libexecdir}/*
  114. %{_sbindir}/*
  115. %dir %{_sysconfdir}/bonobo-activation
  116. %config %{_sysconfdir}/bonobo-activation/*
  117. %{_mandir}/man*/*
  118. %files devel
  119. %defattr(-,root,root)
  120. #{_libdir}/lib*.a
  121. %{_libdir}/lib*.so
  122. %{_libdir}/pkgconfig/*.pc
  123. %{_includedir}/*
  124. %{_datadir}/idl
  125. %{_datadir}/gtk-doc
  126. # compat32
  127. %if %{build_compat32}
  128. %files -n compat32-%{name}
  129. %defattr(-,root,root)
  130. %{_libdir}/lib*.so.*
  131. %{_libdir}/bonobo
  132. %{_libdir}/orbit-2.0/*.so*
  133. %files -n compat32-%{name}-devel
  134. %defattr(-,root,root)
  135. #{_libdir}/lib*.a
  136. %{_libdir}/lib*.so
  137. %{_libdir}/pkgconfig/*.pc
  138. %endif
  139. %changelog
  140. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  141. - new upstream release
  142. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  143. - new upstream release
  144. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.24.3-2
  145. - build with rpm-4.8.1-1 for pkg-config file
  146. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.3-1
  147. - new upstream release
  148. - add BuildRequires: dbus-devel, dbus-glib-devel, popt-devel, flex, byacc
  149. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.2-1
  150. - new upstream release
  151. * Sun Jul 19 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.24.1-2
  152. - added --disable-static configure option
  153. - added compat32 package for x86_64 arch support
  154. * Fri Mar 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  155. - new upstream release
  156. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  157. - new upstream release
  158. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.3-0vl1
  159. - new upstream release
  160. * Sat Nov 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
  161. - new upstream release
  162. * Mon Apr 30 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl2
  163. - add upstream patch1
  164. * Tue Apr 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  165. - new upstream release
  166. * Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl3
  167. - update Patch0 to fix more help message translation.
  168. * Fri May 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2
  169. - add bindtextdomain_codeset in bonobo-activation initialize
  170. to fix corruption of help option message.(Patch0)
  171. * Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  172. - new upstream release
  173. * Sun Mar 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.1-0vl1
  174. - new upstream release
  175. * Wed Aug 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
  176. - new upstream release
  177. * Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  178. - new upstream release
  179. * Wed Mar 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl2
  180. - new upstream release
  181. * Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  182. - new upstream release
  183. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  184. - new upstream release
  185. * Sat Jan 31 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.3-0vl1
  186. - new upstream release
  187. * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1
  188. - new upstream release
  189. - rebuild with new toolchains
  190. * Fri Oct 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.1-0vl1
  191. - new upstream release
  192. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  193. - new upstream release
  194. * Wed Aug 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl1
  195. - new upstream release
  196. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  197. - new upstream release
  198. * Fri Apr 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  199. - new upstream release
  200. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  201. - new upstream release
  202. * Sat Dec 14 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.0-0vl1
  203. - build for Vine Linux
  204. * Wed Jun 26 2002 Owen Taylor <otaylor@redhat.com>
  205. - Fix find_lang
  206. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  207. - rebuild in different environment
  208. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  209. - 2.0.0
  210. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  211. - automated rebuild
  212. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  213. - rebuild in different environment
  214. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  215. - 1.117.0
  216. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  217. - 1.116.0
  218. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  219. - 1.113.0
  220. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  221. - 1.111.0
  222. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  223. - Version 1.110.0
  224. - Rebuild for dependencies
  225. - Intltoolize, the included version has problems with our Perl
  226. * Tue Jan 22 2002 Havoc Pennington <hp@redhat.com>
  227. - automake-1.4
  228. * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
  229. - 1.108.0.90 cvs snap
  230. * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
  231. - 1.107.0, glib 1.3.11
  232. * Fri Oct 26 2001 Havoc Pennington <hp@redhat.com>
  233. - rebuild for new glib, new snap
  234. * Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
  235. - rebuild for new glib
  236. * Thu Sep 27 2001 Havoc Pennington <hp@redhat.com>
  237. - move to 1.103.0 tarball
  238. - call automake after patching Makefile.am
  239. - patch for parallel install
  240. * Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
  241. - add some requires
  242. * Tue Sep 18 2001 Havoc Pennington <hp@redhat.com>
  243. - conflict with bonobo < 1.0.8 to avoid header conflicts
  244. - update group
  245. * Mon Sep 17 2001 Havoc Pennington <hp@redhat.com>
  246. - moved IDL files into subdir
  247. - remove smp_mflags, libbonobo does not like those
  248. * Thu Sep 13 2001 Havoc Pennington <hp@redhat.com>
  249. - remove IDL files as temporary hack
  250. * Wed Sep 12 2001 Havoc Pennington <hp@redhat.com>
  251. - Initial build.