]> git.pld-linux.org Git - packages/gnome-terminal.git/blame - gnome-terminal.spec
- converted to UTF-8
[packages/gnome-terminal.git] / gnome-terminal.spec
CommitLineData
c429904b 1#
957ec054 2# Conditional build:
c429904b
MM
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
2df50a1b 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
94c48507
MG
10# This allows to mark on-terminal urls containing square brackets (eg. to
11# copy them or to open in external browser).
834cc1a8 12%bcond_with classify_square_brackets_into_url_paths
c429904b 13#
5a403dc3 14Summary: GNOME Terminal
41640346 15Summary(pl.UTF-8): Terminal dla GNOME
36e1892e 16Name: gnome-terminal
0ab5959b 17Version: 2.16.1
94c48507 18Release: 2
36e1892e 19License: GPL
5a403dc3 20Group: X11/Applications
a178a16f 21Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.16/%{name}-%{version}.tar.bz2
0ab5959b 22# Source0-md5: 861e1b780819214b4d5a398e7999c093
6e74da7b 23Patch0: %{name}-TERM.patch
bc981883 24Patch1: %{name}-disable-prev_next-tab-sensitivity-changes.patch
25Patch2: %{name}-desktop.patch
436ba71d 26Patch3: %{name}-save-session-crash.patch
94c48507 27Patch4: %{name}-url-regex.patch
36e1892e 28URL: http://www.gnome.org/
436ba71d 29BuildRequires: GConf2-devel >= 2.14.0
7ab0ecc4 30BuildRequires: autoconf >= 2.53
78f0c218 31BuildRequires: automake
0ab5959b 32BuildRequires: gtk+2-devel >= 2:2.10.6
436ba71d 33BuildRequires: gnome-common >= 2.12.0
94c48507 34BuildRequires: gnome-doc-utils >= 0.8.0
0ab5959b 35BuildRequires: gnome-vfs2-devel >= 2.16.1
fe6ba419 36BuildRequires: intltool >= 0.35
dcec3c88 37BuildRequires: libglade2-devel >= 1:2.6.0
a178a16f 38BuildRequires: libgnomeui-devel >= 2.16.0
7f9c0d4a 39BuildRequires: libtool
9c69e06f 40BuildRequires: pkgconfig >= 1:0.12.0
a19a64fd 41BuildRequires: rpmbuild(macros) >= 1.197
9c6680eb 42BuildRequires: scrollkeeper
4859694d 43BuildRequires: startup-notification-devel >= 0.8
0ab5959b 44BuildRequires: vte-devel >= 0.14.1
fe6ba419 45Requires(post,preun): GConf2 >= 2.14.0
a19a64fd 46Requires(post,postun): scrollkeeper
a178a16f 47Requires: libgnomeui >= 2.16.0
9581d2cc 48Requires: startup-notification >= 0.8
0ab5959b 49Requires: vte >= 0.14.1
ca41d96f 50Requires: terminfo
36e1892e
AF
51BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52
36e1892e 53%description
5a403dc3 54This is a terminal thing that isn't finished at all.
36e1892e 55
41640346
JR
56%description -l pl.UTF-8
57To jest terminal, na razie całkowicie nie dokończony.
36e1892e
AF
58
59%prep
0a626983 60%setup -q
2df50a1b 61%if %{with term_voodoo}
6e74da7b 62%patch0 -p1
2df50a1b 63%endif
c429904b 64%if %{with disable_prev_next_tab_sensitivity_changes}
6c9e6d9f 65%patch1 -p1
c429904b 66%endif
6c9e6d9f 67%patch2 -p1
436ba71d 68%patch3 -p1
94c48507
MG
69%if %{with classify_square_brackets_into_url_paths}
70%patch4 -p1
71%endif
7f9c0d4a 72
36e1892e 73%build
2df50a1b 74%{__intltoolize}
fecbfb8a 75%{__gnome_doc_common}
7f9c0d4a 76%{__libtoolize}
77%{__aclocal}
78%{__autoconf}
79%{__automake}
fe6ba419 80%configure \
81 --disable-schemas-install \
82 --disable-scrollkeeper
36e1892e
AF
83%{__make}
84
85%install
86rm -rf $RPM_BUILD_ROOT
36e1892e 87
2702513a
AF
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT \
88f1cbe7 90 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
91 localedir=%{_localedir}
36e1892e 92
3c681562 93rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
bc981883 94
36e1892e
AF
95%find_lang %{name} --with-gnome --all-name
96
97%clean
98rm -rf $RPM_BUILD_ROOT
99
b9163d02 100%post
3c681562 101%gconf_schema_install gnome-terminal.schemas
102%scrollkeeper_update_post
36e1892e 103
3c681562 104%preun
105%gconf_schema_uninstall gnome-terminal.schemas
106
107%postun
108%scrollkeeper_update_postun
2702513a 109
36e1892e
AF
110%files -f %{name}.lang
111%defattr(644,root,root,755)
2df50a1b 112%doc AUTHORS ChangeLog NEWS README
c9229fd7 113%doc %{_omf_dest_dir}/%{name}
36e1892e 114%attr(755,root,root) %{_bindir}/*
044b9079 115%{_libdir}/bonobo/servers/*
2df50a1b 116%{_datadir}/%{name}
c3ea948a 117%{_desktopdir}/*.desktop
b9163d02 118%{_pixmapsdir}/*
2df50a1b 119%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
This page took 0.087922 seconds and 4 git commands to generate.