Blame upplay.spec

4782dd
#
4782dd
# spec file for package upplay
4782dd
#
f2118f
# Copyright (c) 2022 SUSE LLC
4782dd
#
4782dd
# All modifications and additions to the file contributed by third parties
4782dd
# remain the property of their copyright owners, unless otherwise agreed
4782dd
# upon. The license for this file, and modifications and additions to the
4782dd
# file, is the same license as for the pristine package itself (unless the
4782dd
# license for the pristine package is not an Open Source License, in which
4782dd
# case the license is the MIT License). An "Open Source License" is a
4782dd
# license that conforms to the Open Source Definition (Version 1.9)
4782dd
# published by the Open Source Initiative.
4782dd
4782dd
# Please submit bugfixes or comments via https://bugs.opensuse.org/
4782dd
#
4782dd
4782dd
4782dd
Name:           upplay
f2118f
Version:        1.6.0
4782dd
Release:        0
4782dd
Summary:        UPnP and OpenHome audio Control Point
4782dd
License:        GPL-2.0-or-later
4782dd
URL:            https://www.lesbonscomptes.com/upplay/
4782dd
Source:         https://www.lesbonscomptes.com/upplay/downloads/upplay-%{version}.tar.gz
4782dd
BuildRequires:  fdupes
4782dd
BuildRequires:  gcc-c++
4782dd
BuildRequires:  hicolor-icon-theme
4782dd
BuildRequires:  libqt5-qtbase-common-devel
4782dd
BuildRequires:  pkgconfig
4782dd
BuildRequires:  update-desktop-files
4782dd
BuildRequires:  pkgconfig(Qt5WebEngine)
4782dd
BuildRequires:  pkgconfig(jsoncpp)
4782dd
BuildRequires:  pkgconfig(libupnpp)
f2118f
BuildRequires:  pkgconfig(mpris-qt5)
4782dd
4782dd
%description
4782dd
upplay is a Qt5-based audio Control Point for browsing and playing music
4782dd
managed by your UPnP/DLNA media servers to your UPnP/DLNA/OpenHome players (renderers).
4782dd
4782dd
%prep
fab4f6
%setup -q
4782dd
4782dd
%build
4782dd
%qmake5 'WEBPLATFORM=webengine' QMAKE_POST_LINK='$(STRIP) $(TARGET)'
4782dd
%make_build STRIP=%{_bindir}/strip
4782dd
4782dd
%install
4782dd
make install INSTALL_ROOT=%{buildroot}
4782dd
%suse_update_desktop_file -n -r %{name} "AudioVideo;Player"
4782dd
%fdupes %{buildroot}/%{_prefix}
4782dd
4782dd
%files
4782dd
%license COPYING
4782dd
%doc AUTHORS
4782dd
%{_bindir}/%{name}
4782dd
%{_datadir}/applications/upplay.desktop
4782dd
%{_datadir}/%{name}
4782dd
%{_datadir}/icons/hicolor/48x48/apps/upplay.png
4782dd
%{_datadir}/pixmaps/upplay.png
4782dd
4782dd
%changelog