]>
Commit | Line | Data |
---|---|---|
17ceb23f | 1 | Summary: Performous - a free cross-platform singing game |
c411e695 | 2 | Summary(pl.UTF-8): Performous - wieloplatformowa, wolnodostępna gra w śpiewanie |
17ceb23f | 3 | Name: performous |
66b61eb5 | 4 | Version: 0.6.1 |
040ac4f6 | 5 | Release: 12 |
17ceb23f JK |
6 | License: GPL v2+ |
7 | Group: Applications | |
2330489e | 8 | Source0: http://downloads.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2 |
66b61eb5 | 9 | # Source0-md5: 451a759de77984b5a699e91107fe52e2 |
cb114292 | 10 | Patch0: %{name}-ffmpeg.patch |
17ceb23f JK |
11 | URL: http://performous.org/ |
12 | BuildRequires: ImageMagick-c++-devel | |
13 | BuildRequires: SDL-devel | |
14 | BuildRequires: alsa-lib-devel | |
3c4e0e7d | 15 | BuildRequires: boost-devel |
c411e695 | 16 | BuildRequires: cmake >= 2.6 |
17ceb23f | 17 | BuildRequires: ffmpeg-devel |
d9a0d954 | 18 | BuildRequires: gettext-devel |
17ceb23f JK |
19 | BuildRequires: glew-devel |
20 | BuildRequires: glibmm-devel | |
21 | BuildRequires: help2man | |
22 | BuildRequires: jack-audio-connection-kit-devel | |
6775cf17 | 23 | BuildRequires: libpng-devel |
17ceb23f JK |
24 | BuildRequires: librsvg-devel |
25 | BuildRequires: libsigc++-devel | |
26 | BuildRequires: libxml++-devel | |
2330489e | 27 | BuildRequires: opencv-devel |
17ceb23f | 28 | BuildRequires: pango-devel |
3c4e0e7d | 29 | BuildRequires: pkgconfig |
2330489e | 30 | BuildRequires: portaudio-devel |
c411e695 | 31 | Suggests: %{name}-tools = %{version}-%{release} |
17ceb23f JK |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | While Performous might be classified as a karaoke program, it is | |
36 | actually much more than that. Instead of just displaying the lyrics, | |
37 | notes are also displayed and the performance is scored based on how | |
38 | well you actually hit the notes. Unlike in most other games in this | |
39 | genre, you will also see the precise pitch that you are singing, so | |
40 | that you can see what you are doing wrong and easily (well, everything | |
41 | is relative) correct your pitch. | |
42 | ||
43 | Most of the songs available also contain the original vocals and | |
44 | actual karaoke versions are rare. | |
45 | ||
46 | For those who sing rather than well, a karaoke mode is provided. In | |
47 | this mode only lyrics are displayed and there are no notes or scoring. | |
48 | ||
c411e695 JB |
49 | %description -l pl.UTF-8 |
50 | O ile Performous można zaklasyfikować jako program do karaoke, to | |
51 | jest czymś o wiele więcej. Zamiast tylko wyświetlać tekst, wyświetlane | |
52 | są także nuty, a wykonanie jest oceniane w oparciu o to, jak dobrze | |
53 | pasuje do nut. W przeciwieństwie do innych gier tego gatunku podawana | |
54 | jest także dokładna wysokość śpiewanych tonów, więc można zobaczyć, co | |
55 | wykonuje się źle i (względnie) łatwo się poprawić. | |
56 | ||
57 | Większość dostępnych piosenek zawiera także oryginalne wokale, zaś | |
58 | wersje karaoke są dość rzadkie. | |
59 | ||
60 | Dla śpiewających niezbyt dobrze dostępny jest tryb karaoke. W tyb | |
61 | trybie wyświetlane są tylko słowa i nie ma nut ani oceniania. | |
62 | ||
66b61eb5 JK |
63 | %package tools |
64 | Summary: Performous tools | |
c411e695 | 65 | Summary(pl.UTF-8): Narzędzia do programu Performous |
66b61eb5 JK |
66 | Group: Applications |
67 | ||
68 | %description tools | |
c411e695 JB |
69 | Several utilities for converting data files for Performous. |
70 | ||
71 | %description tools -l pl.UTF-8 | |
72 | Zestaw narzędzi do konwersji danych dla programu Performous. | |
66b61eb5 | 73 | |
17ceb23f JK |
74 | %prep |
75 | %setup -qn Performous-%{version}-Source | |
cb114292 | 76 | %patch0 -p1 |
17ceb23f JK |
77 | |
78 | %build | |
79 | mkdir build | |
80 | cd build | |
81 | %cmake .. \ | |
3c4e0e7d | 82 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ |
c411e695 JB |
83 | -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -DBOOST_FILESYSTEM_VERSION=2" \ |
84 | -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags} -DBOOST_FILESYSTEM_VERSION=2" \ | |
3c4e0e7d | 85 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
17ceb23f | 86 | %if "%{_lib}" == "lib64" |
3c4e0e7d | 87 | -DLIB_SUFFIX=64 |
17ceb23f JK |
88 | %endif |
89 | ||
90 | %{__make} | |
91 | ||
17ceb23f JK |
92 | %install |
93 | rm -rf $RPM_BUILD_ROOT | |
66b61eb5 | 94 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
17ceb23f JK |
95 | |
96 | %{__make} -C build install \ | |
97 | DESTDIR=$RPM_BUILD_ROOT | |
98 | ||
c411e695 | 99 | install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
66b61eb5 | 100 | |
0f6ae010 | 101 | %find_lang %{name} --all-name |
17ceb23f JK |
102 | |
103 | %clean | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
0f6ae010 | 106 | %files -f %{name}.lang |
17ceb23f | 107 | %defattr(644,root,root,755) |
c411e695 | 108 | %doc docs/{Authors,TODO,instruments}.txt |
66b61eb5 | 109 | %attr(755,root,root) %{_bindir}/performous |
17ceb23f | 110 | %{_datadir}/games/%{name} |
c411e695 JB |
111 | %{_mandir}/man6/performous.6* |
112 | %{_desktopdir}/performous.desktop | |
113 | %{_pixmapsdir}/performous.xpm | |
66b61eb5 JK |
114 | |
115 | %files tools | |
116 | %defattr(644,root,root,755) | |
c411e695 | 117 | %attr(755,root,root) %{_bindir}/gh_*_decrypt |
66b61eb5 JK |
118 | %attr(755,root,root) %{_bindir}/itg_pck |
119 | %attr(755,root,root) %{_bindir}/ss_* | |
c411e695 JB |
120 | %{_mandir}/man1/gh_*_decrypt.1* |
121 | %{_mandir}/man1/ss_*.1* |