3 # - update Polish description, current is outdated (it is not only a
4 # karaoke game any more)
5 Summary: Performous - The All-in-One Music Game
6 Summary(pl.UTF-8): Performous - wiele gier muzycznych w jednej
12 Source0: http://downloads.sourceforge.net/performous/performous-%{version}.tar.bz2
13 # Source0-md5: 60f3f72b51a630a4aa996484aedb9526
14 Patch1: %{name}-libpng15.patch
16 URL: http://performous.org/
17 BuildRequires: ImageMagick-c++-devel
18 BuildRequires: SDL-devel
19 BuildRequires: alsa-lib-devel
20 BuildRequires: boost-devel
21 BuildRequires: cmake >= 2.6
22 BuildRequires: ffmpeg-devel
23 BuildRequires: gettext-devel
24 BuildRequires: glew-devel
25 BuildRequires: glibmm-devel
26 BuildRequires: help2man
27 BuildRequires: jack-audio-connection-kit-devel
28 BuildRequires: libpng-devel
29 BuildRequires: librsvg-devel
30 BuildRequires: libsigc++-devel
31 BuildRequires: libxml++-devel
32 BuildRequires: opencv-devel
33 BuildRequires: pango-devel
34 BuildRequires: pkgconfig
35 BuildRequires: portaudio-devel
36 Suggests: %{name}-tools = %{version}-%{release}
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 An open-source karaoke, band and dancing game where one or more
41 players perform a song and the game scores their perform ances.
42 Supports songs in UltraStar, Frets on Fire and StepMania formats.
43 Microphones and instruments from SingStar, Guit ar Hero and Rock Band
44 as well as some dance pads are autodetected.
46 %description -l pl.UTF-8
47 O ile Performous można zaklasyfikować jako program do karaoke, to jest
48 czymś o wiele więcej. Zamiast tylko wyświetlać tekst, wyświetlane są
49 także nuty, a wykonanie jest oceniane w oparciu o to, jak dobrze
50 pasuje do nut. W przeciwieństwie do innych gier tego gatunku podawana
51 jest także dokładna wysokość śpiewanych tonów, więc można zobaczyć, co
52 wykonuje się źle i (względnie) łatwo się poprawić.
54 Większość dostępnych piosenek zawiera także oryginalne wokale, zaś
55 wersje karaoke są dość rzadkie.
57 Dla śpiewających niezbyt dobrze dostępny jest tryb karaoke. W tyb
58 trybie wyświetlane są tylko słowa i nie ma nut ani oceniania.
61 Summary: Performous tools
62 Summary(pl.UTF-8): Narzędzia do programu Performous
66 Several utilities for converting data files for Performous.
68 %description tools -l pl.UTF-8
69 Zestaw narzędzi do konwersji danych dla programu Performous.
80 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
81 -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags}" \
82 -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
83 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
84 %if "%{_lib}" == "lib64"
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_mandir}/man1
94 %{__make} -C build install \
95 DESTDIR=$RPM_BUILD_ROOT
97 install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
99 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
101 %find_lang %{name} --all-name
104 rm -rf $RPM_BUILD_ROOT
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc docs/{Authors,TODO,instruments}.txt
109 %attr(755,root,root) %{_bindir}/performous
110 %{_datadir}/games/%{name}
111 %{_mandir}/man6/performous.6*
112 %{_desktopdir}/performous.desktop
113 %{_pixmapsdir}/performous.xpm
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/gh_*_decrypt
118 %attr(755,root,root) %{_bindir}/itg_pck
119 %attr(755,root,root) %{_bindir}/ss_*
120 %{_mandir}/man1/gh_*_decrypt.1*
121 %{_mandir}/man1/ss_*.1*