File upplay.spec of Package upplay

# spec file for package libupnpp
# Copyright (c) 2014 SUSE LINUX Products 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.

# Please submit bugfixes or comments via

Name:           upplay
Version:        0.9.1+git.1416302061.516c25a
Release:        0
License:        GPL-2.0+
Summary:        Qt/X11 UPnP/OpenHome audio Control Point
Group:          Productivity/Multimedia/Other
Source:         %{name}-%{version}.tar.xz
BuildRequires:  gcc-c++
BuildRequires:  libqt4-devel
BuildRequires:  libupnpp-devel
BuildRequires:  libQtWebKit-devel
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

upplay is a simple Qt-based UPnP/OpenHome Control Point for Unix desktops.

It is based on the Sayonara local player, the UI of which was reused and
pitilessly maimed.

It supports gapless transitions using either AVTransport setNextUri or 
OpenHome Playlist, depending on what the device supports
(OpenHome is chosen if available).

%setup -q

qmake QMAKE_CXXFLAGS="%{optflags}"
make %{?_smp_mflags}

make install INSTALL_ROOT=%{buildroot} %{?_smp_mflags}
install -m 755 -d %{buildroot}%{_datadir}/pixmaps/
install -m 644 -p GUI/icons/upplay.png %{buildroot}%{_datadir}/pixmaps/
%suse_update_desktop_file upplay AudioVideo Player

%dir %{_datadir}/upplay/

openSUSE Build Service is sponsored by