File ukui-session-manager.spec of Package ukui-session-manager

#
# spec file for package ukui-session-manager
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#

%define project ukui

Name:           ukui-session-manager
Version:        3.0.1
Release:        0
Summary:        UKUI Session Manager
License:        LGPL-2.1
Group:          System/GUI/Other
URL:            https://github.com/ukui/ukui-session-manager
Source:         https://github.com/ukui/ukui-session-manager/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  pkgconfig(Qt5Multimedia)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5X11Extras)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(gsettings-qt)
BuildRequires:  pkgconfig(xtst)
BuildRequires:  pkgconfig(xcb)
BuildRequires:  cmake(Qt5LinguistTools)
BuildRequires:  cmake(KF5IdleTime)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Launched at the beginning of UKUI sessions and responsible for launching and
monitoring all other components constituing the sessions.

%lang_package

%prep
%setup -q

%build
%cmake 

%install
%cmake_install

%fdupes %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/%{project}-*
%{_datadir}/glib-2.0/schemas/org.%{project}.session.gschema.xml
%{_datadir}/xsessions/%{project}.desktop

%files lang
%defattr(-,root,root,-)
%dir %{_datadir}/%{project}
%dir %{_datadir}/%{project}/translations
%{_datadir}/%{project}/translations/%{name}

%changelog
openSUSE Build Service is sponsored by