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

#
# spec file for package ukui-biometric-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/
#

Name:           ukui-biometric-manager
Version:        1.0.0
Release:        0
Summary:        Manager for biometric authentication
License:        GPL-3.0+
Group:          System/GUI/Other
URL:            https://github.com/ukui/ukui-biometric-manager
Source:         https://github.com/ukui/ukui-biometric-manager/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires:  update-desktop-files
BuildRequires:  cmake(Qt5LinguistTools)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(x11)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Manager for biometric authentication in ukui desktop.

%prep
%setup -q

%build
%qmake5

%install
%qmake5_install

%suse_update_desktop_file -r biometric-manager Qt System Security

%files
%defattr(-,root,root,-)
%{_bindir}/biometric-manager
%{_datadir}/applications/biometric-manager.desktop
%{_datadir}/pixmaps/biometric-manager.png

%changelog
openSUSE Build Service is sponsored by