2 # This causes <prev-tab> key do nothing on the first tab (instead of
3 # passing the keypress to the application running in the terminal). Ditto
4 # for the last tab. This is kinda annoying.
5 %bcond_with disable_prev_next_tab_sensitivity_changes
6 # This is specific to PLD and causes an "unknown term type" on most other
7 # hosts I have to work on (the rest of the world uses xterm for g-t)
8 %bcond_with term_voodoo
10 Summary: GNOME Terminal
11 Summary(pl): Terminal dla GNOME
16 Group: X11/Applications
17 Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.14/%{name}-%{version}.tar.bz2
18 # Source0-md5: 7abe60db5359c88392d2b4f0d5587ef5
19 Patch0: %{name}-TERM.patch
20 Patch1: %{name}-disable-prev_next-tab-sensitivity-changes.patch
21 Patch2: %{name}-desktop.patch
22 Patch3: %{name}-save-session-crash.patch
23 URL: http://www.gnome.org/
24 BuildRequires: GConf2-devel >= 2.14.0
25 BuildRequires: autoconf >= 2.53
26 BuildRequires: automake
27 BuildRequires: gtk+2-devel >= 2:2.8.0
28 BuildRequires: gnome-common >= 2.12.0
29 BuildRequires: gnome-vfs2-devel >= 2.14.0
30 BuildRequires: intltool
31 BuildRequires: libglade2-devel >= 1:2.5.1
32 BuildRequires: libgnomeui-devel >= 2.14.0
33 BuildRequires: libtool
34 BuildRequires: pkgconfig >= 1:0.12.0
35 BuildRequires: rpmbuild(macros) >= 1.197
36 BuildRequires: scrollkeeper
37 BuildRequires: startup-notification-devel >= 0.8
38 BuildRequires: vte-devel >= 0.12.1
39 Requires(post,preun): GConf2
40 Requires(post,postun): scrollkeeper
41 Requires: libgnomeui >= 2.14.0
42 Requires: startup-notification >= 0.8
43 Requires: vte >= 0.12.1
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 This is a terminal thing that isn't finished at all.
51 To jest terminal, na razie ca³kowicie nie dokoñczony.
55 %if %{with term_voodoo}
58 %if %{with disable_prev_next_tab_sensitivity_changes}
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT \
79 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
80 localedir=%{_localedir}
82 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
83 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
85 %find_lang %{name} --with-gnome --all-name
88 rm -rf $RPM_BUILD_ROOT
91 %gconf_schema_install gnome-terminal.schemas
92 %scrollkeeper_update_post
95 %gconf_schema_uninstall gnome-terminal.schemas
98 %scrollkeeper_update_postun
100 %files -f %{name}.lang
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog NEWS README
103 %doc %{_omf_dest_dir}/%{name}
104 %attr(755,root,root) %{_bindir}/*
105 %{_libdir}/bonobo/servers/*
109 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas