2007-01-09 17:44:27 +01:00
|
|
|
#
|
2010-05-14 00:50:14 +02:00
|
|
|
# spec file for package gnome-terminal (Version 2.30.1)
|
2007-01-09 17:44:27 +01:00
|
|
|
#
|
2010-01-18 16:00:17 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-09 17:44:27 +01:00
|
|
|
#
|
2008-08-14 01:21:17 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-09 17:44:27 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-21 01:53:15 +01:00
|
|
|
|
2007-01-09 17:44:27 +01:00
|
|
|
Name: gnome-terminal
|
2008-10-09 19:16:03 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
|
|
|
BuildRequires: intltool
|
2009-02-17 17:46:28 +01:00
|
|
|
BuildRequires: gconf2-devel
|
|
|
|
BuildRequires: dbus-1-glib-devel
|
2009-03-11 22:39:59 +01:00
|
|
|
BuildRequires: scrollkeeper
|
2008-10-09 19:16:03 +02:00
|
|
|
BuildRequires: startup-notification-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: vte-devel
|
2009-12-16 11:20:33 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2007-01-09 17:44:27 +01:00
|
|
|
Group: System/X11/Terminals
|
|
|
|
Obsoletes: gnome-core
|
2010-05-14 00:50:14 +02:00
|
|
|
Version: 2.30.1
|
2009-09-03 18:17:47 +02:00
|
|
|
Release: 1
|
2007-01-09 17:44:27 +01:00
|
|
|
Summary: The GNOME 2.x Desktop Terminal
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-09-15 12:00:53 +02:00
|
|
|
Url: http://www.gnome.org
|
2007-01-09 17:44:27 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: filesystem gconf2
|
2008-10-09 19:16:03 +02:00
|
|
|
Patch0: gnome-terminal-desktop.patch
|
2007-08-09 17:17:16 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2007-01-09 17:44:27 +01:00
|
|
|
%gconf_schemas_prereq
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the GNOME 2.x Desktop Terminal program. It is
|
|
|
|
handy for quick tasks on the command line.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-09 17:17:16 +02:00
|
|
|
%lang_package
|
2007-01-09 17:44:27 +01:00
|
|
|
%prep
|
2009-02-12 16:01:03 +01:00
|
|
|
%setup -q
|
2008-10-09 19:16:03 +02:00
|
|
|
%patch0 -p1
|
2007-01-09 17:44:27 +01:00
|
|
|
|
|
|
|
%build
|
2008-10-09 19:16:03 +02:00
|
|
|
# autoreconf -f -i
|
|
|
|
%configure \
|
|
|
|
--disable-schemas-install \
|
|
|
|
--disable-scrollkeeper
|
2008-05-06 01:23:13 +02:00
|
|
|
%__make %{?jobs:-j%jobs}
|
2007-01-09 17:44:27 +01:00
|
|
|
|
|
|
|
%install
|
2007-04-27 16:46:13 +02:00
|
|
|
%makeinstall
|
2009-12-30 00:21:00 +01:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2009-03-11 22:39:59 +01:00
|
|
|
# Some doc translations are not ported to gnome-doc-utils, so we still have to
|
|
|
|
# do this. When this won't be needed anymore, we'll be able to remove
|
|
|
|
# scrollkeeper from BuildRequires.
|
2007-01-18 01:30:56 +01:00
|
|
|
rm -r $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
|
2007-01-09 17:44:27 +01:00
|
|
|
%suse_update_desktop_file -G "Command Line Terminal" %name TerminalEmulator
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_gconf_schemas
|
2007-08-09 17:17:16 +02:00
|
|
|
cat %{name}.schemas_list >%{name}.lst
|
|
|
|
%fdupes $RPM_BUILD_ROOT
|
2007-01-09 17:44:27 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
2009-07-31 19:35:44 +02:00
|
|
|
|
2007-01-09 17:44:27 +01:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
|
|
|
|
%files -f %{name}.lst
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
|
%{_bindir}/gnome-terminal
|
|
|
|
%{_datadir}/applications/gnome-terminal.desktop
|
|
|
|
%{_datadir}/gnome-terminal
|
|
|
|
|
2007-08-09 17:17:16 +02:00
|
|
|
%files lang -f %{name}.lang
|
2008-01-30 21:02:06 +01:00
|
|
|
|
2007-02-26 19:03:06 +01:00
|
|
|
%changelog
|