gnome-terminal-vl.spec 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. %define gettext_package gnome-terminal
  2. %define glib2_version 2.26.1
  3. %define gtk2_version 2.22.1
  4. %define gconf2_version 2.32.0
  5. %define vte_version 0.26.2
  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.32.1
  12. Release: 1%{?_dist_release}
  13. URL: http://www.gnome.org
  14. Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/2.32/%{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. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.32.1-1
  80. - new upstream release
  81. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.32.0-1
  82. - new upstream release
  83. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.2-1
  84. - new upstream release
  85. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.1-1
  86. - new upstream release
  87. - add BuildRequires: docbook-utils
  88. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  89. - new upstream release
  90. - add BuildRequires: libSM-devel, gnome-doc-utils
  91. * Tue Mar 2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.1-2
  92. - rebuilt with new toolchain
  93. * Sun Nov 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  94. - new upstream release
  95. * Thu Jul 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3.1-1
  96. - new upstream release
  97. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  98. - new upstream release
  99. * Thu Apr 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  100. - new upstream release
  101. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  102. - new upstream release
  103. * Wed Mar 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.3-1
  104. - new upstream release
  105. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1.1-1
  106. - new upstream release
  107. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  108. - new upstream release
  109. * Mon Aug 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.3-1
  110. - new upstream release
  111. * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  112. - new upstream release
  113. * Mon Apr 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  114. - new upstream release
  115. * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  116. - new upstream release
  117. - updated Patch10
  118. * Sat Jan 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.4-0vl1
  119. - new upstream release
  120. * Sun Jun 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.1-0vl1
  121. - new upstream release
  122. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  123. - new upstream release
  124. * Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2
  125. - add Patch10 to fix corruption of help option message.
  126. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  127. - new upstream release
  128. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  129. - new upstream release
  130. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  131. - new upstream release
  132. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.91-0vl1
  133. - new upstream release
  134. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  135. - new upstream release
  136. * Tue Mar 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  137. - new upstream version
  138. * Sat Feb 26 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-0vl1
  139. - new upstream release
  140. - added application-registry to %files
  141. * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  142. - new upstream release
  143. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl2
  144. - rebuild with gtk2-2.4.0/glib2-2.4.0
  145. * Sat Jan 31 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl1
  146. - new upstream release
  147. * Tue Sep 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0.1-0vl1
  148. - new upstream release
  149. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  150. - fixed missing locale files
  151. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  152. - new upstream release
  153. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.2-0vl1
  154. - new upstream release
  155. * Sun May 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  156. - new upstream release
  157. * Sat Feb 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  158. - new upstream release
  159. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  160. - new upstream release
  161. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl3
  162. - fixed %%files bug
  163. * Sun Jan 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl2
  164. - update ja.po
  165. - add obsoletes gnome-terminal-zvt
  166. * Sun Jan 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
  167. - new upstream release
  168. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl4
  169. - remove redhat category
  170. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl2
  171. - add desktop files
  172. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1
  173. - build for Vine Linux
  174. * Mon Sep 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.1-5
  175. - fix goofy audible bell checkbox (backport from HEAD)
  176. * Mon Sep 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.1-4
  177. - fix incorrect regexp which matched newlines as parts of URLs (#71349)
  178. * Fri Aug 23 2002 Jonathan Blandford <jrb@redhat.com>
  179. - Clean up keyboard handling.
  180. * Tue Aug 13 2002 Havoc Pennington <hp@redhat.com>
  181. - require latest vte
  182. * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
  183. - 2.0.1 released version instead of cvs snap
  184. - clean up unpackaged files
  185. * Thu Aug 8 2002 Nalin Dahyabhai <nalin@redhat.com>
  186. - pick up widget padding
  187. * Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com>
  188. - Use monospace preference for system font
  189. * Thu Jul 18 2002 Nalin Dahyabhai <nalin@redhat.com>
  190. - rebuild in new environment
  191. * Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
  192. - 2.0.0.90 cvs snap
  193. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  194. - automated rebuild
  195. * Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
  196. - rebuild in different environment
  197. * Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
  198. - 2.0.0
  199. - use desktop-file-install
  200. - put bonobo server file in file list
  201. - put help files in file list
  202. - apply some fixes from CVS (or rather, that I'm going to
  203. check in to CVS soon)
  204. * Fri Jun 14 2002 Nalin Dahyabhai <nalin@redhat.com>
  205. - rebuild in different environment
  206. * Fri Jun 14 2002 Nalin Dahyabhai <nalin@redhat.com>
  207. - add patch to handle vte abi change
  208. * Tue Jun 11 2002 Havoc Pennington <hp@redhat.com>
  209. - add patch to get a decent default monospace font
  210. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  211. - rebuild, had bin compat issues
  212. * Sun Jun 09 2002 Havoc Pennington <hp@redhat.com>
  213. - rebuild in different environment
  214. * Sun Jun 9 2002 Havoc Pennington <hp@redhat.com>
  215. - don't obsolete/provide gnome-core
  216. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  217. - rebuild in different environment
  218. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  219. - 1.9.7
  220. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  221. - rebuild in different environment
  222. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  223. - rebuild in different environment
  224. - build requires bonobo activation
  225. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  226. - 1.9.6.90
  227. - provide gnome-core
  228. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  229. - 1.9.5
  230. - obsolete gnome-core
  231. * Fri Apr 26 2002 Havoc Pennington <hp@redhat.com>
  232. - 1.9.4.91, fixes scrollback thing
  233. * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
  234. - 1.9.4.90
  235. - move it to VTE, let's see how this goes
  236. * Tue Apr 16 2002 Havoc Pennington <hp@redhat.com>
  237. - Initial build.