libbonoboui-vl.spec 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. %define libxml2_version 2.7.7
  2. %define orbit2_version 2.14.19
  3. %define libbonobo_version 2.32.0
  4. %define libgnomecanvas_version 2.30.2
  5. %define libgnome_version 2.32.0
  6. %define libart_lgpl_version 2.3.12
  7. %define gtk2_version 2.22.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.4
  15. Release: 1%{?_dist_release}
  16. URL: http://ftp.gnome.org/
  17. Source0: http://ftp.gnome.org/pub/GNOME/sources/libbonoboui/2.24/%{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 Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.4-1
  145. - new upstream release
  146. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.24.3-2
  147. - build with rpm-4.8.1-1 for pkg-config file
  148. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.3-1
  149. - new upstream release
  150. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.2-1
  151. - new upstream release
  152. * Sun Jul 19 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.24.1-2
  153. - removed static libraries
  154. - added compat32 package for x86_64 arch support
  155. * Sat Mar 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  156. - new upstream release
  157. - added BuildRequires: popt-devel
  158. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  159. - new upstream release
  160. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  161. - new upstream release
  162. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1
  163. - new upstream release
  164. * Wed Apr 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  165. - new upstream release
  166. * Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  167. - new upstream release
  168. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.1-0vl1
  169. - new upstream release
  170. * Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
  171. - new upstream release
  172. * Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  173. - new upstream release
  174. * Mon Mar 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl2
  175. - remove bonobo-activation dependency
  176. * Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  177. - new upstream release
  178. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  179. - new upstream release
  180. * Sat Jan 31 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.3-0vl1
  181. - new upstream release
  182. * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1
  183. - new upstream release
  184. - rebuild with new toolchains
  185. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  186. - new upstream release
  187. * Wed Aug 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.4-0vl1
  188. - new upstream release
  189. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  190. - new upstream release
  191. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  192. - new upstream release
  193. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.2-0vl1
  194. - new upstream release
  195. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.1-0vl1
  196. - build for Vine Linux
  197. * Thu Aug 29 2002 Havoc Pennington <hp@redhat.com>
  198. - libtoolize with our latest libtool to try fixing rpaths
  199. * Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
  200. - 2.0.1
  201. * Wed Jun 26 2002 Owen Taylor <otaylor@redhat.com>
  202. - Fix find_lang
  203. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  204. - 2.0.0
  205. - include sample server in libdir
  206. - remove .a files from glade module dir
  207. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  208. - rebuild in different environment
  209. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  210. - 1.118.0
  211. - remove empty AUTHORS file
  212. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  213. - automated rebuild
  214. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  215. - rebuild in different environment
  216. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  217. - 1.117.0
  218. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  219. - 1.116.0
  220. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  221. - 1.113.0
  222. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  223. - 1.111.0
  224. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  225. - Version 1.110.0
  226. - Reintoolize to fix DBM problems
  227. * Mon Jan 28 2002 Havoc Pennington <hp@redhat.com>
  228. - rebuild in rawhide
  229. * Mon Jan 7 2002 Havoc Pennington <hp@redhat.com>
  230. - 1.108.1.90 cvs snap
  231. * Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
  232. - 1.107.0.90 snap, explicit requires lines for dependencies
  233. - add libtool hack to avoid relinking
  234. * Mon Oct 29 2001 Havoc Pennington <hp@redhat.com>
  235. - add glade dependency, add glade module to file list
  236. * Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
  237. - rebuild with glib 1.3.10, new cvs snap
  238. * Mon Oct 15 2001 Havoc Pennington <hp@redhat.com>
  239. - rebuild, hoping build root is fixed
  240. * Mon Oct 15 2001 Havoc Pennington <hp@redhat.com>
  241. - grumble, build require newer gtk
  242. - require libart_lgpl-devel not the non-devel package
  243. * Mon Oct 15 2001 Havoc Pennington <hp@redhat.com>
  244. - cvs snap with menu stuff fixed so gnome-terminal works
  245. * Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
  246. - new tarball, rebuild for new glib
  247. * Mon Sep 24 2001 Havoc Pennington <hp@redhat.com>
  248. - new cvs snap, fix up prereqs/requires a bit
  249. * Tue Sep 18 2001 Havoc Pennington <hp@redhat.com>
  250. - Initial build.