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
11 Summary: GNOME Terminal
12 Summary(pl): Terminal dla GNOME
17 Group: X11/Applications
18 Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.15/%{name}-%{version}.tar.bz2
19 # Source0-md5: 847ba835f312064c350435d99427ec17
20 Patch0: %{name}-TERM.patch
21 Patch1: %{name}-disable-prev_next-tab-sensitivity-changes.patch
22 Patch2: %{name}-desktop.patch
23 Patch3: %{name}-save-session-crash.patch
24 URL: http://www.gnome.org/
25 BuildRequires: GConf2-devel >= 2.14.0
26 BuildRequires: autoconf >= 2.53
27 BuildRequires: automake
28 BuildRequires: gtk+2-devel >= 2:2.10.1
29 BuildRequires: gnome-common >= 2.12.0
30 BuildRequires: gnome-vfs2-devel >= 2.15.90
31 BuildRequires: intltool >= 0.35
32 BuildRequires: libglade2-devel >= 1:2.6.0
33 BuildRequires: libgnomeui-devel >= 2.15.90
34 BuildRequires: libtool
35 BuildRequires: pkgconfig >= 1:0.12.0
36 BuildRequires: rpmbuild(macros) >= 1.197
37 BuildRequires: scrollkeeper
38 BuildRequires: startup-notification-devel >= 0.8
39 BuildRequires: vte-devel >= 0.13.5
40 Requires(post,preun): GConf2 >= 2.14.0
41 Requires(post,postun): scrollkeeper
42 Requires: libgnomeui >= 2.15.90
43 Requires: startup-notification >= 0.8
44 Requires: vte >= 0.13.5
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 This is a terminal thing that isn't finished at all.
52 To jest terminal, na razie ca³kowicie nie dokoñczony.
56 %if %{with term_voodoo}
59 %if %{with disable_prev_next_tab_sensitivity_changes}
73 --disable-schemas-install \
74 --disable-scrollkeeper
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT \
82 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
83 localedir=%{_localedir}
85 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
87 %find_lang %{name} --with-gnome --all-name
90 rm -rf $RPM_BUILD_ROOT
93 %gconf_schema_install gnome-terminal.schemas
94 %scrollkeeper_update_post
97 %gconf_schema_uninstall gnome-terminal.schemas
100 %scrollkeeper_update_postun
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README
105 %doc %{_omf_dest_dir}/%{name}
106 %attr(755,root,root) %{_bindir}/*
107 %{_libdir}/bonobo/servers/*
111 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas