libgnome-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. %define glib2_version 2.20.0
  2. %define libbonobo_version 2.24.2
  3. %define libxml2_version 2.6.0
  4. %define libxslt_version 1.0.30
  5. %define gconf2_version 2.26.0
  6. %define gnome_vfs2_version 2.24.2
  7. %define orbit2_version 2.14.17
  8. %define po_package libgnome-2.0
  9. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  10. Summary: GNOME base library
  11. Summary(ja): GNOME 基本ライブラリ
  12. Name: libgnome
  13. Version: 2.32.1
  14. Release: 3%{?_dist_release}
  15. URL: ftp://ftp.gnome.org/
  16. Source0: http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.32/%{name}-%{version}.tar.bz2
  17. License: LGPLv2+
  18. Group: System Environment/Libraries
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Requires: glib2 >= %{glib2_version}
  21. Requires: libbonobo >= %{libbonobo_version}
  22. Requires: gnome-vfs2 >= %{gnome_vfs2_version}
  23. Requires: libxml2 >= %{libxml2_version}
  24. Requires: ORBit2 >= %{orbit2_version}
  25. Requires: libxslt >= %{libxslt_version}
  26. Requires: vine-backgrounds >= 2.0
  27. Requires(post,pre,preun): GConf2 >= %{gconf2_version}
  28. # Added to avoid the warning messages about utmp group, bug #24171
  29. # fixme, just libzvt?
  30. Requires(post): utempter
  31. BuildRequires: zlib-devel
  32. BuildRequires: glib2-devel >= %{glib2_version}
  33. BuildRequires: libbonobo-devel >= %{libbonobo_version}
  34. BuildRequires: GConf2-devel >= %{gconf2_version}
  35. BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version}
  36. BuildRequires: libxml2-devel >= %{libxml2_version}
  37. BuildRequires: ORBit2-devel >= %{orbit2_version}
  38. BuildRequires: libxslt-devel >= %{libxslt_version}
  39. BuildRequires: intltool
  40. BuildRequires: popt-devel >= 1.5
  41. BuildRequires: libcanberra-devel
  42. Patch0: libgnome-2.20.1.1-default-theme-vine.patch
  43. Patch1: libgnome-2.26.0-default-background-vine.patch
  44. Patch2: libgnome-2.8.0-default-cursor-vine.patch
  45. Patch3: libgnome-2.11.1-scoreloc.patch
  46. Patch5: libgnome-2.8.0-default-browser.patch
  47. Patch6: libgnome-2.32.1-default-settings-vine.patch
  48. Patch7: libgnome-2.9.1-popt.patch
  49. Patch11: libgnome-2.32.1-glib-2.36.x.patch
  50. %description
  51. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  52. GUI applications and desktop tools to be used in conjunction with a
  53. window manager for the X Window System. The libgnome package includes
  54. non-GUI-related libraries that are needed to run GNOME. The libgnomeui
  55. package contains X11-dependent GNOME library features.
  56. %package devel
  57. Summary: Libraries and headers for libgnome
  58. Summary(ja): libgnome の開発用ライブラリおよびヘッダファイル
  59. Group: Development/Libraries
  60. Requires: %{name} = %{version}-%{release}
  61. Conflicts: gnome-libs-devel < 1.4.1.2
  62. Requires: zlib-devel
  63. Requires: ORBit2-devel >= %{orbit2_version}
  64. Requires: glib2-devel >= %{glib2_version}
  65. Requires: libbonobo-devel >= %{libbonobo_version}
  66. Requires: GConf2-devel >= %{gconf2_version}
  67. Requires: gnome-vfs2-devel >= %{gnome_vfs2_version}
  68. Requires: libxml2-devel >= %{libxml2_version}
  69. Requires: libxslt-devel >= %{libxslt_version}
  70. Requires: popt-devel
  71. Requires: libcanberra-devel
  72. %description devel
  73. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  74. GUI applications and desktop tools to be used in conjunction with a
  75. window manager for the X Window System. The libgnome-devel package
  76. includes the libraries and include files that you will need to
  77. use libgnome.
  78. You should install the libgnome-devel package if you would like to
  79. compile GNOME applications. You do not need to install libgnome-devel
  80. if you just want to use the GNOME desktop environment.
  81. # compat32
  82. %package -n compat32-%{name}
  83. Summary: GNOME base library
  84. Summary(ja): GNOME 基本ライブラリ
  85. Group: System Environment/Libraries
  86. Requires: %{name} = %{version}-%{release}
  87. %description -n compat32-%{name}
  88. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  89. GUI applications and desktop tools to be used in conjunction with a
  90. window manager for the X Window System. The libgnome package includes
  91. non-GUI-related libraries that are needed to run GNOME. The libgnomeui
  92. package contains X11-dependent GNOME library features.
  93. %package -n compat32-%{name}-devel
  94. Summary: Libraries and headers for libgnome
  95. Summary(ja): libgnome の開発用ライブラリおよびヘッダファイル
  96. Group: Development/Libraries
  97. Requires: %{name}-devel = %{version}-%{release}
  98. Requires: compat32-%{name} = %{version}-%{release}
  99. Requires: compat32-zlib-devel
  100. Requires: compat32-ORBit2-devel >= %{orbit2_version}
  101. Requires: compat32-glib2-devel >= %{glib2_version}
  102. Requires: compat32-libbonobo-devel >= %{libbonobo_version}
  103. Requires: compat32-GConf2-devel >= %{gconf2_version}
  104. Requires: compat32-gnome-vfs2-devel >= %{gnome_vfs2_version}
  105. Requires: compat32-libxml2-devel >= %{libxml2_version}
  106. Requires: compat32-libxslt-devel >= %{libxslt_version}
  107. Requires: compat32-popt-devel
  108. %description -n compat32-%{name}-devel
  109. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  110. GUI applications and desktop tools to be used in conjunction with a
  111. window manager for the X Window System. The libgnome-devel package
  112. includes the libraries and include files that you will need to
  113. use libgnome.
  114. You should install the libgnome-devel package if you would like to
  115. compile GNOME applications. You do not need to install libgnome-devel
  116. if you just want to use the GNOME desktop environment.
  117. %prep
  118. %setup -q
  119. %patch0 -p1 -b .default-theme
  120. %patch1 -p1 -b .default-background
  121. %patch2 -p1 -b .default-cursor
  122. %patch3 -p1 -b .scoreloc
  123. %patch5 -p1 -b .default-browser
  124. %patch6 -p1 -b .default-settings
  125. %patch7 -p1 -b .popt
  126. %patch11 -p1 -b .glib
  127. %build
  128. %configure --disable-gtk-doc --disable-schemas-install --disable-static --disable-esd
  129. ./config.status
  130. export tagname=CC
  131. make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool
  132. %install
  133. rm -rf $RPM_BUILD_ROOT
  134. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  135. export tagname=CC
  136. %makeinstall LIBTOOL=%{_bindir}/libtool
  137. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  138. rm $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  139. rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.{a,la}
  140. for serverfile in $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/*.server; do
  141. sed -i -e 's|location *= *"/usr/lib\(64\)*/|location="/usr/$LIB/|' $serverfile
  142. done
  143. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/skel/.gnome2
  144. # http://bugzilla.gnome.org/show_bug.cgi?id=477846
  145. rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties
  146. rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
  147. %find_lang %{po_package}
  148. %clean
  149. rm -rf $RPM_BUILD_ROOT
  150. %post
  151. /sbin/ldconfig
  152. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  153. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_*.schemas > /dev/null 2>&1 || :
  154. %pre
  155. if [ "$1" -gt 1 ]; then
  156. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  157. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_*.schemas > /dev/null || :
  158. fi
  159. %preun
  160. if [ "$1" -eq 0 ]; then
  161. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  162. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_*.schemas > /dev/null || :
  163. fi
  164. %postun -p /sbin/ldconfig
  165. %post -n compat32-%{name} -p /sbin/ldconfig
  166. %postun -n compat32-%{name} -p /sbin/ldconfig
  167. %files -f %{po_package}.lang
  168. %defattr(-,root,root)
  169. %doc AUTHORS COPYING.LIB ChangeLog NEWS README
  170. %{_bindir}/*
  171. %{_libdir}/lib*.so.*
  172. %{_libdir}/bonobo/*
  173. %{_sysconfdir}/gconf/schemas/*
  174. %{_sysconfdir}/sound
  175. %{_sysconfdir}/skel/.gnome2
  176. %{_mandir}/man?/*
  177. #{_datadir}/gnome-background-properties
  178. #{_datadir}/pixmaps/backgrounds/gnome/*
  179. %files devel
  180. %defattr(-,root,root)
  181. %{_libdir}/lib*.so
  182. %{_libdir}/pkgconfig/*.pc
  183. %{_includedir}/*
  184. %{_datadir}/gtk-doc/html/*
  185. # compat32
  186. %if %{build_compat32}
  187. %files -n compat32-%{name}
  188. %defattr(-,root,root)
  189. %{_libdir}/lib*.so.*
  190. %{_libdir}/bonobo/*
  191. %files -n compat32-%{name}-devel
  192. %defattr(-,root,root)
  193. %{_libdir}/lib*.so
  194. %endif
  195. %changelog
  196. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-3
  197. - rebuild with VineSeed environment
  198. - add Patch11 (libgnome-2.32.1-glib-2.36.x.patch)
  199. * Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32.1-2
  200. - update patch6 to enable {buttons,menus}_have_icons
  201. * Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  202. - new upstream release
  203. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  204. - new upstream release
  205. - remove BuildRequires: esound-devel
  206. - remove Requires: esound-devel (devel package)
  207. - add BuildRequires: libcanberra-devel
  208. - add Requires: libcanberra-devel (devel package)
  209. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.0-2
  210. - build with rpm-4.8.1-1 for pkg-config file
  211. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  212. - new upstream release
  213. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  214. - new upstream release
  215. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-4
  216. - added compat32 package for x86_64 arch support
  217. * Tue May 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
  218. - add Requires: popt-devel to -devel
  219. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
  220. - update Patch1 to set "zoom" for picture_options instead of "stretched"
  221. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  222. - new upstream release
  223. - disable static libs
  224. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  225. - new upstream release
  226. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  227. - new upstream release
  228. * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-2vl5
  229. - added Patch6, dropped Patch10
  230. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  231. - new upstream release
  232. - dropped Patch6 (was merged into new upstream)
  233. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-0vl1
  234. - new upstream release
  235. - updated Patch0 and 1
  236. * Wed Apr 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  237. - new upstream release
  238. * Wed Feb 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-0vl3
  239. - remove bonobo-activation-devel dependancy <BTS:464>
  240. * Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
  241. - add bindtextdomain/bindtextdomain_codeset before initilize help
  242. options to fix corruption of help option message.
  243. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  244. - new upstream release
  245. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.90-0vl1
  246. - new upstream release
  247. * Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0.1-0vl1
  248. - new upstream release
  249. * Sun Aug 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.3-0vl1
  250. - new upstream release
  251. * Fri Aug 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.2-0vl1
  252. - new upstream release
  253. * Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
  254. - new upstream release
  255. * Mon Jul 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
  256. - new upstream release
  257. * Mon Mar 28 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.10.0-0vl2
  258. - patch100 disabled (no va_list problem on current gcc)
  259. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  260. - new upstream version
  261. * Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl5
  262. - change default {icons,cursor,gtk} theme to Vine.
  263. * Sun Mar 06 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8.1-0vl4
  264. - added patch100 for ppc
  265. - (FYI: Inagaki-san's 2.8.1-0vl1 was actually 0vl3)
  266. * Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  267. - new upstream release
  268. * Thu Nov 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8.0-0vl3
  269. - gnome_vfs2_version macro set to 2.5.3
  270. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl2
  271. - update Vine default patches for gnome-2.8
  272. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  273. - new upstream release
  274. * Tue Mar 9 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl3
  275. - change default wallpaper to default.jpg
  276. - add Requires: vine-backgrouonds >= 2.0
  277. * Mon Sep 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  278. - fix default-theme patch
  279. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  280. - new upstream release
  281. * Tue Aug 19 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl1
  282. - new upstream release
  283. * Wed Jun 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl2
  284. - update patch0 to use NeoVine as default gtk theme
  285. * Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  286. - new upstream release
  287. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  288. - new upstream release
  289. * Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
  290. - new upstream release
  291. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  292. - new upstream release
  293. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
  294. - new upstream release
  295. * Wed Dec 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  296. - new upstream release
  297. * Sat Dec 14 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
  298. - build for Vine Linux
  299. - new upstream release (gnome-2.1.4)
  300. * Wed Aug 28 2002 Matt Wilson <msw@redhat.com> 2.0.2-5
  301. - added libgnome-2.0.2-program-init.patch to enable correct module
  302. initialization when gnome_program_init is called after
  303. gnome_program_module_register
  304. * Wed Aug 21 2002 Elliot Lee <sopwith@redhat.com> 2.0.2-4
  305. - Fix #64908 with patch3 (scoreloc)
  306. - Add smp_mflags
  307. * Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
  308. - s/Wonderland/Bluecurve/
  309. * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
  310. - change default background to new spec from garrett
  311. * Wed Aug 7 2002 Havoc Pennington <hp@redhat.com>
  312. - 2.0.2
  313. * Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com>
  314. - Add schema for monospaced font
  315. * Wed Jun 26 2002 Owen Taylor <otaylor@redhat.com>
  316. - Fix find_lang
  317. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  318. - 2.0.1
  319. - put bonobo monikers in file list (don't know what they
  320. do, but assuming they do something)
  321. - include /etc/sound in file list
  322. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  323. - rebuild in different environment
  324. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  325. - change default gtk theme to Wonderland
  326. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  327. - rebuild in different environment
  328. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  329. - 1.117.2
  330. - add ldconfig calls
  331. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  332. - rebuild in different environment
  333. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  334. - rebuild in different environment
  335. - add bonobo-activation build requires
  336. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  337. - 1.117.1
  338. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  339. - 1.116.0
  340. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  341. - 1.114.0
  342. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  343. - 1.111.0
  344. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  345. - Version 1.110.0
  346. * Tue Jan 22 2002 Havoc Pennington <hp@redhat.com>
  347. - remove bogus dependency on libdb1
  348. * Thu Jan 3 2002 Havoc Pennington <hp@redhat.com>
  349. - fix the post script
  350. * Thu Jan 3 2002 Havoc Pennington <hp@redhat.com>
  351. - 1.108.0.90 cvs snap
  352. * Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
  353. - fix .schemas in post
  354. * Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
  355. - update CVS snap to 1.107.0.90, glib 1.3.11
  356. - add libxslt dep
  357. - require specific versions of dependent libs
  358. - add bunch of missing stuff to file list
  359. - install gconf schemas in post
  360. * Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
  361. - well, you only get the new CVS snap if you actually change the version in the spec file, doh
  362. * Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
  363. - new cvs snap, rebuild for glib 1.3.10, remove gtk requires
  364. * Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
  365. - new CVS snap, rebuild in 7.2-gnome
  366. * Tue Sep 18 2001 Havoc Pennington <hp@redhat.com>
  367. - Initial build.
  368. - remove gtk2 dependency, doh