Advertisement
MichaelSOG

auralquiz-0.6-1bdk.mga1.spec

Sep 19th, 2011
3,057
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Name:       auralquiz
  2. Version:    0.6
  3. Release:    %{mkrel 1}
  4. License:    GPLv2+
  5. Group:      Games/Other
  6. URL:        http://qt-apps.org/content/show.php/Auralquiz?content=139127&PHPSESSID=fbbd0bb50ef4774af4f2657b17399239
  7. Source0:    %{name}-%{version}.tar.gz
  8. Requires(post): desktop-file-utils
  9. Requires(postun):   desktop-file-utils
  10. BuildRequires:  phonon-devel
  11. BuildRequires:  qt4-devel
  12. Requires:   qt4-common phonon-gstreamer
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14.  
  15. Summary:    A simple music quiz game for GNU/Linux.
  16. Summary:        Un simple juego de preguntas para GNU/Linux.
  17.  
  18. %description -l es
  19. El juego consiste en reproducir pequeñas partes musicales desde los directorios seleccionados y luego
  20. despliega algunas preguntas y múltiples respuestas acerca de la canción que se esta reproduciendo.
  21. Entre más rápido des la respuesta, mas puntos obtienes sobre la canción actual. Pueden jugar hasta 8
  22. personas por turnos. El juego esta casi completo, pero se planean agregar algunos modos y otras cosas mas
  23. para pulirlo.
  24.  
  25. %description
  26. The game plays short pieces of music files from the player's chosen
  27. folders, and presents a question and several answers about the current song.
  28. The fastest the answer, the more points the player receives. Up to 8 people
  29. can play, in a turn-based mode.
  30. The game is quite complete already, but there are more modes to be added,
  31. and several rough edges to polish.
  32. Auralquiz uses Phonon for sound output. xine-backend is recommended.
  33. Gstreamer-backend works mostly fine.
  34. VLC-backend doesn't work at this point.
  35.  
  36. %prep
  37. %setup -q -n auralquiz-auralquiz-dev
  38.  
  39. %build
  40. #qtdir exported for old mdkversion
  41. export QTDIR=%{qt4dir}
  42. %qmake_qt4
  43.  
  44. %make
  45.  
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48.  
  49. # menu entry
  50. install -d -m 755 %{buildroot}%{_datadir}/applications/
  51. install -m 644 %{name}.desktop %{buildroot}%{_datadir}/applications/
  52.  
  53. # icons
  54. %__install -d -m755 $RPM_BUILD_ROOT{%{_miconsdir},%{_iconsdir},%{_liconsdir}}
  55. convert icon/%{name}-icon.png -size 48x48 $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png
  56. convert icon/%{name}-icon.png -size 32x32 $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png
  57. convert icon/%{name}-icon.png -size 16x16 $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png
  58.  
  59. #binaries
  60. install -d -m 755 %{buildroot}%{_bindir}
  61. install -m 755 %{name} %{buildroot}%{_bindir}/
  62.  
  63. #lang
  64. install -d -m 755 %{buildroot}%{_datadir}/%{name}/locale
  65. install -m 755  translations/*.qm %{buildroot}%{_datadir}/%{name}/locale/
  66.  
  67. %clean
  68. rm -rf $RPM_BUILD_ROOT
  69.  
  70. %files
  71. %defattr(-, root, root, -)
  72. %doc CHANGELOG LICENSE README
  73. %attr(0755,root,root) %{_bindir}/%{name}
  74. %{_datadir}/applications/%{name}.desktop
  75. %{_iconsdir}/%{name}.png
  76. %{_miconsdir}/%{name}.png
  77. %{_liconsdir}/%{name}.png
  78. %{_datadir}/%{name}/locale/*qm
  79.  
  80.  
  81. %changelog
  82.  
  83. * Mon Sep 19 2011 MichaelSOG ««michaelsog@ymail.com» 0.6-1bdk.mga1
  84. - Build for Mageia 1
  85.  
  86. * Thu Aug 11 2011 Falticska Florin <symbianflo@fastwebnet.it> 0.6-69.1mrb2010.2
  87. - First build for MRB, imported from source
  88. - MRB-Mandriva Users.Ro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement