libbonoboui-vl.spec 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. %define libxml2_version 2.7.6
  2. %define orbit2_version 2.14.17
  3. %define libbonobo_version 2.24.3
  4. %define libgnomecanvas_version 2.30.0
  5. %define libgnome_version 2.30.0
  6. %define libart_lgpl_version 2.3.12
  7. %define gtk2_version 2.20.0
  8. %define libglade2_version 2.6.0
  9. %define po_package libbonoboui-2.0
  10. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  11. Summary: Bonobo user interface components
  12. Summary(ja): Bonobo ユーザインタフェースコンポーネント
  13. Name: libbonoboui
  14. Version: 2.24.3
  15. Release: 1%{?_dist_release}
  16. URL: http://ftp.gnome.org/
  17. Source0: %{name}-%{version}.tar.bz2
  18. Source2: bonoboui-fixed-ltmain.sh
  19. License: LGPL
  20. Group: System Environment/Libraries
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Requires: libxml2 >= %{libxml2_version}
  23. Requires: ORBit2 >= %{orbit2_version}
  24. Requires: libbonobo >= %{libbonobo_version}
  25. Requires: libgnomecanvas >= %{libgnomecanvas_version}
  26. Requires: libgnome >= %{libgnome_version}
  27. Requires: libart_lgpl >= %{libart_lgpl_version}
  28. Requires: gtk2 >= %{gtk2_version}
  29. Requires: libglade2 >= %{libglade2_version}
  30. BuildRequires: libxml2-devel >= %{libxml2_version}
  31. BuildRequires: ORBit2-devel >= %{orbit2_version}
  32. BuildRequires: libbonobo-devel >= %{libbonobo_version}
  33. BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version}
  34. BuildRequires: libgnome-devel >= %{libgnome_version}
  35. BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
  36. BuildRequires: gtk2-devel >= %{gtk2_version}
  37. BuildRequires: libglade2-devel >= %{libglade2_version}
  38. BuildRequires: popt-devel
  39. BuildRequires: intltool >= 0.14-1
  40. BuildRequires: libtool >= 1.5
  41. %description
  42. Bonobo is a component system based on CORBA, used by the GNOME
  43. desktop. libbonoboui contains the user interface related components
  44. that come with Bonobo.
  45. %package devel
  46. Summary: Libraries and headers for libbonoboui
  47. Group: Development/Libraries
  48. Requires: %{name} = %{version}-%{release}
  49. Requires: libxml2-devel >= %{libxml2_version}
  50. Requires: ORBit2-devel >= %{orbit2_version}
  51. Requires: libbonobo-devel >= %{libbonobo_version}
  52. Requires: libgnomecanvas-devel >= %{libgnomecanvas_version}
  53. Requires: libgnome-devel >= %{libgnome_version}
  54. Requires: libart_lgpl-devel >= %{libart_lgpl_version}
  55. Requires: gtk2-devel >= %{gtk2_version}
  56. Requires: libglade2-devel >= %{libglade2_version}
  57. Conflicts: bonobo-devel < 1.0.8
  58. %description devel
  59. Bonobo is a component system based on CORBA, used by the GNOME desktop.
  60. libbonoboui contains GUI components that come with Bonobo.
  61. This package contains header files used to compile programs that
  62. use libbonoboui.
  63. # compat32
  64. %package -n compat32-%{name}
  65. Summary: Bonobo user interface components
  66. Summary(ja): Bonobo ユーザインタフェースコンポーネント
  67. Group: System Environment/Libraries
  68. Requires: %{name} = %{version}-%{release}
  69. %description -n compat32-%{name}
  70. Bonobo is a component system based on CORBA, used by the GNOME
  71. desktop. libbonoboui contains the user interface related components
  72. that come with Bonobo.
  73. %package -n compat32-%{name}-devel
  74. Summary: Libraries and headers for libbonoboui
  75. Group: Development/Libraries
  76. Requires: %{name}-devel = %{version}-%{release}
  77. Requires: compat32-%{name} = %{version}-%{release}
  78. Requires: compat32-libxml2-devel >= %{libxml2_version}
  79. Requires: compat32-ORBit2-devel >= %{orbit2_version}
  80. Requires: compat32-libbonobo-devel >= %{libbonobo_version}
  81. Requires: compat32-libgnomecanvas-devel >= %{libgnomecanvas_version}
  82. Requires: compat32-libgnome-devel >= %{libgnome_version}
  83. Requires: compat32-libart_lgpl-devel >= %{libart_lgpl_version}
  84. Requires: compat32-gtk2-devel >= %{gtk2_version}
  85. Requires: compat32-libglade2-devel >= %{libglade2_version}
  86. %description -n compat32-%{name}-devel
  87. Bonobo is a component system based on CORBA, used by the GNOME desktop.
  88. libbonoboui contains GUI components that come with Bonobo.
  89. This package contains header files used to compile programs that
  90. use libbonoboui.
  91. %prep
  92. %setup -q -n %{name}-%{version}
  93. %build
  94. %configure
  95. export tagname=CC
  96. %__make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
  97. %install
  98. rm -rf $RPM_BUILD_ROOT
  99. export tagname=CC
  100. make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool
  101. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
  102. rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.a
  103. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/bonobo-browser.desktop
  104. %find_lang %{po_package}
  105. %clean
  106. rm -rf $RPM_BUILD_ROOT
  107. %post -p /sbin/ldconfig
  108. %postun -p /sbin/ldconfig
  109. %post -n compat32-%{name} -p /sbin/ldconfig
  110. %postun -n compat32-%{name} -p /sbin/ldconfig
  111. %files -f %{po_package}.lang
  112. %defattr(-,root,root)
  113. %doc COPYING ChangeLog NEWS README
  114. %{_libdir}/lib*.so.*
  115. %{_libdir}/libglade/2.0/*.so
  116. %{_libdir}/libglade/2.0/*.la
  117. %{_libdir}/bonobo
  118. %{_datadir}/gnome-2.0
  119. %files devel
  120. %defattr(-,root,root)
  121. #{_libdir}/lib*.a
  122. %{_libdir}/lib*.so
  123. %{_libdir}/pkgconfig/*.pc
  124. %{_includedir}/*
  125. %{_bindir}/*
  126. %{_libdir}/bonobo-2.0
  127. %{_datadir}/gtk-doc
  128. # compat32
  129. %if %{build_compat32}
  130. %files -n compat32-%{name}
  131. %defattr(-,root,root)
  132. %{_libdir}/lib*.so.*
  133. %{_libdir}/libglade/2.0/*.so
  134. %{_libdir}/libglade/2.0/*.la
  135. %{_libdir}/bonobo
  136. %files -n compat32-%{name}-devel
  137. %defattr(-,root,root)
  138. #{_libdir}/lib*.a
  139. %{_libdir}/lib*.so
  140. %{_libdir}/pkgconfig/*.pc
  141. %{_libdir}/bonobo-2.0
  142. %endif
  143. %changelog
  144. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.3-1
  145. - new upstream release
  146. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.2-1
  147. - new upstream release
  148. * Sun Jul 19 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.24.1-2
  149. - removed static libraries
  150. - added compat32 package for x86_64 arch support
  151. * Sat Mar 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  152. - new upstream release
  153. - added BuildRequires: popt-devel
  154. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  155. - new upstream release
  156. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  157. - new upstream release
  158. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1
  159. - new upstream release
  160. * Wed Apr 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  161. - new upstream release
  162. * Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  163. - new upstream release
  164. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.1-0vl1
  165. - new upstream release
  166. * Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
  167. - new upstream release
  168. * Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  169. - new upstream release
  170. * Mon Mar 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl2
  171. - remove bonobo-activation dependency
  172. * Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  173. - new upstream release
  174. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  175. - new upstream release
  176. * Sat Jan 31 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.3-0vl1
  177. - new upstream release
  178. * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1
  179. - new upstream release
  180. - rebuild with new toolchains
  181. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  182. - new upstream release
  183. * Wed Aug 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.4-0vl1
  184. - new upstream release
  185. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  186. - new upstream release
  187. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  188. - new upstream release
  189. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.2-0vl1
  190. - new upstream release
  191. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.1-0vl1
  192. - build for Vine Linux
  193. * Thu Aug 29 2002 Havoc Pennington <hp@redhat.com>
  194. - libtoolize with our latest libtool to try fixing rpaths
  195. * Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
  196. - 2.0.1
  197. * Wed Jun 26 2002 Owen Taylor <otaylor@redhat.com>
  198. - Fix find_lang
  199. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  200. - 2.0.0
  201. - include sample server in libdir
  202. - remove .a files from glade module dir
  203. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  204. - rebuild in different environment
  205. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  206. - 1.118.0
  207. - remove empty AUTHORS file
  208. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  209. - automated rebuild
  210. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  211. - rebuild in different environment
  212. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  213. - 1.117.0
  214. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  215. - 1.116.0
  216. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  217. - 1.113.0
  218. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  219. - 1.111.0
  220. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  221. - Version 1.110.0
  222. - Reintoolize to fix DBM problems
  223. * Mon Jan 28 2002 Havoc Pennington <hp@redhat.com>
  224. - rebuild in rawhide
  225. * Mon Jan 7 2002 Havoc Pennington <hp@redhat.com>
  226. - 1.108.1.90 cvs snap
  227. * Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
  228. - 1.107.0.90 snap, explicit requires lines for dependencies
  229. - add libtool hack to avoid relinking
  230. * Mon Oct 29 2001 Havoc Pennington <hp@redhat.com>
  231. - add glade dependency, add glade module to file list
  232. * Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
  233. - rebuild with glib 1.3.10, new cvs snap
  234. * Mon Oct 15 2001 Havoc Pennington <hp@redhat.com>
  235. - rebuild, hoping build root is fixed
  236. * Mon Oct 15 2001 Havoc Pennington <hp@redhat.com>
  237. - grumble, build require newer gtk
  238. - require libart_lgpl-devel not the non-devel package
  239. * Mon Oct 15 2001 Havoc Pennington <hp@redhat.com>
  240. - cvs snap with menu stuff fixed so gnome-terminal works
  241. * Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
  242. - new tarball, rebuild for new glib
  243. * Mon Sep 24 2001 Havoc Pennington <hp@redhat.com>
  244. - new cvs snap, fix up prereqs/requires a bit
  245. * Tue Sep 18 2001 Havoc Pennington <hp@redhat.com>
  246. - Initial build.