File decibel-audio-player.spec of Package decibel-audio-player
#
# spec file for package decibel-audio-player (Version 1.00)
#
# Copyright (c) 2009 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: decibel-audio-player
Version: 1.00
Release: 2
License: GPL v2 or later
Summary: Decibel Audio Player Is an Easy to Use Audio Player
Url: http://decibel.silent-blade.org/
Group: Productivity/Multimedia/Sound/Players
Source0: %{name}-%{version}.tar.bz2
BuildRequires: python
BuildRequires: update-desktop-files
Requires: dbus-1-python
Requires: python-gnome
Requires: python-gstreamer-0_10
Requires: python-gtk
Requires: python-mutagen
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%py_requires
%description
Decibel Audio Player is a GTK+ open-source (GPL license) audio player
designed for GNU/Linux, which aims at being very straightforward to use
by mean of a very clean and user friendly interface. It is especially
targeted at Gnome and will follow as closely as possible the Gnome HIG.
%prep
%setup -q
%build
%install
export CFLAGS="%{optflags}"
DESTDIR=%{buildroot} prefix=/usr make install
%suse_update_desktop_file -N "Decibel" -G "Audio Player" %name AudioVideo Player
%find_lang %{name}
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/*
%{_datadir}/%{name}/
%attr(755,root,root) %{_datadir}/%{name}/src/*.py
%{_mandir}/man?/*.*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%changelog