gnome-terminal/gnome-terminal.spec

95 lines
2.8 KiB
RPMSpec

#
# spec file for package gnome-terminal
#
# Copyright (c) 2013 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.8.3
Release: 0
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.8/%{name}-%{version}.tar.xz
BuildRequires: fdupes
# for gtk-builder-convert
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(dconf) >= 0.12.0
BuildRequires: pkgconfig(gconf-2.0) >= 2.31.3
BuildRequires: pkgconfig(gio-2.0) >= 2.33.2
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0
BuildRequires: pkgconfig(libnautilus-extension) >= 3.0.0
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(vte-2.90) >= 0.34.6
BuildRequires: pkgconfig(x11)
PreReq: filesystem gconf2
Recommends: %{name}-lang
Obsoletes: gnome-core
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package provides the GNOME terminal emulator application.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure --with-gtk=3.0
%__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}
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post
%glib2_gsettings_schema_post
%desktop_database_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/gnome-terminal
%{_datadir}/applications/gnome-terminal.desktop
%{_libexecdir}/gnome-terminal-migration
%{_libexecdir}/gnome-terminal-server
%{_datadir}/dbus-1/services/org.gnome.Terminal.service
%{_datadir}/glib-2.0/schemas/org.gnome.Terminal.gschema.xml
%files lang -f %{name}.lang
%changelog