gnome-terminal-vl.spec 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. %define gettext_package gnome-terminal
  2. %define glib2_version 2.24.0
  3. %define gtk2_version 2.20.0
  4. %define gconf2_version 2.28.0
  5. %define vte_version 0.24.0
  6. %define startup_notification_version 0.8
  7. %define desktop_file_utils_version 0.10
  8. Summary: GNOME Terminal
  9. Summary(ja): GNOME ターミナル
  10. Name: gnome-terminal
  11. Version: 2.30.2
  12. Release: 1%{?_dist_release}
  13. URL: http://www.gnome.org
  14. Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/2.30/%{name}-%{version}.tar.bz2
  15. Patch10: %{name}-2.22.0-i18n-help.patch
  16. License: GPL
  17. Group: User Interface/Desktops
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Requires: vte >= %{vte_version}
  20. Requires(post,pre,preun): GConf2
  21. Obsoletes: gnome-terminal2
  22. BuildRequires: glib2-devel >= %{glib2_version}
  23. BuildRequires: gtk2-devel >= %{gtk2_version}
  24. BuildRequires: GConf2-devel >= %{gconf2_version}
  25. BuildRequires: vte-devel >= %{vte_version}
  26. BuildRequires: dbus-glib-devel
  27. BuildRequires: startup-notification-devel >= %{startup_notification_version}
  28. BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
  29. BuildRequires: libSM-devel
  30. BuildRequires: gnome-doc-utils >= 0.3.2
  31. BuildRequires: docbook-utils
  32. %description
  33. GNOME terminal emulator application.
  34. %description -l ja
  35. GNOME 端末エミュレータです。
  36. %prep
  37. %setup -q
  38. %patch10 -p1 -b .i18n-help
  39. %build
  40. %configure --with-widget=vte --disable-schemas-install --disable-scrollkeeper
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  45. %makeinstall
  46. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  47. desktop-file-install --vendor gnome --delete-original \
  48. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  49. --add-only-show-in GNOME \
  50. $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
  51. %find_lang %{gettext_package}
  52. # remove unpackaged files
  53. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %post
  57. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  58. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null
  59. %pre
  60. if [ "$1" -gt 1 ]; then
  61. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  62. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null
  63. fi
  64. %preun
  65. if [ "$1" -eq 0 ]; then
  66. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  67. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null
  68. fi
  69. %files -f %{gettext_package}.lang
  70. %defattr(-,root,root)
  71. %doc AUTHORS COPYING ChangeLog NEWS README
  72. %{_bindir}/*
  73. %{_datadir}/applications/*.desktop
  74. %{_datadir}/gnome-terminal
  75. %{_datadir}/gnome
  76. %{_datadir}/omf
  77. %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
  78. %changelog
  79. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.2-1
  80. - new upstream release
  81. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.1-1
  82. - new upstream release
  83. - add BuildRequires: docbook-utils
  84. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  85. - new upstream release
  86. - add BuildRequires: libSM-devel, gnome-doc-utils
  87. * Tue Mar 2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.1-2
  88. - rebuilt with new toolchain
  89. * Sun Nov 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  90. - new upstream release
  91. * Thu Jul 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3.1-1
  92. - new upstream release
  93. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  94. - new upstream release
  95. * Thu Apr 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  96. - new upstream release
  97. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  98. - new upstream release
  99. * Wed Mar 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.3-1
  100. - new upstream release
  101. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1.1-1
  102. - new upstream release
  103. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  104. - new upstream release
  105. * Mon Aug 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.3-1
  106. - new upstream release
  107. * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  108. - new upstream release
  109. * Mon Apr 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  110. - new upstream release
  111. * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  112. - new upstream release
  113. - updated Patch10
  114. * Sat Jan 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.4-0vl1
  115. - new upstream release
  116. * Sun Jun 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.1-0vl1
  117. - new upstream release
  118. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  119. - new upstream release
  120. * Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2
  121. - add Patch10 to fix corruption of help option message.
  122. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  123. - new upstream release
  124. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  125. - new upstream release
  126. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  127. - new upstream release
  128. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.91-0vl1
  129. - new upstream release
  130. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  131. - new upstream release
  132. * Tue Mar 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  133. - new upstream version
  134. * Sat Feb 26 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-0vl1
  135. - new upstream release
  136. - added application-registry to %files
  137. * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  138. - new upstream release
  139. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl2
  140. - rebuild with gtk2-2.4.0/glib2-2.4.0
  141. * Sat Jan 31 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl1
  142. - new upstream release
  143. * Tue Sep 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0.1-0vl1
  144. - new upstream release
  145. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  146. - fixed missing locale files
  147. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  148. - new upstream release
  149. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.2-0vl1
  150. - new upstream release
  151. * Sun May 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  152. - new upstream release
  153. * Sat Feb 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  154. - new upstream release
  155. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  156. - new upstream release
  157. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl3
  158. - fixed %%files bug
  159. * Sun Jan 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl2
  160. - update ja.po
  161. - add obsoletes gnome-terminal-zvt
  162. * Sun Jan 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
  163. - new upstream release
  164. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl4
  165. - remove redhat category
  166. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl2
  167. - add desktop files
  168. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1
  169. - build for Vine Linux
  170. * Mon Sep 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.1-5
  171. - fix goofy audible bell checkbox (backport from HEAD)
  172. * Mon Sep 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.1-4
  173. - fix incorrect regexp which matched newlines as parts of URLs (#71349)
  174. * Fri Aug 23 2002 Jonathan Blandford <jrb@redhat.com>
  175. - Clean up keyboard handling.
  176. * Tue Aug 13 2002 Havoc Pennington <hp@redhat.com>
  177. - require latest vte
  178. * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
  179. - 2.0.1 released version instead of cvs snap
  180. - clean up unpackaged files
  181. * Thu Aug 8 2002 Nalin Dahyabhai <nalin@redhat.com>
  182. - pick up widget padding
  183. * Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com>
  184. - Use monospace preference for system font
  185. * Thu Jul 18 2002 Nalin Dahyabhai <nalin@redhat.com>
  186. - rebuild in new environment
  187. * Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
  188. - 2.0.0.90 cvs snap
  189. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  190. - automated rebuild
  191. * Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
  192. - rebuild in different environment
  193. * Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
  194. - 2.0.0
  195. - use desktop-file-install
  196. - put bonobo server file in file list
  197. - put help files in file list
  198. - apply some fixes from CVS (or rather, that I'm going to
  199. check in to CVS soon)
  200. * Fri Jun 14 2002 Nalin Dahyabhai <nalin@redhat.com>
  201. - rebuild in different environment
  202. * Fri Jun 14 2002 Nalin Dahyabhai <nalin@redhat.com>
  203. - add patch to handle vte abi change
  204. * Tue Jun 11 2002 Havoc Pennington <hp@redhat.com>
  205. - add patch to get a decent default monospace font
  206. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  207. - rebuild, had bin compat issues
  208. * Sun Jun 09 2002 Havoc Pennington <hp@redhat.com>
  209. - rebuild in different environment
  210. * Sun Jun 9 2002 Havoc Pennington <hp@redhat.com>
  211. - don't obsolete/provide gnome-core
  212. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  213. - rebuild in different environment
  214. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  215. - 1.9.7
  216. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  217. - rebuild in different environment
  218. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  219. - rebuild in different environment
  220. - build requires bonobo activation
  221. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  222. - 1.9.6.90
  223. - provide gnome-core
  224. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  225. - 1.9.5
  226. - obsolete gnome-core
  227. * Fri Apr 26 2002 Havoc Pennington <hp@redhat.com>
  228. - 1.9.4.91, fixes scrollback thing
  229. * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
  230. - 1.9.4.90
  231. - move it to VTE, let's see how this goes
  232. * Tue Apr 16 2002 Havoc Pennington <hp@redhat.com>
  233. - Initial build.