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.14/%{name}-%{version}.tar.bz2
19 # Source0-md5: da80071cd707e89cedcfb476cab8b39a
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.8.18
29 BuildRequires: gnome-common >= 2.12.0
30 BuildRequires: gnome-vfs2-devel >= 2.14.2
31 BuildRequires: intltool
32 BuildRequires: libglade2-devel >= 1:2.5.1
33 BuildRequires: libgnomeui-devel >= 2.14.1
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.12.1
40 Requires(post,preun): GConf2
41 Requires(post,postun): scrollkeeper
42 Requires: libgnomeui >= 2.14.1
43 Requires: startup-notification >= 0.8
44 Requires: vte >= 0.12.2
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}
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT \
80 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
81 localedir=%{_localedir}
83 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
84 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
86 %find_lang %{name} --with-gnome --all-name
89 rm -rf $RPM_BUILD_ROOT
92 %gconf_schema_install gnome-terminal.schemas
93 %scrollkeeper_update_post
96 %gconf_schema_uninstall gnome-terminal.schemas
99 %scrollkeeper_update_postun
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc AUTHORS ChangeLog NEWS README
104 %doc %{_omf_dest_dir}/%{name}
105 %attr(755,root,root) %{_bindir}/*
106 %{_libdir}/bonobo/servers/*
110 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas