3 # This causes <prev-tab> key do nothing on the first tab (instead of
4 # passing the keypress to the application running in the terminal). Ditto
5 # for the last tab. This is kinda annoying.
6 %bcond_with disable_prev_next_tab_sensitivity_changes
7 # This is specific to PLD and causes an "unknown term type" on most other
8 # hosts I have to work on (the rest of the world uses xterm for g-t)
9 %bcond_with term_voodoo
10 # This allows to mark on-terminal urls containing square brackets (eg. to
11 # copy them or to open in external browser).
12 %bcond_with classify_square_brackets_into_url_paths
14 Summary: GNOME Terminal
15 Summary(pl.UTF-8): Terminal dla GNOME
20 Group: X11/Applications
21 Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.16/%{name}-%{version}.tar.bz2
22 # Source0-md5: 861e1b780819214b4d5a398e7999c093
23 Patch0: %{name}-TERM.patch
24 Patch1: %{name}-disable-prev_next-tab-sensitivity-changes.patch
25 Patch2: %{name}-desktop.patch
26 Patch3: %{name}-save-session-crash.patch
27 Patch4: %{name}-url-regex.patch
28 URL: http://www.gnome.org/
29 BuildRequires: GConf2-devel >= 2.14.0
30 BuildRequires: autoconf >= 2.53
31 BuildRequires: automake
32 BuildRequires: gtk+2-devel >= 2:2.10.6
33 BuildRequires: gnome-common >= 2.12.0
34 BuildRequires: gnome-doc-utils >= 0.8.0
35 BuildRequires: gnome-vfs2-devel >= 2.16.1
36 BuildRequires: intltool >= 0.35
37 BuildRequires: libglade2-devel >= 1:2.6.0
38 BuildRequires: libgnomeui-devel >= 2.16.0
39 BuildRequires: libtool
40 BuildRequires: pkgconfig >= 1:0.12.0
41 BuildRequires: rpmbuild(macros) >= 1.197
42 BuildRequires: scrollkeeper
43 BuildRequires: startup-notification-devel >= 0.8
44 BuildRequires: vte-devel >= 0.14.1
45 Requires(post,preun): GConf2 >= 2.14.0
46 Requires(post,postun): scrollkeeper
47 Requires: libgnomeui >= 2.16.0
48 Requires: startup-notification >= 0.8
49 Requires: vte >= 0.14.1
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 This is a terminal thing that isn't finished at all.
56 %description -l pl.UTF-8
57 To jest terminal, na razie całkowicie nie dokończony.
61 %if %{with term_voodoo}
64 %if %{with disable_prev_next_tab_sensitivity_changes}
69 %if %{with classify_square_brackets_into_url_paths}
81 --disable-schemas-install \
82 --disable-scrollkeeper
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT \
90 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
91 localedir=%{_localedir}
93 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
95 %find_lang %{name} --with-gnome --all-name
98 rm -rf $RPM_BUILD_ROOT
101 %gconf_schema_install gnome-terminal.schemas
102 %scrollkeeper_update_post
105 %gconf_schema_uninstall gnome-terminal.schemas
108 %scrollkeeper_update_postun
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog NEWS README
113 %doc %{_omf_dest_dir}/%{name}
114 %attr(755,root,root) %{_bindir}/*
115 %{_libdir}/bonobo/servers/*
117 %{_desktopdir}/*.desktop
119 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas