File sugar-jukebox.spec of Package sugar-jukebox
#
# spec file for package sugar-jukebox
#
# Copyright (c) 2013 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 http://bugs.opensuse.org/
#
Name: sugar-jukebox
Version: 32
%if 0%{?suse_version}
Release: 1
%else
Release: 1%{?dist}
%endif
License: GPL-2.0+
Summary: Audio and video player
Url: http://sugarlabs.org/
Group: Sugar/Activities
Source: http://download.sugarlabs.org/sources/sucrose/fructose/Jukebox/Jukebox-%{version}.tar.bz2
Source1: sugar-jukebox-rpmlintrc
Requires: sugar-activities
Requires: sugar-toolkit >= 0.84.4
Requires: typelib-1_0-GstVideo-1_0
Requires: typelib-1_0-Gst-1_0
Requires: python-gst
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: gstreamer-0_10-plugins-base
BuildRequires: sugar-activities
BuildRequires: sugar-toolkit >= 0.84.4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
The Audio and video player for Sugar.
%prep
%setup -q -n Jukebox-%{version}
%build
rm -f MANIFEST
python setup.py build
%install
python setup.py install --prefix=%{buildroot}/%{_prefix}
find %{buildroot} -name '*.py.orig' -print0 | xargs -0 rm -f
%find_lang org.laptop.sugar.Jukebox
%fdupes -s %{buildroot}
%clean
rm -rf %{buildroot}
%files -f org.laptop.sugar.Jukebox.lang
%defattr(-,root,root,-)
%{_datadir}/sugar/activities/*
%doc AUTHORS COPYING NEWS TODO
%changelog