]> git.pld-linux.org Git - packages/gnome-terminal.git/blobdiff - gnome-terminal.spec
- converted to UTF-8
[packages/gnome-terminal.git] / gnome-terminal.spec
index 7ff4bf60b935b50c954fc7d36e07eb6c5b08f503..a0376a1f3f9a61b4541a7aa189daf674b45047ae 100644 (file)
@@ -1,4 +1,5 @@
 #
+# Conditional build:
 # This causes <prev-tab> key do nothing on the first tab (instead of 
 # passing the keypress to the application running in the terminal). Ditto 
 # for the last tab. This is kinda annoying.
@@ -6,47 +7,54 @@
 # This is specific to PLD and causes an "unknown term type" on most other
 # hosts I have to work on (the rest of the world uses xterm for g-t)
 %bcond_with    term_voodoo
+# This allows to mark on-terminal urls containing square brackets (eg. to
+# copy them or to open in external browser).
+%bcond_with    classify_square_brackets_into_url_paths
 #
 Summary:       GNOME Terminal
-Summary(pl):   Terminal dla GNOME
+Summary(pl.UTF-8):   Terminal dla GNOME
 Name:          gnome-terminal
-Version:       2.14.1
-Release:       1
+Version:       2.16.1
+Release:       2
 License:       GPL
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.14/%{name}-%{version}.tar.bz2
-# Source0-md5: 7abe60db5359c88392d2b4f0d5587ef5
+Source0:       http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.16/%{name}-%{version}.tar.bz2
+# Source0-md5: 861e1b780819214b4d5a398e7999c093
 Patch0:                %{name}-TERM.patch
 Patch1:                %{name}-disable-prev_next-tab-sensitivity-changes.patch
 Patch2:                %{name}-desktop.patch
+Patch3:                %{name}-save-session-crash.patch
+Patch4:                %{name}-url-regex.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.10.0
+BuildRequires: GConf2-devel >= 2.14.0
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
-BuildRequires: gtk+2-devel >= 2:2.8.0
-BuildRequires: gnome-common >= 2.8.0-2
-BuildRequires: gnome-vfs2-devel >= 2.10.0-2
-BuildRequires: intltool
-BuildRequires: libglade2-devel >= 1:2.5.1
-BuildRequires: libgnomeui-devel >= 2.10.0
+BuildRequires: gtk+2-devel >= 2:2.10.6
+BuildRequires: gnome-common >= 2.12.0
+BuildRequires: gnome-doc-utils >= 0.8.0
+BuildRequires: gnome-vfs2-devel >= 2.16.1
+BuildRequires: intltool >= 0.35
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgnomeui-devel >= 2.16.0
 BuildRequires: libtool
 BuildRequires: pkgconfig >= 1:0.12.0
 BuildRequires: rpmbuild(macros) >= 1.197
 BuildRequires: scrollkeeper
 BuildRequires: startup-notification-devel >= 0.8
-BuildRequires: vte-devel >= 0.11.12
-Requires(post,preun):  GConf2
+BuildRequires: vte-devel >= 0.14.1
+Requires(post,preun):  GConf2 >= 2.14.0
 Requires(post,postun): scrollkeeper
-Requires:      libgnomeui >= 2.10.0
+Requires:      libgnomeui >= 2.16.0
 Requires:      startup-notification >= 0.8
+Requires:      vte >= 0.14.1
 Requires:      terminfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This is a terminal thing that isn't finished at all.
 
-%description -l pl
-To jest terminal, na razie ca³kowicie nie dokoñczony.
+%description -l pl.UTF-8
+To jest terminal, na razie całkowicie nie dokończony.
 
 %prep
 %setup -q
@@ -57,6 +65,10 @@ To jest terminal, na razie ca
 %patch1 -p1
 %endif
 %patch2 -p1
+%patch3 -p1
+%if %{with classify_square_brackets_into_url_paths}
+%patch4 -p1
+%endif
 
 %build
 %{__intltoolize}
@@ -65,7 +77,9 @@ To jest terminal, na razie ca
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -76,7 +90,6 @@ rm -rf $RPM_BUILD_ROOT
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
        localedir=%{_localedir}
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
 
 %find_lang %{name} --with-gnome --all-name
@@ -101,6 +114,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_libdir}/bonobo/servers/*
 %{_datadir}/%{name}
-%{_desktopdir}/*
+%{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
This page took 0.067514 seconds and 4 git commands to generate.