File radiotray.spec of Package radiotray

# spec file for package radiotray
# Copyright (c) 2017 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.

# Please submit bugfixes or comments via

Name:           radiotray
Version:        0.7.3
Release:        0
Summary:        A streaming player for listening to online radios
License:        GPL-1.0+
Group:          Productivity/Multimedia/Sound/Players
# PATCH-FIX-UPSTREAM radiotray-0.7.3-fix-wrong-mutex-unlock.patch boo#904322
Patch0:         radiotray-0.7.3-fix-wrong-mutex-unlock.patch
# PATCH-FIX-UPSTREAM radiotray-port-gst1-gtk3.patch -- Port to gtk3 and gstreamer-1.0.
Patch1:         radiotray-port-gst1-gtk3.patch
BuildRequires:  fdupes
BuildRequires:  gettext
BuildRequires:  python
BuildRequires:  python-xdg
BuildRequires:  update-desktop-files
Requires:       python-gobject-Gdk
Requires:       python-gst
Requires:       python-gtk
Requires:       python-lxml
Requires:       python-notify
Requires:       python-xdg
Recommends:     %{name}-lang
Recommends:     gstreamer-plugins-ugly
BuildArch:      noarch

Radio Tray is an online radio streaming player that runs on a Linux system
tray. Its goal is to have the minimum interface possible, making it very
straightforward to use.

Radio Tray is not a full featured music player, there are plenty of
excellent music players already. However, there was a need for a simple
application with minimal interface just to listen to online radios.
And that's the sole purpose of Radio Tray.


%setup -q

CFLAGS="%{optflags}" python build

python install -O1 --skip-build --root %{buildroot}
%suse_update_desktop_file radiotray
%find_lang %{name} %{?no_lang_C}
rm -r %{buildroot}%{_datadir}/doc/%{name}-%{version}
%fdupes %{buildroot}%{python_sitelib}




%files lang -f %{name}.lang

openSUSE Build Service is sponsored by