libgnomeui-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. %define libxml2_version 2.5.11
  2. %define orbit2_version 2.14.0
  3. %define libbonobo_version 2.24.0
  4. %define libgnomecanvas_version 2.30.0
  5. %define libgnome_version 2.30.0
  6. %define libart_lgpl_version 2.3.16
  7. %define libbonoboui_version 2.24.0
  8. %define glib2_version 2.24.0
  9. %define pango_version 1.28.0
  10. %define gtk2_version 2.20.0
  11. %define gconf2_version 2.28.0
  12. %define gnome_vfs2_version 2.24.0
  13. %define libglade2_version 2.6.0
  14. %define esound_version 0.2.31
  15. %define libgnome_keyring_version 2.30
  16. %define po_package libgnomeui-2.0
  17. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  18. Summary: GNOME base GUI library
  19. Summary(ja): GNOME 基本 GUI ライブラリ
  20. Name: libgnomeui
  21. Version: 2.24.3
  22. Release: 2%{?_dist_release}
  23. URL: ftp://ftp.gnome.org/
  24. Source0: %{name}-%{version}.tar.bz2
  25. Source2: gnomeui-fixed-ltmain.sh
  26. License: LGPL
  27. Group: System Environment/Libraries
  28. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  29. Requires: ORBit2 >= %{orbit2_version}
  30. Requires: glib2 >= %{glib2_version}
  31. Requires: pango >= %{pango_version}
  32. Requires: gtk2 >= %{gtk2_version}
  33. Requires: GConf2 >= %{gconf2_version}
  34. Requires: gnome-vfs2 >= %{gnome_vfs2_version}
  35. Requires: libgnomecanvas >= %{libgnomecanvas_version}
  36. Requires: libbonobo >= %{libbonobo_version}
  37. Requires: libbonoboui >= %{libbonoboui_version}
  38. Requires: libxml2 >= %{libxml2_version}
  39. Requires: libgnome >= %{libgnome_version}
  40. Requires: libart_lgpl >= %{libart_lgpl_version}
  41. Requires: libglade2 >= %{libglade2_version}
  42. Requires: libgnome-keyring >= %{libgnome_keyring_version}
  43. Requires: libjpeg
  44. BuildRequires: zlib-devel
  45. BuildRequires: ORBit2-devel >= %{orbit2_version}
  46. BuildRequires: glib2-devel >= %{glib2_version}
  47. BuildRequires: pango-devel >= %{pango_version}
  48. BuildRequires: gtk2-devel >= %{gtk2_version}
  49. BuildRequires: GConf2-devel >= %{gconf2_version}
  50. BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version}
  51. BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version}
  52. BuildRequires: libbonobo-devel >= %{libbonobo_version}
  53. BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
  54. BuildRequires: libxml2-devel >= %{libxml2_version}
  55. BuildRequires: libgnome-devel >= %{libgnome_version}
  56. BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
  57. BuildRequires: libglade2-devel >= %{libglade2_version}
  58. BuildRequires: esound-devel >= %{esound_version}
  59. BuildRequires: libtool >= 1.5
  60. BuildRequires: libgnome-keyring-devel >= %{libgnome_keyring_version}
  61. BuildRequires: libjpeg
  62. BuildRequires: popt-devel
  63. %description
  64. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  65. GUI applications and desktop tools to be used in conjunction with a
  66. window manager for the X Window System. The libgnomeui package
  67. includes GUI-related libraries that are needed to run GNOME. (The
  68. libgnome package includes the library features that don't use the X
  69. Window System.)
  70. #'
  71. %package devel
  72. Summary: Libraries and headers for libgnome
  73. Summary(ja): libgnome の開発用ライブラリおよびヘッダファイル
  74. Group: Development/Libraries
  75. Requires: %{name} = %{version}-%{release}
  76. Requires: zlib-devel
  77. Requires: ORBit2-devel >= %{orbit2_version}
  78. Requires: glib2-devel >= %{glib2_version}
  79. Requires: pango-devel >= %{pango_version}
  80. Requires: gtk2-devel >= %{gtk2_version}
  81. Requires: GConf2-devel >= %{gconf2_version}
  82. Requires: gnome-vfs2-devel >= %{gnome_vfs2_version}
  83. Requires: libgnomecanvas-devel >= %{libgnomecanvas_version}
  84. Requires: libbonobo-devel >= %{libbonobo_version}
  85. Requires: libbonoboui-devel >= %{libbonoboui_version}
  86. Requires: libxml2-devel >= %{libxml2_version}
  87. Requires: libgnome-devel >= %{libgnome_version}
  88. Requires: libart_lgpl-devel >= %{libart_lgpl_version}
  89. Requires: libglade2-devel >= %{libglade2_version}
  90. Requires: esound-devel >= %{esound_version}
  91. Requires: libgnome-keyring-devel >= %{libgnome_keyring_version}
  92. Conflicts: gnome-libs-devel < 1.4.1.2
  93. Conflicts: gdk-pixbuf-devel <= 0.11
  94. %description devel
  95. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  96. GUI applications and desktop tools to be used in conjunction with a
  97. window manager for the X Window System. The libgnomeui-devel package
  98. includes the libraries and include files that you will need to
  99. use libgnomeui.
  100. You should install the libgnomeui-devel package if you would like to
  101. compile GNOME applications. You do not need to install
  102. libgnomeui-devel if you just want to use the GNOME desktop
  103. environment.
  104. # compat32
  105. %package -n compat32-%{name}
  106. Summary: GNOME base GUI library
  107. Summary(ja): GNOME 基本 GUI ライブラリ
  108. Group: System Environment/Libraries
  109. Requires: %{name} = %{version}-%{release}
  110. %description -n compat32-%{name}
  111. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  112. GUI applications and desktop tools to be used in conjunction with a
  113. window manager for the X Window System. The libgnomeui package
  114. includes GUI-related libraries that are needed to run GNOME. (The
  115. libgnome package includes the library features that don't use the X
  116. Window System.)
  117. #'
  118. %package -n compat32-%{name}-devel
  119. Summary: Libraries and headers for libgnome
  120. Summary(ja): libgnome の開発用ライブラリおよびヘッダファイル
  121. Group: Development/Libraries
  122. Requires: %{name}-devel = %{version}-%{release}
  123. Requires: compat32-%{name} = %{version}-%{release}
  124. Requires: compat32-zlib-devel
  125. Requires: compat32-ORBit2-devel >= %{orbit2_version}
  126. Requires: compat32-glib2-devel >= %{glib2_version}
  127. Requires: compat32-pango-devel >= %{pango_version}
  128. Requires: compat32-gtk2-devel >= %{gtk2_version}
  129. Requires: compat32-GConf2-devel >= %{gconf2_version}
  130. Requires: compat32-gnome-vfs2-devel >= %{gnome_vfs2_version}
  131. Requires: compat32-libgnomecanvas-devel >= %{libgnomecanvas_version}
  132. Requires: compat32-libbonobo-devel >= %{libbonobo_version}
  133. Requires: compat32-libbonoboui-devel >= %{libbonoboui_version}
  134. Requires: compat32-libxml2-devel >= %{libxml2_version}
  135. Requires: compat32-libgnome-devel >= %{libgnome_version}
  136. Requires: compat32-libart_lgpl-devel >= %{libart_lgpl_version}
  137. Requires: compat32-libglade2-devel >= %{libglade2_version}
  138. Requires: compat32-esound-devel >= %{esound_version}
  139. Requires: compat32-libgnome-keyring-devel >= %{libgnome_keyring_version}
  140. %description -n compat32-%{name}-devel
  141. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  142. GUI applications and desktop tools to be used in conjunction with a
  143. window manager for the X Window System. The libgnomeui-devel package
  144. includes the libraries and include files that you will need to
  145. use libgnomeui.
  146. You should install the libgnomeui-devel package if you would like to
  147. compile GNOME applications. You do not need to install
  148. libgnomeui-devel if you just want to use the GNOME desktop
  149. environment.
  150. %prep
  151. %setup -q
  152. #patch0 -p1 -b .user-dirs
  153. #patch10 -p1 -b .translate-auth-manager
  154. %build
  155. %configure --disable-gtk-doc --disable-static
  156. export tagname=CC
  157. make %{?_smp_mflags}
  158. %install
  159. rm -rf $RPM_BUILD_ROOT
  160. export tagname=CC
  161. %makeinstall
  162. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  163. #rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  164. #rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.a
  165. #rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/filesystems/*.a
  166. %find_lang %{po_package}
  167. %clean
  168. rm -rf $RPM_BUILD_ROOT
  169. %post -p /sbin/ldconfig
  170. %postun -p /sbin/ldconfig
  171. %post -n compat32-%{name} -p /sbin/ldconfig
  172. %postun -n compat32-%{name} -p /sbin/ldconfig
  173. %files -f %{po_package}.lang
  174. %defattr(-,root,root)
  175. %doc AUTHORS COPYING.LIB ChangeLog NEWS README
  176. %{_libdir}/lib*.so.*
  177. %{_datadir}/pixmaps/*
  178. %{_libdir}/libglade/2.0/*
  179. %files devel
  180. %defattr(-,root,root)
  181. %{_libdir}/lib*.so
  182. %{_libdir}/pkgconfig/*.pc
  183. %{_includedir}/*
  184. %{_datadir}/gtk-doc
  185. # compat32
  186. %if %{build_compat32}
  187. %files -n compat32-%{name}
  188. %defattr(-,root,root)
  189. %{_libdir}/lib*.so.*
  190. %{_libdir}/libglade/2.0/*
  191. %files -n compat32-%{name}-devel
  192. %defattr(-,root,root)
  193. %{_libdir}/lib*.so
  194. %{_libdir}/pkgconfig/*.pc
  195. %endif
  196. %changelog
  197. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.24.3-2
  198. - build with rpm-4.8.1-1 for pkg-config file
  199. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.3-1
  200. - new upstream release
  201. - change Requires: gnome-keyring -> libgnome-keyring
  202. - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel
  203. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.2-1
  204. - new upstream release
  205. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.24.1-2
  206. - added compat32 package for x86_64 arch support
  207. * Sat Mar 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  208. - new upstream release
  209. - added BuildRequires: popt-devel
  210. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  211. - new upstream release
  212. * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.1-3
  213. - drop explicit dependency to esound
  214. - spec in UTF-8
  215. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-2vl5
  216. - new upstream release
  217. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.01-1vl5
  218. - new upstream release
  219. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-0vl1
  220. - new upstream release
  221. - added --disable-static option
  222. * Mon Apr 30 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl2
  223. - add Patch0 to support user-dirs
  224. * Tue Apr 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  225. - new upstream release
  226. (fix filechooser bug)
  227. * Tue Apr 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl3
  228. - rebuild with gtk+-2.10
  229. * Sun Jun 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
  230. - add Patch10 to translate authentication dialog
  231. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  232. - new upstream release
  233. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  234. - new upstream release
  235. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.90-0vl1
  236. - new upstream release
  237. * Sat Feb 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.1-0vl1
  238. - new upstream release
  239. - added gtk-doc to devel package
  240. * Wed Sep 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl2
  241. - add BuildRequires: gnome-keyring-devel
  242. - add Requires: gnome-keyring-devel to libgnomeui-devel
  243. * Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  244. - new upstream release
  245. * Wed Aug 03 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
  246. - new upstream release
  247. * Fri Jul 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
  248. - new upstream release
  249. * Mon Mar 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl2
  250. - remove bonobo-activation dependency
  251. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  252. - new upstream version
  253. * Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl2
  254. - FIXME: remove filesystems module temporarily.
  255. * Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  256. - new upstream release
  257. - add Japanese summary
  258. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  259. - new upstream release
  260. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0.1-0vl1
  261. - new upstream release
  262. * Thu Sep 04 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  263. - new upstream release
  264. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.7-0vl1
  265. - new upstream release
  266. * Tue Aug 19 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.2-0vl1
  267. - new upstream release
  268. * Thu Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  269. - new upstream release
  270. * Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
  271. - new upstream release
  272. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  273. - new upstream release
  274. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
  275. - new upstream release
  276. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  277. - new upstream release
  278. * Mon Nov 11 2002 Havoc Pennington <hp@redhat.com>
  279. - 2.1.2
  280. - comment out change-esound-startup patch, not sure about it, doesn't
  281. apply anymore
  282. * Tue Nov 5 2002 Bill Nottingham <notting@redhat.com> 2.0.3-4
  283. - rebuild for fixed pkgconfig paths
  284. * Thu Aug 29 2002 Havoc Pennington <hp@redhat.com>
  285. - require new libtool and libtoolize to fix rpath bugs
  286. * Wed Aug 21 2002 Elliot Lee <sopwith@redhat.com> 2.0.3-2
  287. - Don't always ensure an esd connection is available just because we
  288. can do so.
  289. * Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
  290. - 2.0.3
  291. - fixups to file list and not-packaged files warnings
  292. * Wed Jun 26 2002 Owen Taylor <otaylor@redhat.com>
  293. - Fix find_lang
  294. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  295. - 2.0.1
  296. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  297. - rebuild in different environment
  298. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  299. - 1.117.2
  300. - remove zero-length AUTHORS/README
  301. - add post/postun ldconfig
  302. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  303. - automated rebuild
  304. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  305. - rebuild in different environment
  306. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  307. - 1.117.1
  308. * Fri May 03 2002 Havoc Pennington <hp@redhat.com>
  309. - rebuild in different environment
  310. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  311. - 1.116.1
  312. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  313. - 1.114.0
  314. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  315. - 1.111.1
  316. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  317. - Version 1.110.0
  318. * Mon Jan 28 2002 Havoc Pennington <hp@redhat.com>
  319. - rebuild in rawhide
  320. - --disable-gtk-doc
  321. * Mon Jan 7 2002 Havoc Pennington <hp@redhat.com>
  322. - 1.108.0.90 snap, remove gconf stuff moved to libgnome
  323. * Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
  324. - 1.106.0.90 snap, glib 1.3.11
  325. - add explicit-versioned requires on dependency libs
  326. - do gconftool stuff, put schemas in file list
  327. - use makeinstall instead of destdir to avoid broken makefiles
  328. * Mon Oct 29 2001 Havoc Pennington <hp@redhat.com>
  329. - grumble, we require libglade 2 not libglade 1
  330. * Mon Oct 29 2001 Havoc Pennington <hp@redhat.com>
  331. - add libglade module to file list
  332. - add libglade dependency
  333. * Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
  334. - new snap, rebuild for glib 1.3.10
  335. * Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
  336. - new tarball, rebuild for new glib, remove db1 dependency
  337. * Mon Sep 24 2001 Havoc Pennington <hp@redhat.com>
  338. - new cvs snap
  339. * Tue Sep 18 2001 Havoc Pennington <hp@redhat.com>
  340. - Initial build.