gnome-terminal-vl.spec 9.0 KB

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