gnome-core-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. # Note that this is NOT a relocatable package
  2. %define ver 1.4.0.4
  3. %define rel 0vl7
  4. Summary: The core programs for the GNOME GUI desktop environment.
  5. Summary(ja): GNOME GUI デスクトップ環境のコア・プログラム
  6. Name: gnome-core
  7. Version: %{ver}
  8. Release: %{rel}
  9. Copyright: LGPL
  10. Group: System Environment/Base
  11. Buildroot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
  12. URL: http://www.gnome.org
  13. Obsoletes: gnome
  14. Prereq: /sbin/install-info
  15. BuildPreReq: xml-i18n-tools
  16. BuildPreReq: gnome-libs-devel
  17. BuildPreReq: glib-devel
  18. BuildPreReq: gtk+-devel
  19. BuildPreReq: ORBit-devel
  20. BuildPreReq: gdk-pixbuf-devel
  21. BuildPreReq: bzip2-devel
  22. BuildPreReq: scrollkeeper
  23. BuildPreReq: gtk-doc
  24. BuildPreReq: autoconf213
  25. BuildPreReq: automake14
  26. Requires: %{name}-libs = %{version}-%{release}
  27. Requires: gnome-libs >= 1.2.0
  28. Requires: ORBit >= 0.5.0
  29. Requires: gdk-pixbuf >= 0.7.0
  30. Requires: xscreensaver >= 3.17-4
  31. Requires: magicdev
  32. Requires: gdk-pixbuf >= 0.7.0
  33. Requires: vine-logos >= 1.2.1
  34. Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{ver}.tar.bz2
  35. # for Kterm and misc by Vine
  36. Source1: pofuzclr.awk
  37. Source2: pohack.awk
  38. Source10: gnome-term-kterm.png
  39. Source11: Kterm.desktop
  40. Source12: System.order
  41. Source14: Development.directory
  42. Source15: gnome-panel-properties.desktop
  43. Source16: gnome-core-1.2.0-ja.po
  44. Source21: gnome-core-vine_panel.hints
  45. # Red Hat
  46. Source50: gnome-ccdesktop.png
  47. Source51: gnome-devel.png
  48. Source52: gnome-gnomoku.png
  49. Source53: gnome-multimedia.png
  50. Source54: gnome-panel.png
  51. Source55: gnome-util.png
  52. # Red Hat patches
  53. Patch2: gnome-core-1.0.54-smallfont.patch
  54. Patch5: gnome-core-1.2.1-nodesktops.patch
  55. Patch9: gnome-core-1.2.1-rectfix.patch
  56. Patch11: gnome-core-1.4.0.3-terminal_mb-0.4.patch
  57. Patch12: gnome-core-1.2.1-japanese-default-page.patch
  58. Patch14: gnome-core-1.4.0.3-defaultapplets.patch
  59. Patch23: gnome-core-nohttp.patch
  60. Patch25: gnome-core-1.2.4-newinfopath.patch
  61. Patch30: gnome-core-1.4.0.3-multibyteoption.patch
  62. Patch55: gnome-core-1.3.1-magicdev.patch
  63. # for Vine Linux
  64. Patch71: gnome-core-1.4.0.4-vine_default_session.patch
  65. Patch72: gnome-core-1.3.1-vine_fontset.patch
  66. Patch73: gnome-core-1.4.0.3-mailcheck.patch
  67. Patch74: gnome-core-1.4.0.3-foobar-vl.patch
  68. Patch75: gnome-core-1.4.0.4-splash-vl.patch
  69. Patch76: gnome-core-1.4.0-config.patch
  70. Patch77: gnome-core-1.4.0.4-panelsegvfix.patch
  71. Patch78: gnome-core-1.4.0.4-vine_default_session2.patch
  72. Patch79: gnome-core-1.4.0.4-console-lock.patch
  73. # FIXME: Ad-Hoc patch to add gdk_pixbuf cflags in gnome-about
  74. Patch100: gnome-core-1.4.0.4-adhoc-gdkpixbuf.patch
  75. %description
  76. GNOME (GNU Network Object Model Environment) is a user-friendly
  77. set of applications and desktop tools to be used in conjunction with a
  78. window manager for the X Window System. GNOME is similar in purpose and
  79. scope to CDE and KDE, but GNOME is based completely on free
  80. software. The gnome-core package includes the basic programs and
  81. libraries that are needed to install GNOME.
  82. You should install the gnome-core package if you would like to use the
  83. GNOME desktop environment. You'll also need to install the gnome-libs
  84. package. If you would like to develop GNOME applications, you'll also
  85. need to install gnome-libs-devel. If you want to use linuxconf with a
  86. GNOME front end, you'll also need to install the gnome-linuxconf package.
  87. %description -l ja
  88. GNOME (GNU Network Object Model Environment)は、
  89. Xウィンドウシステム用の、ウィンドウマネージャと連結した
  90. GUIアプリケーションおよびデスクトップツールのユーザフレ
  91. ンドリー・セットです。 GNOMEは目的からするとCDEやKDEと
  92. 同じ視野に立っていますが、GNOMEは完全にフリーなソフトウェ
  93. アに基づいています。gnome-coreパッケージは、GNOMEのイン
  94. ストールに必要な基本プログラムとライブラリが含まれてい
  95. ます。
  96. GNOMEデスクトップ環境を使用したいなら、gnome-coreパッケ
  97. ージをインストールしてください。 gnome-libsパッケージも
  98. 同時に必要です。GNOMEアプリケーションの開発を行いたい
  99. 場合, さらにgnome-libs-develも必要になります。linuxconf
  100. をGNOMEフロントエンドで使いたい場合、gnome-linuxconfパッ
  101. ケージを追加でインストールしてください。
  102. %package devel
  103. Summary: GNOME core libraries, includes and more.
  104. Summary(ja): GNOMEパネル開発ためのコア・ライブラリとヘッダファイル
  105. Group: Development/Libraries
  106. Requires: %{name} = %{PACKAGE_VERSION}
  107. Requires: %{name}-libs = %{PACKAGE_VERSION}
  108. Requires: gnome-libs-devel
  109. PreReq: /sbin/install-info
  110. %description devel
  111. Panel libraries and header files for creating GNOME panels.
  112. %description devel -l ja
  113. GNOMEパネルを作成するためのパネルライブラリおよびヘッダファイルです。
  114. %package libs
  115. Summary: GNOME core libraries
  116. Summary(ja): GNOMEパネル開発ためのコア・ライブラリ
  117. Group: Development/Libraries
  118. %description libs
  119. Panel libraries
  120. %description libs -l ja
  121. GNOMEパネルを作成するためのパネルライブラリです。
  122. %prep
  123. %setup -q
  124. cp %{SOURCE21} panel/panel.hints
  125. cp %{SOURCE50} pixmaps/
  126. cp %{SOURCE51} pixmaps/
  127. cp %{SOURCE52} pixmaps/
  128. cp %{SOURCE53} pixmaps/
  129. cp %{SOURCE54} pixmaps/
  130. cp %{SOURCE55} pixmaps/
  131. %patch2 -p1 -b .smallfont
  132. %patch5 -p1 -b .nodesktops
  133. %patch9 -p1 -b .rectfix
  134. %patch11 -p1 -b .jpterm
  135. %patch12 -p1 -b .nbsp
  136. %patch14 -p1 -b .defaultapplets
  137. %patch23 -p1 -b .nohttp
  138. %patch25 -p1 -b .newinfopatch
  139. %patch30 -p1 -b .multibyteoption
  140. %patch55 -p1 -b .magicdev
  141. # for Vine
  142. %patch71 -p1 -b .vine_default
  143. %patch72 -p1 -b .vine_fontset
  144. %patch73 -p1 -b .mailcheck
  145. %patch74 -p1 -b .foobar
  146. %patch75 -p1 -b .splash
  147. %patch76 -p1 -b .config
  148. %patch77 -p1 -b .panelfix
  149. %patch78 -p1 -b .vine_default2
  150. %patch79 -p1 -b .console
  151. # FIXME: Ad-Hoc patch to add gdk_pixbuf cflags in gnome-about
  152. %patch100 -p1 -b .adhoc-gdkpixbuf
  153. %build
  154. autoheader-2.13
  155. automake-1.4
  156. autoconf-2.13
  157. %configure --with-kde-datadir=/usr/kde/share --with-window-manager=sawfish
  158. pushd po
  159. make update-po
  160. # po
  161. awk -f %{SOURCE1} ja.po > new-ja.po && mv new-ja.po ja.po
  162. awk -f %{SOURCE2} -v key='\"-adobe-helvetica-bold-r-normal-\\\*-\\\*-240-\\\*-\\\*-p-\\\*-\\\*-\\\*\"' -v val="-alias-fixed-bold-r-normal-*-*-240-*-*-*-*-*-*" -v overwrite=1 ja.po > new-ja.po && mv new-ja.po ja.po
  163. awk -f %{SOURCE2} -v key='\"-adobe-helvetica-medium-r-normal-\\\*-8-\\\*-\\\*-\\\*-p-\\\*-\\\*-\\\*\"' -v val="-alias-fixed-medium-r-normal-*-10-*-*-*-*-*-*-*" -v overwrite=1 ja.po > new-ja.po && mv new-ja.po ja.po
  164. awk -f %{SOURCE2} -v key='\"fixed\"' -v val="-alias-fixed-medium-r-normal--16-*-*-*-*-*-*-*" -v overwrite=1 ja.po > new-ja.po && mv new-ja.po ja.po
  165. awk -f %{SOURCE2} -v key='\"-\\\*-helvetica-bold-r-normal-\\\*-\\\*-180-\\\*-\\\*-p-\\\*-\\\*-\\\*\"' -v val="-alias-fixed-bold-r-normal-*-*-180-*-*-*-*-*-*" -v overwrite=1 ja.po > new-ja.po && mv new-ja.po ja.po
  166. awk -f %{SOURCE2} -v key='\"Open IM \\(input method\\)\"' -v val="IM (インプットメソッド)を使う" ja.po > new-ja.po && mv new-ja.po ja.po
  167. awk -f %{SOURCE2} -v key='\"Enable multibyte support\"' -v val="マルチバイト文字サポートを有効" ja.po > new-ja.po && mv new-ja.po ja.po
  168. awk -f %{SOURCE2} -v key='\"Remote APOP-server\"' -v val="リモートのAPOPサーバ" ja.po > new-ja.po && mv new-ja.po ja.po
  169. popd
  170. if [ "$SMP" != "" ]; then
  171. CFLAGS="$RPM_OPT_FLAGS" make -j$SMP "MAKE=make -j$SMP"
  172. else
  173. CFLAGS="$RPM_OPT_FLAGS" make
  174. fi
  175. %install
  176. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  177. %makeinstall
  178. if [ -d $RPM_BUILD_ROOT/usr/man ]; then
  179. find $RPM_BUILD_ROOT/usr/man -type f -exec gzip -9f {} \;
  180. fi
  181. %find_lang %{name}
  182. #
  183. # remove the unnecessary desktop entries for RedHat/Vine
  184. #
  185. rm -f $RPM_BUILD_ROOT%{_datadir}/gnome/apps/*/Netscape.desktop
  186. rm -f $RPM_BUILD_ROOT%{_datadir}/gnome/apps/*/Emacs.desktop
  187. rm -f $RPM_BUILD_ROOT%{_datadir}/gnome/apps/*/GIMP.desktop
  188. #
  189. # install Kterm and some misc files. (for Vine)
  190. #
  191. install -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/pixmaps/
  192. cp %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/gnome/apps/System/
  193. cp %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/gnome/apps/System/.order
  194. cp %{SOURCE14} $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Development/.directory
  195. cp %{SOURCE15} $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/gnome-panel-properties.desktop
  196. #tar zxvf %{SOURCE16} -C $RPM_BUILD_ROOT%{_datadir}/gnome/apps
  197. %clean
  198. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  199. %post -p /sbin/ldconfig
  200. %postun -p /sbin/ldconfig
  201. %files -f %{name}.lang
  202. %defattr(-, root, root)
  203. %doc AUTHORS COPYING ChangeLog NEWS README
  204. %{_bindir}/*
  205. %{_datadir}/applets
  206. %{_datadir}/gnome/apps/*
  207. %{_datadir}/gnome/help/*
  208. %{_datadir}/gnome/hints/*
  209. %{_datadir}/gnome-about/*
  210. %{_datadir}/gnome-terminal/*
  211. %{_datadir}/idl/*
  212. %{_datadir}/control-center/*
  213. %{_datadir}/pixmaps/*
  214. %config %{_sysconfdir}/*
  215. %config %{_datadir}/gnome/default.session
  216. %config %{_datadir}/gnome/default.wm
  217. %files devel
  218. %defattr(-, root, root)
  219. %{_libdir}/*.sh
  220. %{_libdir}/*a
  221. %{_libdir}/lib*.so
  222. %{_includedir}/*
  223. %files libs
  224. %defattr(-, root, root)
  225. %{_libdir}/lib*.so.*
  226. %changelog
  227. * Sat Jan 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0.4-0vl7
  228. - split libraries to gnome-core-libs subpackage
  229. * Sun Apr 13 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.4.0.4-0vl6
  230. - rebuild
  231. * Mon Aug 12 2002 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 1.4.0.4-0vl5
  232. - Patch79: pam_console lock directory changed.
  233. - fix Summary(ja)
  234. * Wed Mar 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0.4-0vl4
  235. - add gedit/emacs on default panel
  236. * Sun Mar 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0.4-0vl3
  237. - change default panel
  238. - FIXME: adhoc Patch100
  239. gnome-about,applets/gen_util needs gdk_pixbuf,
  240. but its cflags does not appear in Makefile.am.
  241. * Mon May 14 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0.4-0vl1
  242. - New upstream release.
  243. * Mon May 7 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0.3-0vl1
  244. - New upstream release.
  245. * Fri Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0.2-0vl1
  246. - New upstream release.
  247. - Added some build depends.
  248. * Tue Apr 3 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0.1-0vl1
  249. - New upstream release.
  250. * Sat Mar 24 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0-0vl3
  251. - Fixed defattr macro.
  252. * Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0-0vl2
  253. - Fixed load the panel icon after restart GNOME.
  254. * Fri Mar 16 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0-0vl1
  255. - New upstream release.
  256. - Use rpmmacros.
  257. - Added some RH bug fix patch.
  258. * Sat Dec 9 2000 Jun Nishii <jun@vinelinux.org>
  259. - 1.2.1-0vl4
  260. - change startup pic as vine-gnome-splash2.png by lain
  261. - move vine-gnome-splash.png by Mr.Furukawa is moved to vine-logos.
  262. * Tue Oct 10 2000 Jun Nishii <jun@vinelinux.org>
  263. - fix %defattr
  264. * Sun Oct 1 2000 Jun Nishii <jun@vinelinux.org>
  265. - 1.2.1-0vl2
  266. - change menu (vmail->sylpheed)
  267. * Wed Jun 7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  268. - updated to 1.2.1
  269. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  270. - updated to 1.2.0
  271. * Tue May 09 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  272. - updated to 1.1.9
  273. - remove tasklist_fix patch merged
  274. - added new gnome-hints included japanese.
  275. * Tue Apr 14 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  276. - updated to 1.1.8
  277. * Thu Apr 4 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  278. - updated to 1.1.7
  279. - renew spec file from the file attached with gnome-core source.
  280. * Sat Feb 26 2000 Gregory McLean <gregm@comstar.net>
  281. - Updated to 1.1.4
  282. - Autogenerate the %files section.
  283. * Sat Oct 16 1999 Gregory McLean <gregm@comstar.net>
  284. - Updated to 1.0.50
  285. - Sorted the language specific stuff out.
  286. * Sun Oct 03 1999 Gregory McLean <gregm@comstar.net>
  287. - updated to 1.0.50
  288. - Overhauled the %files section.
  289. * Sat Nov 21 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
  290. - Cleaned %files section
  291. - added spanish and french translations for rpm
  292. * Wed Sep 23 1998 Michael Fulbright <msf@redhat.com>
  293. - Built 0.30 release
  294. * Fri Mar 13 1998 Marc Ewing <marc@redhat.com>
  295. - Integrate into gnome-core CVS source tree