]> git.pld-linux.org Git - packages/gnome-terminal.git/blame - gnome-terminal.spec
- 2.22.0
[packages/gnome-terminal.git] / gnome-terminal.spec
CommitLineData
c429904b 1#
957ec054 2# Conditional build:
98a016ef
PZ
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
c429904b
MM
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
98a016ef 17Version: 2.22.0
436e2987 18Release: 1
98a016ef 19License: GPL v2+
5a403dc3 20Group: X11/Applications
98a016ef
PZ
21Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/2.22/%{name}-%{version}.tar.bz2
22# Source0-md5: e91f000b8157c668940a297d7cfbc9f8
6e74da7b 23Patch0: %{name}-TERM.patch
bc981883 24Patch1: %{name}-disable-prev_next-tab-sensitivity-changes.patch
25Patch2: %{name}-desktop.patch
94c48507 26Patch4: %{name}-url-regex.patch
36e1892e 27URL: http://www.gnome.org/
98a016ef 28BuildRequires: GConf2-devel >= 2.22.0
7ab0ecc4 29BuildRequires: autoconf >= 2.53
98a016ef
PZ
30BuildRequires: automake >= 1:1.9
31BuildRequires: gettext-devel
32BuildRequires: glib2-devel >= 1:2.16.0
43bd2a3b
MB
33BuildRequires: gnome-common >= 2.20.0
34BuildRequires: gnome-doc-utils >= 0.12.0
98a016ef
PZ
35BuildRequires: gnome-vfs2-devel >= 2.22.0
36BuildRequires: gtk+2-devel >= 2:2.12.0
43bd2a3b
MB
37BuildRequires: intltool >= 0.36.2
38BuildRequires: libglade2-devel >= 1:2.6.2
98a016ef 39BuildRequires: libgnomeui-devel >= 2.22.0
7f9c0d4a 40BuildRequires: libtool
9c69e06f 41BuildRequires: pkgconfig >= 1:0.12.0
436e2987 42BuildRequires: rpmbuild(find_lang) >= 1.23
a19a64fd 43BuildRequires: rpmbuild(macros) >= 1.197
9c6680eb 44BuildRequires: scrollkeeper
436e2987 45BuildRequires: sed >= 4.0
4859694d 46BuildRequires: startup-notification-devel >= 0.8
98a016ef 47BuildRequires: vte-devel >= 0.16.13
a19a64fd 48Requires(post,postun): scrollkeeper
98a016ef 49Requires(post,preun): GConf2
436e2987 50Requires: libgnomeui >= 2.20.0
9581d2cc 51Requires: startup-notification >= 0.8
ca41d96f 52Requires: terminfo
98a016ef 53Requires: vte >= 0.16.13
d557b31a 54# sr@Latn vs. sr@latin
55Conflicts: glibc-misc < 6:2.7
36e1892e
AF
56BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
36e1892e 58%description
5a403dc3 59This is a terminal thing that isn't finished at all.
36e1892e 60
41640346
JR
61%description -l pl.UTF-8
62To jest terminal, na razie całkowicie nie dokończony.
36e1892e
AF
63
64%prep
0a626983 65%setup -q
2df50a1b 66%if %{with term_voodoo}
6e74da7b 67%patch0 -p1
2df50a1b 68%endif
c429904b 69%if %{with disable_prev_next_tab_sensitivity_changes}
6c9e6d9f 70%patch1 -p1
c429904b 71%endif
6c9e6d9f 72%patch2 -p1
94c48507
MG
73%if %{with classify_square_brackets_into_url_paths}
74%patch4 -p1
75%endif
7f9c0d4a 76
98a016ef
PZ
77sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
78mv po/sr@{Latn,latin}.po
436e2987 79
36e1892e 80%build
2df50a1b 81%{__intltoolize}
fecbfb8a 82%{__gnome_doc_common}
7f9c0d4a 83%{__libtoolize}
84%{__aclocal}
85%{__autoconf}
98a016ef 86%{__autoheader}
7f9c0d4a 87%{__automake}
fe6ba419 88%configure \
89 --disable-schemas-install \
90 --disable-scrollkeeper
36e1892e
AF
91%{__make}
92
93%install
94rm -rf $RPM_BUILD_ROOT
36e1892e 95
2702513a
AF
96%{__make} install \
97 DESTDIR=$RPM_BUILD_ROOT \
88f1cbe7 98 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
99 localedir=%{_localedir}
36e1892e 100
3c681562 101rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
bc981883 102
436e2987 103%find_lang %{name} --with-gnome --with-omf --all-name
36e1892e
AF
104
105%clean
106rm -rf $RPM_BUILD_ROOT
107
b9163d02 108%post
3c681562 109%gconf_schema_install gnome-terminal.schemas
110%scrollkeeper_update_post
36e1892e 111
3c681562 112%preun
113%gconf_schema_uninstall gnome-terminal.schemas
114
115%postun
116%scrollkeeper_update_postun
2702513a 117
36e1892e
AF
118%files -f %{name}.lang
119%defattr(644,root,root,755)
2df50a1b 120%doc AUTHORS ChangeLog NEWS README
98a016ef
PZ
121%attr(755,root,root) %{_bindir}/gnome-terminal
122%{_libdir}/bonobo/servers/gnome-terminal.server
2df50a1b 123%{_datadir}/%{name}
98a016ef
PZ
124%{_desktopdir}/gnome-terminal.desktop
125%{_pixmapsdir}/gnome-terminal.png
2df50a1b 126%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
This page took 0.084845 seconds and 4 git commands to generate.