File Gtkeddit.spec of Package Gtkeddit

#
# spec file for package Gtkeddit
#
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# 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:           Gtkeddit
Version:        0.3.0
Release:        0
Summary:        A GTK4 Reddit client written in C++
License:        GPL-3.0-or-later
Group:          Productivity/Networking/Other
URL:            https://gitlab.com/caveman250/Gtkeddit/
Source:         https://gitlab.com/caveman250/Gtkeddit/-/archive/%{version}/%{name}-%{version}.tar.bz2
Patch0:         fix-desktop-file.patch
BuildRequires:  boost-devel
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gtkmm-4.0)
BuildRequires:  pkgconfig(jsoncpp)
BuildRequires:  pkgconfig(libcrypto)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(libmicrohttpd)
BuildRequires:  pkgconfig(libsecret-1)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(websocketpp)
BuildRequires:  pkgconfig(libadwaita-1)

%description
A GTK4 Reddit client written in C++ .

%prep
%autosetup -p1

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%license LICENSE
%doc README.md
%{_bindir}/gtkeddit
%{_datadir}/applications/gtkeddit.desktop
%{_datadir}/gtkeddit/
%{_datadir}/icons/gtkeddit.png
%{_datadir}/metainfo/io.gitlab.caveman250.gtkeddit.metainfo.xml

%changelog
openSUSE Build Service is sponsored by