Dominique Leuenberger
6527be115d
Update to 3.6.1 OBS-URL: https://build.opensuse.org/request/show/138313 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-terminal?expand=0&rev=90
100 lines
2.8 KiB
RPMSpec
100 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package gnome-terminal
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gnome-terminal
|
|
Version: 3.6.1
|
|
Release: 0
|
|
# FIXME: bgo#683486 - Check if gnome-doc-utils-devel BuildRequires can be dropped. There is a mismatch upstream.
|
|
Summary: GNOME Terminal
|
|
License: GPL-3.0+ and LGPL-2.1+
|
|
Group: System/X11/Terminals
|
|
Url: http://www.gnome.org
|
|
Source: http://download.gnome.org/sources/gnome-terminal/3.6/%{name}-%{version}.tar.xz
|
|
BuildRequires: fdupes
|
|
BuildRequires: gnome-doc-utils-devel
|
|
# for gtk-builder-convert
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: pkgconfig(gconf-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
|
|
BuildRequires: pkgconfig(ice)
|
|
BuildRequires: pkgconfig(sm)
|
|
BuildRequires: pkgconfig(vte-2.90) >= 0.30.0
|
|
BuildRequires: pkgconfig(x11)
|
|
PreReq: filesystem gconf2
|
|
Recommends: %{name}-lang
|
|
Obsoletes: gnome-core
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%gconf_schemas_prereq
|
|
|
|
%description
|
|
This package provides the GNOME terminal emulator application.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure --with-gtk=3.0 \
|
|
--disable-schemas-install \
|
|
--disable-scrollkeeper
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
%suse_update_desktop_file -N "GNOME Terminal" -G "Terminal" %name TerminalEmulator
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%find_gconf_schemas
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
%post
|
|
%desktop_database_post
|
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
|
|
%files -f %{name}.schemas_list
|
|
%defattr (-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%doc %{_datadir}/help/C/%{name}/
|
|
%{_bindir}/gnome-terminal
|
|
%{_datadir}/applications/gnome-terminal.desktop
|
|
%{_datadir}/gnome-terminal/
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|