File plasmatube.spec of Package plasmatube-0.0.1.20220210-1.3

# spec file for plasmatube
#
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

Name:           plasmatube
Version:        0.0.1.20220210
Release:        1.3
License:        GPL-3.0-or-later AND CC-BY-SA-4.0
Summary:        YouTube client
Url:            https://invent.kde.org/plasma-mobile/plasmatube
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  extra-cmake-modules
BuildRequires:  hicolor-icon-theme
BuildRequires:  update-desktop-files
BuildRequires:  AppStream
BuildRequires:  gcc-c++
BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  cmake(Qt5Core) 
BuildRequires:  cmake(Qt5Quick) 
BuildRequires:  cmake(Qt5Test) 
BuildRequires:  cmake(Qt5Gui) 
BuildRequires:  cmake(Qt5Svg) 
BuildRequires:  cmake(Qt5QuickControls2)
BuildRequires:  cmake(KF5Kirigami2) 
BuildRequires:  cmake(KF5I18n)
Requires:       kirigami2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
YouTube video player based on libmpv and youtube-dl.

%prep
%setup -q -n %{name}-%{version}

%build
%cmake_kf5 -d build
%cmake_build

%install
%kf5_makeinstall -C build
%kf5_post_install
%fdupes %{buildroot}%{_prefix}

%files
%defattr(-,root,root,-)
%license LICENSES/*
%{_kf5_bindir}/%{name}
%{_kf5_applicationsdir}/org.kde.%{name}.desktop
%{_kf5_iconsdir}/*/*/*/org.kde.%{name}.svg
%{_kf5_appstreamdir}/org.kde.%{name}.appdata.xml

%changelog
* Sun Jun 13 2021 Andrés B.S. <andresbs@opensuse.org>
- Add changelog
openSUSE Build Service is sponsored by