File whatsapp-for-linux.spec of Package whatsapp-for-linux-1.4.1-3.32

#
# spec file for package phosh
#
# Copyright (c) 2022 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:           whatsapp-for-linux
Version:        1.4.1
Release:        3.32
Summary:        An unofficial WhatsApp desktop application written in C++

License:        GPL-3.0-or-later
URL:            https://github.com/eneshecan/whatsapp-for-linux
Source0:        %{name}-%{version}.tar.xz

BuildRequires:  cmake
BuildRequires:  gcc-devel
BuildRequires:  gcc-c++
BuildRequires:  gtkmm3-devel
BuildRequires:  pkgconfig(webkit2gtk-4.0)
BuildRequires:  libayatana-appindicator3-devel

%description
An unofficial WhatsApp desktop application written in C++

%prep
%autosetup -p1

%build
%cmake \
       -DCMAKE_BUILD_TYPE=Release

%make_build

%install
%make_install -C build

%files
%{_bindir}/whatsapp-for-linux
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%{_datadir}/icons/hicolor/*x*/status/whatsapp-for-linux-*

%changelog
* Thu Mar 24 2022 Adrian Campos Garrido <adriancampos@teachelp.com>
- First build version 1.4.1
openSUSE Build Service is sponsored by