]>
Commit | Line | Data |
---|---|---|
de6d16d9 JK |
1 | # |
2 | # TODO: | |
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 | |
17ceb23f | 7 | Name: performous |
66b61eb5 | 8 | Version: 0.6.1 |
09e0b099 | 9 | Release: 16 |
17ceb23f JK |
10 | License: GPL v2+ |
11 | Group: Applications | |
2330489e | 12 | Source0: http://downloads.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2 |
66b61eb5 | 13 | # Source0-md5: 451a759de77984b5a699e91107fe52e2 |
cb114292 | 14 | Patch0: %{name}-ffmpeg.patch |
17ceb23f JK |
15 | URL: http://performous.org/ |
16 | BuildRequires: ImageMagick-c++-devel | |
17 | BuildRequires: SDL-devel | |
18 | BuildRequires: alsa-lib-devel | |
3c4e0e7d | 19 | BuildRequires: boost-devel |
c411e695 | 20 | BuildRequires: cmake >= 2.6 |
17ceb23f | 21 | BuildRequires: ffmpeg-devel |
d9a0d954 | 22 | BuildRequires: gettext-devel |
17ceb23f JK |
23 | BuildRequires: glew-devel |
24 | BuildRequires: glibmm-devel | |
25 | BuildRequires: help2man | |
26 | BuildRequires: jack-audio-connection-kit-devel | |
6775cf17 | 27 | BuildRequires: libpng-devel |
17ceb23f JK |
28 | BuildRequires: librsvg-devel |
29 | BuildRequires: libsigc++-devel | |
30 | BuildRequires: libxml++-devel | |
2330489e | 31 | BuildRequires: opencv-devel |
17ceb23f | 32 | BuildRequires: pango-devel |
3c4e0e7d | 33 | BuildRequires: pkgconfig |
2330489e | 34 | BuildRequires: portaudio-devel |
c411e695 | 35 | Suggests: %{name}-tools = %{version}-%{release} |
17ceb23f JK |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
de6d16d9 JK |
39 | An open-source karaoke, band and dancing game where one or more |
40 | players perform a song and the game scores their perform ances. | |
41 | Supports songs in UltraStar, Frets on Fire and StepMania formats. | |
42 | Microphones and instruments from SingStar, Guit ar Hero and Rock Band | |
43 | as well as some dance pads are autodetected. | |
17ceb23f | 44 | |
c411e695 | 45 | %description -l pl.UTF-8 |
de6d16d9 JK |
46 | O ile Performous można zaklasyfikować jako program do karaoke, to jest |
47 | czymś o wiele więcej. Zamiast tylko wyświetlać tekst, wyświetlane są | |
48 | także nuty, a wykonanie jest oceniane w oparciu o to, jak dobrze | |
c411e695 JB |
49 | pasuje do nut. W przeciwieństwie do innych gier tego gatunku podawana |
50 | jest także dokładna wysokość śpiewanych tonów, więc można zobaczyć, co | |
51 | wykonuje się źle i (względnie) łatwo się poprawić. | |
52 | ||
53 | Większość dostępnych piosenek zawiera także oryginalne wokale, zaś | |
54 | wersje karaoke są dość rzadkie. | |
55 | ||
56 | Dla śpiewających niezbyt dobrze dostępny jest tryb karaoke. W tyb | |
57 | trybie wyświetlane są tylko słowa i nie ma nut ani oceniania. | |
58 | ||
66b61eb5 JK |
59 | %package tools |
60 | Summary: Performous tools | |
c411e695 | 61 | Summary(pl.UTF-8): Narzędzia do programu Performous |
66b61eb5 JK |
62 | Group: Applications |
63 | ||
64 | %description tools | |
c411e695 JB |
65 | Several utilities for converting data files for Performous. |
66 | ||
67 | %description tools -l pl.UTF-8 | |
68 | Zestaw narzędzi do konwersji danych dla programu Performous. | |
66b61eb5 | 69 | |
17ceb23f JK |
70 | %prep |
71 | %setup -qn Performous-%{version}-Source | |
cb114292 | 72 | %patch0 -p1 |
17ceb23f JK |
73 | |
74 | %build | |
75 | mkdir build | |
76 | cd build | |
77 | %cmake .. \ | |
3c4e0e7d | 78 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ |
c411e695 JB |
79 | -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -DBOOST_FILESYSTEM_VERSION=2" \ |
80 | -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags} -DBOOST_FILESYSTEM_VERSION=2" \ | |
3c4e0e7d | 81 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
17ceb23f | 82 | %if "%{_lib}" == "lib64" |
3c4e0e7d | 83 | -DLIB_SUFFIX=64 |
17ceb23f JK |
84 | %endif |
85 | ||
86 | %{__make} | |
87 | ||
17ceb23f JK |
88 | %install |
89 | rm -rf $RPM_BUILD_ROOT | |
66b61eb5 | 90 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
17ceb23f JK |
91 | |
92 | %{__make} -C build install \ | |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
c411e695 | 95 | install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
66b61eb5 | 96 | |
0f6ae010 | 97 | %find_lang %{name} --all-name |
17ceb23f JK |
98 | |
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
0f6ae010 | 102 | %files -f %{name}.lang |
17ceb23f | 103 | %defattr(644,root,root,755) |
c411e695 | 104 | %doc docs/{Authors,TODO,instruments}.txt |
66b61eb5 | 105 | %attr(755,root,root) %{_bindir}/performous |
17ceb23f | 106 | %{_datadir}/games/%{name} |
c411e695 JB |
107 | %{_mandir}/man6/performous.6* |
108 | %{_desktopdir}/performous.desktop | |
109 | %{_pixmapsdir}/performous.xpm | |
66b61eb5 JK |
110 | |
111 | %files tools | |
112 | %defattr(644,root,root,755) | |
c411e695 | 113 | %attr(755,root,root) %{_bindir}/gh_*_decrypt |
66b61eb5 JK |
114 | %attr(755,root,root) %{_bindir}/itg_pck |
115 | %attr(755,root,root) %{_bindir}/ss_* | |
c411e695 JB |
116 | %{_mandir}/man1/gh_*_decrypt.1* |
117 | %{_mandir}/man1/ss_*.1* |