File utox.spec of Package utox

# spec file for package utox
# 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

%define realname uTox
Name:           utox
Version:        0.18.1
Release:        0
Summary:        The lightweight Tox client
License:        MIT
Group:          Productivity/Networking/Instant Messenger
Source2:        uTox.keyring
BuildRequires:  c-toxcore-devel
BuildRequires:  cmake >= 3.2
BuildRequires:  dbus-1-devel
BuildRequires:  fdupes
BuildRequires:  filter_audio-devel
BuildRequires:  fontconfig-devel
BuildRequires:  freetype2-devel
BuildRequires:  hicolor-icon-theme
BuildRequires:  libX11-devel
BuildRequires:  libXext-devel
BuildRequires:  libXrender-devel
BuildRequires:  libv4l-devel
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(libavutil)
BuildRequires:  pkgconfig(libsodium)
BuildRequires:  pkgconfig(openal)
BuildRequires:  pkgconfig(opus)
BuildRequires:  pkgconfig(vpx)

Lightweight Tox client.

%setup -q -n %{realname}

%cmake \
%make_jobs V=1

%suse_update_desktop_file -r %{name} Network Telephony

%fdupes %{buildroot}

%if 0%{?suse_version} < 1500


%license LICENSE
%dir %{_datadir}/icons/hicolor/14x14
%dir %{_datadir}/icons/hicolor/14x14/apps
%dir %{_datadir}/icons/hicolor/512x512
%dir %{_datadir}/icons/hicolor/512x512/apps

openSUSE Build Service is sponsored by