gnome-libs-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. # Note that this is NOT a relocatable package
  2. %define name gnome-libs
  3. %define ver 1.4.2
  4. %define rel 5%{?_dist_release}
  5. Summary: The libraries needed to run the GNOME GUI desktop environment.
  6. Summary(ja): GNOME GUI デスクトップ環境に必要なライブラリ集
  7. Name: %name
  8. Version: %ver
  9. Release: %rel
  10. License: LGPL
  11. Group: System Environment/Libraries
  12. Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.4/%{name}-%{ver}.tar.bz2
  13. Source2: gnome-libs-pofiles.tar.gz
  14. URL: http://www.gnome.org/
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: libutempter-devel
  17. BuildRequires: zlib-devel
  18. BuildRequires: db4-devel
  19. BuildRequires: imlib-devel
  20. BuildRequires: esound-devel
  21. BuildRequires: ORBit-devel
  22. BuildRequires: glib-devel
  23. BuildRequires: gtk+-devel >= 1.2.5
  24. BuildRequires: libpng-devel >= 1.2.5
  25. BuildRequires: libXt-devel
  26. BuildRequires: libXpm-devel
  27. BuildRequires: automake14
  28. BuildRequires: autoconf213
  29. Requires: gtk+ >= 1.2.5
  30. Requires: libpng >= 1.2.5
  31. Requires: gnome-audio
  32. #Requires: utempter
  33. Requires: ORBit
  34. Requires: imlib
  35. Obsoletes: gnome
  36. # Red Hat-specific patches are prefaced with RH, please.
  37. Patch5: gnome-libs-gtkrc.patch
  38. Patch25: http://www.kr.freebsd.org/~hwang/patch/gnome-icon-item.c-preedit-diff
  39. # Enable setting canvas into a "bghack" mode with gtk_object_set_data
  40. Patch34: gnome-libs-1.2.13-bghack.patch
  41. Patch40: gnome-libs-1.4.1.2.90-png10.patch
  42. Patch41: gnome-libs-1.4.1.2.90-db1.patch
  43. Patch42: gnome-libs-1.4.1.2.90-ac25.patch
  44. Patch44: gnome-libs-1.4.1.2.90-alpha_size_t.patch
  45. Patch45: gnome-libs-1.4.1.2.90-moz-remote-fix.patch
  46. Patch46: gnome-libs-1.4.1.2.90-ghelp.patch
  47. Patch50: gnome-libs-1.2.13-config-dir-variable.patch
  48. Patch52: gnome-libs-1.4.1.2.90-htmlview.patch
  49. Patch53: gnome-libs-1.4.1.2.90-remove-duplicate-definition.patch
  50. # Fedora patches
  51. Patch80: gnome-libs-1.4.2-multilib.patch
  52. Patch81: gnome-libs-1.4.2-dateedit-fix1.patch
  53. # source/patch for vine
  54. Source100: gnome-libs-gtkrc.ja
  55. Patch100: gnome-libs-1.0.61-fontset.patch
  56. Patch101: gnome-libs-1.2.8-vine-font.patch
  57. Patch107: gnome-libs-1.2.4-zvt-fontsize.patch
  58. Patch108: gnome-libs-1.2.12-config.patch
  59. Patch109: gnome-libs-1.4.2-db48.patch
  60. Patch110: gnome-libs-1.4.2-noxalf.patch
  61. Patch111: gnome-libs-1.4.2-dentry.patch
  62. Patch112: gnome-libs-1.4.2-html_escape.patch
  63. Patch113: gnome-libs-1.4.2-vine-font.patch
  64. Patch120: gnome-libs-1.4.2-iconfont.patch
  65. # patch from kondara
  66. Patch200: gnome-libs-1.0.55-i18nfix.patch
  67. Packager: inagaki
  68. %description
  69. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  70. GUI applications and desktop tools to be used in conjunction with a
  71. window manager for the X Window System. The gnome-libs package
  72. includes libraries that are needed to run GNOME.
  73. %description -l ja
  74. GNOME (GNU Network Object Model Environment) は、
  75. Xウィンドウ・システム用ウィンドウマネージャと結合して利用される、
  76. ユーザ・フレンドリなGUIアプリケーションとデスクトップ・ツールの
  77. セットです。gnome-libsパッケージはGNOMEの実行に必要なライブラリ
  78. 郡を含んでいます。
  79. %package devel
  80. Summary: Libraries and include files for developing GNOME applications.
  81. Summary(ja): GNOMEアプリケーション開発用のライブラリとインクルードファイル郡
  82. Group: Development/Libraries
  83. Requires: %{name} = %{version}-%{release}
  84. Requires: imlib-devel
  85. Requires: ORBit-devel
  86. Requires: esound-devel
  87. Requires: gtk+-devel
  88. Obsoletes: gnome-devel
  89. Provides: pkgconfig(gnomeui) = %{version}
  90. %description devel
  91. GNOME (GNU Network Object Model Environment) is a user-friendly set of
  92. GUI applications and desktop tools to be used in conjunction with a
  93. window manager for the X Window System. The gnome-libs-devel package
  94. includes the libraries and include files that you will need to develop
  95. GNOME applications.
  96. You should install the gnome-libs-devel package if you would like to
  97. develop GNOME applications. You don't need to install gnome-libs-devel
  98. if you just want to use the GNOME desktop environment.
  99. %description -l ja
  100. GNOME (GNU Network Object Model Environment) は、
  101. Xウィンドウ・システム用ウィンドウマネージャと結合して利用される、
  102. ユーザ・フレンドリなGUIアプリケーションとデスクトップ・ツールの
  103. セットです。gnome-libs-develパッケージはGNOMEアプリケーションの
  104. 開発に必要なライブラリ郡を含んでいます。
  105. GNOMEアプリケーションを開発したい場合、gnome-libs-develパッケージ
  106. をインストールする必要があります。単にGNOMEデスクトップ環境を利用
  107. するだけなら、gnome-libs-develパッケージは必要ありません。
  108. %prep
  109. %setup -q
  110. cp %{SOURCE100} libgnomeui/gtkrc.ja
  111. %patch5 -p1 -b .gtkrc
  112. %patch25 -p0 -b .iconedit
  113. %patch34 -p1 -b .bghack
  114. ## using a perl munge instead to avoid rerunning autoconf
  115. # %patch40 -p1 -b .png10
  116. # %patch41 -p1 -b .db1
  117. %patch42 -p1 -b .ac25
  118. %patch44 -p1 -b .alpha_size_t
  119. %patch45 -p1 -b .moz-remote-fix
  120. %patch46 -p1 -b .ghelp
  121. %patch50 -p1 -b .config-dir-variable
  122. %patch52 -p1 -b .htmlview
  123. %patch53 -p1 -b .remove-duplicate-definition
  124. %patch80 -p1 -b .multilib
  125. %patch81 -p1 -b .dateedit-fix1
  126. %patch100 -p1 -b .fontset
  127. #%patch101 -p1 -b .vine-font
  128. %patch107 -p1 -b .zvt-fontsize
  129. %patch108 -p1 -b .config
  130. %patch109 -p1 -b .db46
  131. %patch110 -p1 -b .noxalf
  132. %patch111 -p1 -b .dentry
  133. %patch112 -p1 -b .html_escape
  134. %patch113 -p1 -b .vine-font
  135. %patch120 -p0 -b .iconfont
  136. %patch200 -p1 -b .i18nfix
  137. # translations
  138. tar zxf %{SOURCE2}
  139. %build
  140. #libtoolize --copy --force
  141. ## the gtkrc patch changes a Makefile.am
  142. automake-1.4
  143. autoconf-2.13
  144. %configure --disable-static \
  145. --enable-prefer-db1 \
  146. --with-kde-datadir=/usr/share \
  147. --disable-gtk-doc
  148. make %{?_smp_mflags}
  149. %install
  150. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  151. %makeinstall
  152. mv $RPM_BUILD_ROOT%{_datadir}/doc/gnome-doc $RPM_BUILD_ROOT%{_bindir}
  153. chmod a+x $RPM_BUILD_ROOT%{_bindir}/gnome-doc
  154. mv $RPM_BUILD_ROOT%{_datadir}/doc/mkstub $RPM_BUILD_ROOT%{_bindir}
  155. chmod a+x $RPM_BUILD_ROOT%{_bindir}/mkstub
  156. %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
  157. mv $RPM_BUILD_ROOT%{_datadir}/doc/gnome-doc.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
  158. %find_lang %{name}
  159. ## remove unused files
  160. rm -f $RPM_BUILD_ROOT%{_prefix}/doc/*
  161. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  162. rm -f $RPM_BUILD_ROOT%{_datadir}/doc/*
  163. rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc/*
  164. %clean
  165. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  166. %post -p /sbin/ldconfig
  167. %postun -p /sbin/ldconfig
  168. %files -f %{name}.lang
  169. %defattr(-, root, root)
  170. %doc AUTHORS COPYING ChangeLog NEWS README
  171. %{_bindir}/dns-helper
  172. %{_bindir}/gconfigger
  173. %{_bindir}/gnome-bug
  174. %{_bindir}/gnome-dump-metadata
  175. %{_bindir}/gnome-gen-mimedb
  176. %{_bindir}/gnome-moz-remote
  177. %{_bindir}/gnome-name-service
  178. %{_bindir}/gnome_segv
  179. %{_bindir}/goad-browser
  180. %{_bindir}/loadshlib
  181. %{_bindir}/new-object
  182. %attr(2755, root, utmp) %{_sbindir}/gnome-pty-helper
  183. %{_libdir}/lib*.so.*
  184. %{_datadir}/idl/*
  185. %{_datadir}/pixmaps/*
  186. %{_datadir}/mime-info/gnome.mime
  187. %{_datadir}/type-convert/*
  188. %{_mandir}/man1/*
  189. %{_mandir}/man5/*
  190. %config %{_sysconfdir}/*
  191. %files devel
  192. %defattr(-, root, root)
  193. %doc devel-docs
  194. %{_bindir}/gnome-config
  195. %{_bindir}/libart-config
  196. %{_bindir}/gnome-doc
  197. %{_bindir}/mkstub
  198. %{_libdir}/lib*.so
  199. #{_libdir}/*.a
  200. #{_libdir}/*.la
  201. %{_libdir}/*.sh
  202. %{_libdir}/gnome-libs
  203. %{_includedir}/*
  204. %{_datadir}/aclocal/*
  205. %{_datadir}/gnome
  206. %{_datadir}/emacs/site-lisp/*
  207. %changelog
  208. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.2-5
  209. - added Provides: pkgconfig(gnomeui) in %%package %{name}-devel
  210. from fedora:
  211. * Thu Mar 5 2009 Paul Howarth <paul@city-fan.org> 1:1.4.2-13
  212. - Provide pkgconfig(gnomeui) needed to satisfy autogenerated dependency in
  213. libglade and possibly other packages built on gnome-libs; an actual .pc file
  214. isn't needed because pkg-config knows to use gnome-config for this
  215. * Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.2-4
  216. - rebuilt with rpm-4.8.1 for pkg-config
  217. * Fri Feb 12 2010 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.2-3
  218. - rebuilt with db4-4.8
  219. - updated Patch109: gnome-libs-1.4.2-db48.patch
  220. * Sat May 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-2
  221. - updated Patch109 for using db-4.6.21
  222. - BuildRequires: libutempter-devel instead of utempter
  223. - removed lib*.a
  224. * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.2-1vl5
  225. - removed lib*.la
  226. - removed unused files
  227. - applied new versioning policy and spec in utf-8
  228. * Sat Jun 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl8
  229. - rebuilt for fixing libgnorba.la
  230. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl7
  231. - rebuilt with new toolchains/environment
  232. - updated Patch109 for using db-4.3.29
  233. - added patches from Fedora
  234. * Fri Mar 9 2007 Paul Howarth <paul@city-fan.org> 1:1.4.2-5
  235. - Fix GnomeDateEdit time format regression (#230186)
  236. * Tue Feb 13 2007 Paul Howarth <paul@city-fan.org> 1:1.4.2-4
  237. - Fix multilib conflict in /etc/mime-magic.dat (#228361)
  238. * Tue Feb 28 2006 Shu KONNO <owa@bg.wakwak.com> 1.4.2-0vl6
  239. - dropt libtoolize
  240. - rebuilt for x86_64 architecture
  241. * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.2-0vl5
  242. - rebuilt with db4-4.2.25
  243. - --disable-gtk-doc
  244. * Tue Dec 23 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl4
  245. - rebuilt with new toolchains
  246. - added Patch120 from Vine Linux 2.6r3 release
  247. - s/Copyright/License/
  248. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.2-0vl3
  249. - rebuilt against libpng >= 1.2.5
  250. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.2-0vl2
  251. - rebuilt against db4 (disabled Patch41, added Patch109)
  252. * Fri Oct 25 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1
  253. - new upstream release.
  254. - cleaned patch files (several was merged source)
  255. - noxalf.pactch was renewal (Patch110)
  256. - vine-font.patch was renewal (Patch113)
  257. * Tue Dec 18 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.1.2-0vl1
  258. - New upstream release.
  259. - Merged several RH patches.
  260. * Wed Mar 21 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2.13-0vl1
  261. - New upstream release.
  262. - Use rpmmacros.
  263. * Sat Dec 9 2000 Jun Nishii <jun@vinelinux.org>
  264. - 1.2.8-0vl1
  265. * Mon Oct 16 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl3
  266. - zvt default font size changed
  267. * Mon Oct 16 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl2
  268. - XmHTML default font size changed
  269. * Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  270. - updated to 1.2.4
  271. - added dialog_default patch to focus a specfied button for keybord.
  272. * Fri Jun 21 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  273. - updated to 1.2.3
  274. * Mon Jun 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  275. - added vine's gtkrc.ja.
  276. * Fri Jun 2 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  277. - updated to 1.2.1
  278. * Wed May 31 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  279. - modified zvt_mb pach to fix threshold value of MB_CUR_MAX for glibc 2.1.3.
  280. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  281. - updated 1.2.0
  282. * Tue May 16 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  283. - updated 1.0.61
  284. * Mon May 8 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  285. - updated 1.0.60
  286. - removed some RH patch (RH-snd*) merged.
  287. - add japo_fix patch to fix a bug that make popt to segfault.
  288. * Wed Mar 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  289. - updated 1.0.57
  290. - remake SPEC from RH6.2 for vine
  291. * Mon Feb 21 2000 Preston Brown <pbrown@redhat.com>
  292. - keyboard mapping follows debian policy, xterm
  293. * Tue Feb 15 2000 Owen Taylor <otaylor@redhat.com>
  294. - Add checks to make sure gnome-terminal survives if the
  295. bg pixmap vanishes.
  296. * Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
  297. - Install gtkrc files in /etc/gnome
  298. * Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
  299. - Remove broken alpha timeval fix, fix bug in configure.in
  300. that was misdetecting ut_tv field of utmpx
  301. * Thu Feb 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  302. - Fix up escape sequences in zvt (Bug #9143)
  303. * Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com>
  304. - Accept true/yes/non-zero as TRUE for gnome-config boolean values.
  305. * Wed Feb 03 2000 Havoc Pennington <hp@redhat.com>
  306. - set ECHOK for terminal widget, bug 8823
  307. * Wed Feb 02 2000 Havoc Pennington <hp@redhat.com>
  308. - include man pages in the file list, also bug 8017
  309. * Wed Feb 02 2000 Havoc Pennington <hp@redhat.com>
  310. - Fix an alpha warning bugzilla #8017
  311. * Tue Feb 01 2000 Elliot Lee <sopwith@redhat.com>
  312. - Update to 1.0.55
  313. * Tue Aug 31 1999 Elliot Lee <sopwith@redhat.com>
  314. - Update to 1.0.15
  315. * Mon Aug 30 1999 Elliot Lee <sopwith@redhat.com>
  316. - Merge in various minor things from RHL
  317. * Mon Jun 14 1999 Gregory McLean <gregm@comstar.net>
  318. - Added the -q option to the setup stage, quiet please!
  319. * Tue Mar 2 1999 Gregory McLean <gregm@comstar.net>
  320. - Added some hackage in for the brain dead libtool on the alpha
  321. - Cleaned up the spec file abit to be more consistant.
  322. * Wed Feb 17 1999 Elliot Lee <sopwith@redhat.com>
  323. - Add debugging disabling flags to $CFLAGS
  324. * Fri Nov 20 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
  325. - use --localstatedir=/var/lib in config state (score files for games
  326. for exemple will go there).
  327. - added several more files to %files section, in particular language
  328. files and corba IDLs
  329. * Wed Sep 23 1998 Michael Fulbright <msf@redhat.com>
  330. - Updated to version 0.30
  331. * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
  332. - Added %{prefix}/lib/gnome-libs
  333. * Fri Mar 13 1998 Marc Ewing <marc@redhat.com>
  334. - Integrate into gnome-libs source tree