]> git.pld-linux.org Git - packages/gnome-terminal.git/blame - gnome-terminal.spec
- sr@Latn -> sr@latin, rel. 2
[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
efc40c78 15Summary(pl.UTF-8): Terminal dla GNOME
36e1892e 16Name: gnome-terminal
43bd2a3b 17Version: 2.18.2
d557b31a 18Release: 2
36e1892e 19License: GPL
5a403dc3 20Group: X11/Applications
43bd2a3b
MB
21Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/2.18/%{name}-%{version}.tar.bz2
22# Source0-md5: a54b010cdeb1e908cad6085bf9de87c4
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/
43bd2a3b 29BuildRequires: GConf2-devel >= 2.19.1
7ab0ecc4 30BuildRequires: autoconf >= 2.53
78f0c218 31BuildRequires: automake
43bd2a3b
MB
32BuildRequires: gtk+2-devel >= 2:2.12.0
33BuildRequires: gnome-common >= 2.20.0
34BuildRequires: gnome-doc-utils >= 0.12.0
35BuildRequires: gnome-vfs2-devel >= 2.20.0
36BuildRequires: intltool >= 0.36.2
37BuildRequires: libglade2-devel >= 1:2.6.2
38BuildRequires: libgnomeui-devel >= 2.19.1
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
43bd2a3b 44BuildRequires: vte-devel >= 0.16.9
dcbdfea9 45Requires(post,preun): GConf2
a19a64fd 46Requires(post,postun): scrollkeeper
43bd2a3b 47Requires: libgnomeui >= 2.19.1
9581d2cc 48Requires: startup-notification >= 0.8
43bd2a3b 49Requires: vte >= 0.16.9
ca41d96f 50Requires: terminfo
d557b31a 51# sr@Latn vs. sr@latin
52Conflicts: glibc-misc < 6:2.7
36e1892e
AF
53BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
36e1892e 55%description
5a403dc3 56This is a terminal thing that isn't finished at all.
36e1892e 57
41640346
JR
58%description -l pl.UTF-8
59To jest terminal, na razie całkowicie nie dokończony.
36e1892e
AF
60
61%prep
0a626983 62%setup -q
2df50a1b 63%if %{with term_voodoo}
6e74da7b 64%patch0 -p1
2df50a1b 65%endif
c429904b 66%if %{with disable_prev_next_tab_sensitivity_changes}
6c9e6d9f 67%patch1 -p1
c429904b 68%endif
6c9e6d9f 69%patch2 -p1
436ba71d 70%patch3 -p1
94c48507
MG
71%if %{with classify_square_brackets_into_url_paths}
72%patch4 -p1
73%endif
7f9c0d4a 74
36e1892e 75%build
2df50a1b 76%{__intltoolize}
fecbfb8a 77%{__gnome_doc_common}
7f9c0d4a 78%{__libtoolize}
79%{__aclocal}
80%{__autoconf}
81%{__automake}
fe6ba419 82%configure \
83 --disable-schemas-install \
84 --disable-scrollkeeper
36e1892e
AF
85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
36e1892e 89
2702513a
AF
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT \
88f1cbe7 92 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
93 localedir=%{_localedir}
36e1892e 94
3c681562 95rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
bc981883 96
d557b31a 97[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
98 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
36e1892e
AF
99%find_lang %{name} --with-gnome --all-name
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
b9163d02 104%post
3c681562 105%gconf_schema_install gnome-terminal.schemas
106%scrollkeeper_update_post
36e1892e 107
3c681562 108%preun
109%gconf_schema_uninstall gnome-terminal.schemas
110
111%postun
112%scrollkeeper_update_postun
2702513a 113
36e1892e
AF
114%files -f %{name}.lang
115%defattr(644,root,root,755)
2df50a1b 116%doc AUTHORS ChangeLog NEWS README
c9229fd7 117%doc %{_omf_dest_dir}/%{name}
36e1892e 118%attr(755,root,root) %{_bindir}/*
044b9079 119%{_libdir}/bonobo/servers/*
2df50a1b 120%{_datadir}/%{name}
c3ea948a 121%{_desktopdir}/*.desktop
b9163d02 122%{_pixmapsdir}/*
2df50a1b 123%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
This page took 0.079596 seconds and 4 git commands to generate.