File deepin-turbo.spec of Package deepin-turbo

# spec file for package deepin-turbo
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019 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-turbo
Version:        0.0.3
Release:        0
Summary:        A screenshot tool
License:        LGPL-2.1-or-later
Group:          Productivity/Graphics/Convertors
# PATCH-FIX-UPSTREAM fix-return-type-Werror.patch - Fix return type Werror check
Patch0:         fix-return-type-Werror.patch
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  systemd-rpm-macros
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(dtkwidget)
BuildRequires:  pkgconfig(libsystemd)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This is a default screenshot app for Linux Deepin.

%package devel
Summary:        Development tools for deepin turbo
Group:          Development/Libraries/C and C++

%description devel
The deepin-turbo-devel package contains the header files for deepin-turbo.

%setup -q -n %{name}-%{version}
%patch0 -p1



%service_add_pre %{name}-booster-dtkwidget.service

%service_add_post %{name}-booster-dtkwidget.service

%service_del_preun %{name}-booster-dtkwidget.service

%service_del_postun %{name}-booster-dtkwidget.service


%files devel