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 URL: http://www.gnome.org/
23 BuildRequires: GConf2-devel >= 2.10.0
24 BuildRequires: autoconf >= 2.53
25 BuildRequires: automake
26 BuildRequires: gtk+2-devel >= 2:2.8.0
27 BuildRequires: gnome-common >= 2.8.0-2
28 BuildRequires: gnome-vfs2-devel >= 2.10.0-2
29 BuildRequires: intltool
30 BuildRequires: libglade2-devel >= 1:2.5.1
31 BuildRequires: libgnomeui-devel >= 2.10.0
32 BuildRequires: libtool
33 BuildRequires: pkgconfig >= 1:0.12.0
34 BuildRequires: rpmbuild(macros) >= 1.197
35 BuildRequires: scrollkeeper
36 BuildRequires: startup-notification-devel >= 0.8
37 BuildRequires: vte-devel >= 0.11.12
38 Requires(post,preun): GConf2
39 Requires(post,postun): scrollkeeper
40 Requires: libgnomeui >= 2.10.0
41 Requires: startup-notification >= 0.8
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 This is a terminal thing that isn't finished at all.
49 To jest terminal, na razie ca³kowicie nie dokoñczony.
53 %if %{with term_voodoo}
56 %if %{with disable_prev_next_tab_sensitivity_changes}
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT \
76 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
77 localedir=%{_localedir}
79 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
80 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
82 %find_lang %{name} --with-gnome --all-name
85 rm -rf $RPM_BUILD_ROOT
88 %gconf_schema_install gnome-terminal.schemas
89 %scrollkeeper_update_post
92 %gconf_schema_uninstall gnome-terminal.schemas
95 %scrollkeeper_update_postun
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog NEWS README
100 %doc %{_omf_dest_dir}/%{name}
101 %attr(755,root,root) %{_bindir}/*
102 %{_libdir}/bonobo/servers/*
106 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas