File auralquiz.spec of Package auralquiz

Name:		auralquiz
Version:	0.8.1
Release:	4.1

License:	GPL-2.0+
Group:		Amusements/Games/Other
Source0:	139127-%{name}-v%{version}-src.tar.gz
Source1:	auralquiz.desktop

BuildRequires:	phonon-devel
BuildRequires:	libqt4-devel
BuildRequires:	ImageMagick
BuildRequires:	libtag-devel

Requires:	phonon-backend-gstreamer-0_10

Summary:	A simple music quiz game for GNU/Linux

%define _gamesbindir /usr/games

The game plays short pieces of music files from the player's chosen 
folders, and presents a question and several answers about
the current song. 
The fastest the answer, the more points the player receives. Up to 
8 people can play, in a turn-based mode.
The game is quite complete already, but there are more modes
to be added, and several rough edges to polish.
Auralquiz uses Phonon for sound output. xine-backend is recommended. 
Gstreamer-backend works mostly fine.
VLC-backend doesn't work at this point.

%setup -q -n %{name}-v%{version}-src




# menu entry
install -d -m 755 %{buildroot}%{_datadir}/applications/
cp %{SOURCE1} %{buildroot}%{_datadir}/applications/

# icons
%__install -d -m755 $RPM_BUILD_ROOT/%{_datadir}/pixmaps
convert icon/%{name}.png -size 48x48 $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.png
convert icon/%{name}.png -size 32x32 $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.png
convert icon/%{name}.png -size 16x16 $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.png

install -d -m 755 %{buildroot}/%{_gamesbindir}/
install -m 755 %{name} %{buildroot}/%{_gamesbindir}/

install -d -m 755 %{buildroot}%{_datadir}/%{name}/locale
install -m 755 translations/*.qm %{buildroot}%{_datadir}/%{name}/locale/

%defattr(-, root, root, -)
%attr(0755,root,root) %{_gamesbindir}/%{name}


* Sun Aug 12 2012 David Lara <> 0.8.1-1
* Update to version 0.8.1

* Fri Feb 17 2012 David Lara <> 0.8-2
* Rebuild for OpenSuse 12.1

* Tue Feb 14 2012 juancho <juancho> 0.8-1.mga2
+ Revision: 208604
- Added missing BR taglib-devel
- Updated to 0.8
- Removed patch auralquiz_fix_desktop_file.diff

* Sun Sep 25 2011 juancho <juancho> 0.6-1.mga2
+ Revision: 147829
- Added missing patch
- Fixed bad comment on desktop file.
- Added missing BuildRequires: imagemagick
- Changed in %%files multiple files for a wildcard.

  + vaci0 <vaci0>
    - Fix Requires phonon-backend
    - imported package auralquiz