libgnome-vl.spec 15 KB

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