File whatsie.spec of Package whatsie

#
# spec file for package whatsie
#
# Copyright (c) 2023 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:           whatsie
Version:        4.15.3
Release:        0
Summary:        Qt Based WhatsApp Client
License:        MIT
URL:            https://github.com/keshavbhatt/whatsie
Source0:        https://github.com/keshavbhatt/whatsie/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig(Qt5WebEngineWidgets)

%description
Feature rich WhatsApp web client based on Qt WebEngine for Linux Desktop

Whatsie Key features

* Light and Dark Themes with automatic switching
* Customized Notifications & Native Notifications
* Keyboard Shortcuts
* BuiltIn download manager
* Mute Audio, Disable Notifications
* App Lock feature
* Hardware access permission manager
* Built in Spell Checker (with support for 31 Major languages)
* And other ...

%prep
%setup -q

%build
%qmake5 ./src
%make_jobs

%install
%make_install INSTALL_ROOT=%{buildroot}

%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/%{name}
%dir %{_datadir}/org.keshavnrj.ubuntu
%dir %{_datadir}/org.keshavnrj.ubuntu/WhatSie
%{_datadir}/org.keshavnrj.ubuntu/WhatSie/qtwebengine_dictionaries/
%{_datadir}/icons/hicolor/
%exclude %{_datadir}/licenses/whatsie/LICENSE
%{_datadir}/metainfo/com.ktechpit.whatsie.appdata.xml
%{_datadir}/applications/com.ktechpit.whatsie.desktop

%changelog
openSUSE Build Service is sponsored by