Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: auralquiz
- Version: 0.6
- Release: %{mkrel 1}
- License: GPLv2+
- Group: Games/Other
- URL: http://qt-apps.org/content/show.php/Auralquiz?content=139127&PHPSESSID=fbbd0bb50ef4774af4f2657b17399239
- Source0: %{name}-%{version}.tar.gz
- Requires(post): desktop-file-utils
- Requires(postun): desktop-file-utils
- BuildRequires: phonon-devel
- BuildRequires: qt4-devel
- Requires: qt4-common phonon-gstreamer
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- Summary: A simple music quiz game for GNU/Linux.
- Summary: Un simple juego de preguntas para GNU/Linux.
- %description -l es
- El juego consiste en reproducir pequeñas partes musicales desde los directorios seleccionados y luego
- despliega algunas preguntas y múltiples respuestas acerca de la canción que se esta reproduciendo.
- Entre más rápido des la respuesta, mas puntos obtienes sobre la canción actual. Pueden jugar hasta 8
- personas por turnos. El juego esta casi completo, pero se planean agregar algunos modos y otras cosas mas
- para pulirlo.
- %description
- 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.
- %prep
- %setup -q -n auralquiz-auralquiz-dev
- %build
- #qtdir exported for old mdkversion
- export QTDIR=%{qt4dir}
- %qmake_qt4
- %make
- %install
- rm -rf $RPM_BUILD_ROOT
- # menu entry
- install -d -m 755 %{buildroot}%{_datadir}/applications/
- install -m 644 %{name}.desktop %{buildroot}%{_datadir}/applications/
- # icons
- %__install -d -m755 $RPM_BUILD_ROOT{%{_miconsdir},%{_iconsdir},%{_liconsdir}}
- convert icon/%{name}-icon.png -size 48x48 $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png
- convert icon/%{name}-icon.png -size 32x32 $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png
- convert icon/%{name}-icon.png -size 16x16 $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png
- #binaries
- install -d -m 755 %{buildroot}%{_bindir}
- install -m 755 %{name} %{buildroot}%{_bindir}/
- #lang
- install -d -m 755 %{buildroot}%{_datadir}/%{name}/locale
- install -m 755 translations/*.qm %{buildroot}%{_datadir}/%{name}/locale/
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-, root, root, -)
- %doc CHANGELOG LICENSE README
- %attr(0755,root,root) %{_bindir}/%{name}
- %{_datadir}/applications/%{name}.desktop
- %{_iconsdir}/%{name}.png
- %{_miconsdir}/%{name}.png
- %{_liconsdir}/%{name}.png
- %{_datadir}/%{name}/locale/*qm
- %changelog
- * Mon Sep 19 2011 MichaelSOG ««michaelsog@ymail.com» 0.6-1bdk.mga1
- - Build for Mageia 1
- * Thu Aug 11 2011 Falticska Florin <symbianflo@fastwebnet.it> 0.6-69.1mrb2010.2
- - First build for MRB, imported from source
- - MRB-Mandriva Users.Ro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement