File deepin-terminal.spec of Package deepin-terminal

# spec file for package deepin-terminal
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Hillwood Yang <>
# 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

Name:           deepin-terminal
Version:        2.9.2
Release:        0
Summary:        Deepin terminal
License:        GPL-3.0
Group:          System/X11/Terminals
# PATCH-FIX-OPENSUSE deepin-terminal_unbundle_vte.patch - Use vte in system default
Patch0:         deepin-terminal_unbundle_vte.patch
BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  vala
BuildRequires:  hicolor-icon-theme
BuildRequires:  update-desktop-files
BuildRequires:  readline-devel
BuildRequires:  pkgconfig(vapigen)
BuildRequires:  pkgconfig(xcb)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(vte-2.91)
BuildRequires:  pkgconfig(gee-0.8)
BuildRequires:  pkgconfig(json-glib-1.0)
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(libwnck-3.0)
BuildRequires:  pkgconfig(fontconfig)
BuildRequires:  pkgconfig(libsecret-1)
BuildRequires:  pkgconfig(gdk-x11-3.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(librsvg-2.0)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build


Deepin terminal, it sharpens your focus in the world of command line!

Deepin Terminal is an advanced terminal emulator with workspace, multiple 
windows, remote management, quake mode and other features.
It sharpens your focus in the world of command line!

%setup -q
%patch0 -p1

sed -i 's|return __FILE__;|return "%{_datadir}/%{name}/project_path.c";|' project_path.c
%cmake -DCMAKE_INSTALL_DIR=%{_prefix} \
make %{?_smp_mflags}


%suse_update_desktop_file %{name}
%find_lang %{name}
%fdupes %{buildroot}



%dir %{_datadir}/%{name}
%dir %{_datadir}/dman/
%dir %{_libexecdir}/%{name}

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by