]> git.pld-linux.org Git - packages/gnome-terminal.git/blob - gnome-terminal.spec
- backport from AC-branch
[packages/gnome-terminal.git] / gnome-terminal.spec
1 #
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
9 #
10 Summary:        GNOME Terminal
11 Summary(pl):    Terminal dla GNOME
12 Name:           gnome-terminal
13 Version:        2.14.1
14 Release:        3
15 License:        GPL
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
44 Requires:       terminfo
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %description
48 This is a terminal thing that isn't finished at all.
49
50 %description -l pl
51 To jest terminal, na razie ca³kowicie nie dokoñczony.
52
53 %prep
54 %setup -q
55 %if %{with term_voodoo}
56 %patch0 -p1
57 %endif
58 %if %{with disable_prev_next_tab_sensitivity_changes}
59 %patch1 -p1
60 %endif
61 %patch2 -p1
62 %patch3 -p1
63
64 %build
65 %{__intltoolize}
66 %{__gnome_doc_common}
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %{__automake}
71 %configure
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT \
79         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
80         localedir=%{_localedir}
81
82 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
83 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
84
85 %find_lang %{name} --with-gnome --all-name
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post
91 %gconf_schema_install gnome-terminal.schemas
92 %scrollkeeper_update_post
93
94 %preun
95 %gconf_schema_uninstall gnome-terminal.schemas
96
97 %postun
98 %scrollkeeper_update_postun
99
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/*
106 %{_datadir}/%{name}
107 %{_desktopdir}/*
108 %{_pixmapsdir}/*
109 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
This page took 0.0637760000000001 seconds and 4 git commands to generate.