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