File coretime.spec of Package coretime

#
# spec file for package coretime
#
# Copyright (c) 2021 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  _name  org.cubocore.CoreTime
Name:           coretime
Version:        @SERVICE@
Release:        0
Summary:        A time related task manager
License:        GPL-3.0-or-later
Group:          System/GUI/Other
URL:            https://gitlab.com/cubocore/coreapps/coretime
Source:         %{name}-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  ninja
BuildRequires:  hicolor-icon-theme
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5Multimedia)
BuildRequires:  pkgconfig(cprime-core)
BuildRequires:  pkgconfig(cprime-widgets)
#uildRequires:  update-desktop-files

%description
A time related task manager for C Suite.

%prep
%autosetup

%build
%define __builder ninja
%cmake
%ninja_build

%install
%cmake_install

%files
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{_name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{_name}.??g
%dir %{_datadir}/coreapps
%dir %{_datadir}/coreapps/resource
%{_datadir}/coreapps/resource/sound.ogg
%license LICENSE

%changelog
openSUSE Build Service is sponsored by