%define gettext_package gnome-terminal %define glib2_version 2.24.0 %define gtk2_version 2.20.0 %define gconf2_version 2.28.0 %define vte_version 0.24.0 %define startup_notification_version 0.8 %define desktop_file_utils_version 0.10 Summary: GNOME Terminal Summary(ja): GNOME ターミナル Name: gnome-terminal Version: 2.30.2 Release: 1%{?_dist_release} URL: http://www.gnome.org Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/2.30/%{name}-%{version}.tar.bz2 Patch10: %{name}-2.22.0-i18n-help.patch License: GPL Group: User Interface/Desktops BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: vte >= %{vte_version} Requires(post,pre,preun): GConf2 Obsoletes: gnome-terminal2 BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: GConf2-devel >= %{gconf2_version} BuildRequires: vte-devel >= %{vte_version} BuildRequires: dbus-glib-devel BuildRequires: startup-notification-devel >= %{startup_notification_version} BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} BuildRequires: libSM-devel BuildRequires: gnome-doc-utils >= 0.3.2 BuildRequires: docbook-utils %description GNOME terminal emulator application. %description -l ja GNOME 端末エミュレータです。 %prep %setup -q %patch10 -p1 -b .i18n-help %build %configure --with-widget=vte --disable-schemas-install --disable-scrollkeeper make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL desktop-file-install --vendor gnome --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-only-show-in GNOME \ $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop %find_lang %{gettext_package} # remove unpackaged files rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper %clean rm -rf $RPM_BUILD_ROOT %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null fi %files -f %{gettext_package}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/gnome-terminal %{_datadir}/gnome %{_datadir}/omf %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas %changelog * Tue Jun 29 2010 Yoji TOYODA - 2.30.2-1 - new upstream release * Sat May 01 2010 Yoji TOYODA - 2.30.1-1 - new upstream release - add BuildRequires: docbook-utils * Wed Mar 31 2010 Yoji TOYODA - 2.30.0-1 - new upstream release - add BuildRequires: libSM-devel, gnome-doc-utils * Tue Mar 2 2010 MATSUBAYASHI Kohji - 2.28.1-2 - rebuilt with new toolchain * Sun Nov 01 2009 Ryoichi INAGAKI 2.28.1-1 - new upstream release * Thu Jul 02 2009 Daisuke SUZUKI 2.26.3.1-1 - new upstream release * Thu May 28 2009 Daisuke SUZUKI 2.26.2-1 - new upstream release * Thu Apr 16 2009 Daisuke SUZUKI 2.26.1-1 - new upstream release * Sun Mar 22 2009 Daisuke SUZUKI 2.26.0-1 - new upstream release * Wed Mar 04 2009 Daisuke SUZUKI 2.24.3-1 - new upstream release * Wed Oct 28 2008 Daisuke SUZUKI 2.24.1.1-1 - new upstream release * Tue Sep 23 2008 Daisuke SUZUKI 2.24.0-1 - new upstream release * Mon Aug 25 2008 Daisuke SUZUKI 2.22.3-1 - new upstream release * Thu Jun 5 2008 Ryoichi INAGAKI 2.22.2-1 - new upstream release * Mon Apr 7 2008 Ryoichi INAGAKI 2.22.1-1vl5 - new upstream release * Sun Apr 6 2008 Ryoichi INAGAKI 2.22.0-1vl5 - new upstream release - updated Patch10 * Sat Jan 12 2008 Ryoichi INAGAKI 2.18.4-0vl1 - new upstream release * Sun Jun 24 2007 Ryoichi INAGAKI 2.18.1-0vl1 - new upstream release * Sat Apr 28 2007 Daisuke SUZUKI 2.18.0-0vl1 - new upstream release * Fri Jun 30 2006 Daisuke SUZUKI 2.14.2-0vl2 - add Patch10 to fix corruption of help option message. * Sun Jun 04 2006 Daisuke SUZUKI 2.14.2-0vl1 - new upstream release * Fri Apr 14 2006 Daisuke SUZUKI 2.14.1-0vl1 - new upstream release * Tue Mar 14 2006 Daisuke SUZUKI 2.14.0-0vl1 - new upstream release * Tue Mar 07 2006 Daisuke SUZUKI 2.13.91-0vl1 - new upstream release * Mon Sep 19 2005 Daisuke SUZUKI 2.12.0-0vl1 - new upstream release * Tue Mar 22 2005 Daisuke SUZUKI 2.10.0-0vl1 - new upstream version * Sat Feb 26 2005 Ryoichi INAGAKI 2.8.2-0vl1 - new upstream release - added application-registry to %files * Mon Nov 08 2004 Daisuke SUZUKI 2.8.0-0vl1 - new upstream release * Fri Mar 19 2004 Daisuke SUZUKI 2.4.2-0vl2 - rebuild with gtk2-2.4.0/glib2-2.4.0 * Sat Jan 31 2004 Daisuke SUZUKI 2.4.2-0vl1 - new upstream release * Tue Sep 23 2003 Daisuke SUZUKI 2.4.0.1-0vl1 - new upstream release * Thu Sep 11 2003 Daisuke SUZUKI 2.4.0-0vl2 - fixed missing locale files * Thu Sep 11 2003 Daisuke SUZUKI 2.4.0-0vl1 - new upstream release * Wed Sep 03 2003 Daisuke SUZUKI 2.3.2-0vl1 - new upstream release * Sun May 25 2003 Daisuke SUZUKI 2.3.1-0vl1 - new upstream release * Sat Feb 15 2003 Daisuke SUZUKI 2.2.1-0vl1 - new upstream release * Tue Jan 21 2003 Daisuke SUZUKI 2.2.0-0vl1 - new upstream release * Thu Jan 16 2003 Daisuke SUZUKI 2.1.4-0vl3 - fixed %%files bug * Sun Jan 12 2003 Daisuke SUZUKI 2.1.4-0vl2 - update ja.po - add obsoletes gnome-terminal-zvt * Sun Jan 12 2003 Daisuke SUZUKI 2.1.4-0vl1 - new upstream release * Sun Dec 15 2002 Daisuke SUZUKI 2.1.3-0vl4 - remove redhat category * Sun Dec 15 2002 Daisuke SUZUKI 2.1.3-0vl2 - add desktop files * Sun Dec 15 2002 Daisuke SUZUKI 2.1.3-0vl1 - build for Vine Linux * Mon Sep 2 2002 Nalin Dahyabhai 2.0.1-5 - fix goofy audible bell checkbox (backport from HEAD) * Mon Sep 2 2002 Nalin Dahyabhai 2.0.1-4 - fix incorrect regexp which matched newlines as parts of URLs (#71349) * Fri Aug 23 2002 Jonathan Blandford - Clean up keyboard handling. * Tue Aug 13 2002 Havoc Pennington - require latest vte * Thu Aug 8 2002 Havoc Pennington - 2.0.1 released version instead of cvs snap - clean up unpackaged files * Thu Aug 8 2002 Nalin Dahyabhai - pick up widget padding * Wed Jul 24 2002 Owen Taylor - Use monospace preference for system font * Thu Jul 18 2002 Nalin Dahyabhai - rebuild in new environment * Fri Jul 12 2002 Havoc Pennington - 2.0.0.90 cvs snap * Fri Jun 21 2002 Tim Powers - automated rebuild * Mon Jun 17 2002 Havoc Pennington - rebuild in different environment * Mon Jun 17 2002 Havoc Pennington - 2.0.0 - use desktop-file-install - put bonobo server file in file list - put help files in file list - apply some fixes from CVS (or rather, that I'm going to check in to CVS soon) * Fri Jun 14 2002 Nalin Dahyabhai - rebuild in different environment * Fri Jun 14 2002 Nalin Dahyabhai - add patch to handle vte abi change * Tue Jun 11 2002 Havoc Pennington - add patch to get a decent default monospace font * Mon Jun 10 2002 Havoc Pennington - rebuild, had bin compat issues * Sun Jun 09 2002 Havoc Pennington - rebuild in different environment * Sun Jun 9 2002 Havoc Pennington - don't obsolete/provide gnome-core * Fri Jun 07 2002 Havoc Pennington - rebuild in different environment * Wed Jun 5 2002 Havoc Pennington - 1.9.7 * Tue May 21 2002 Havoc Pennington - rebuild in different environment * Tue May 21 2002 Havoc Pennington - rebuild in different environment - build requires bonobo activation * Tue May 21 2002 Havoc Pennington - 1.9.6.90 - provide gnome-core * Fri May 3 2002 Havoc Pennington - 1.9.5 - obsolete gnome-core * Fri Apr 26 2002 Havoc Pennington - 1.9.4.91, fixes scrollback thing * Thu Apr 25 2002 Havoc Pennington - 1.9.4.90 - move it to VTE, let's see how this goes * Tue Apr 16 2002 Havoc Pennington - Initial build.