]>
Commit | Line | Data |
---|---|---|
17ceb23f JK |
1 | Summary: Performous - a free cross-platform singing game |
2 | Name: performous | |
0f6ae010 JK |
3 | Version: 0.5.1 |
4 | Release: 1 | |
17ceb23f JK |
5 | License: GPL v2+ |
6 | Group: Applications | |
7 | Source0: http://dl.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2 | |
0f6ae010 | 8 | # Source0-md5: 3c86c4810111e1c45e7b8ab4aa321d7d |
17ceb23f JK |
9 | URL: http://performous.org/ |
10 | BuildRequires: ImageMagick-c++-devel | |
11 | BuildRequires: SDL-devel | |
12 | BuildRequires: alsa-lib-devel | |
3c4e0e7d | 13 | BuildRequires: boost-devel |
14 | BuildRequires: cmake | |
17ceb23f | 15 | BuildRequires: ffmpeg-devel |
d9a0d954 | 16 | BuildRequires: gettext-devel |
17ceb23f JK |
17 | BuildRequires: glew-devel |
18 | BuildRequires: glibmm-devel | |
19 | BuildRequires: help2man | |
20 | BuildRequires: jack-audio-connection-kit-devel | |
21 | BuildRequires: librsvg-devel | |
22 | BuildRequires: libsigc++-devel | |
23 | BuildRequires: libxml++-devel | |
24 | BuildRequires: pango-devel | |
3c4e0e7d | 25 | BuildRequires: pkgconfig |
17ceb23f JK |
26 | BuildRequires: pulseaudio-devel |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | While Performous might be classified as a karaoke program, it is | |
31 | actually much more than that. Instead of just displaying the lyrics, | |
32 | notes are also displayed and the performance is scored based on how | |
33 | well you actually hit the notes. Unlike in most other games in this | |
34 | genre, you will also see the precise pitch that you are singing, so | |
35 | that you can see what you are doing wrong and easily (well, everything | |
36 | is relative) correct your pitch. | |
37 | ||
38 | Most of the songs available also contain the original vocals and | |
39 | actual karaoke versions are rare. | |
40 | ||
41 | For those who sing rather than well, a karaoke mode is provided. In | |
42 | this mode only lyrics are displayed and there are no notes or scoring. | |
43 | ||
44 | %prep | |
45 | %setup -qn Performous-%{version}-Source | |
46 | ||
47 | %build | |
48 | mkdir build | |
49 | cd build | |
50 | %cmake .. \ | |
3c4e0e7d | 51 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ |
52 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
17ceb23f | 53 | %if "%{_lib}" == "lib64" |
3c4e0e7d | 54 | -DLIB_SUFFIX=64 |
17ceb23f JK |
55 | %endif |
56 | ||
57 | %{__make} | |
58 | ||
59 | cd .. | |
60 | ||
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} -C build install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
0f6ae010 | 68 | %find_lang %{name} --all-name |
17ceb23f JK |
69 | |
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
0f6ae010 | 73 | %files -f %{name}.lang |
17ceb23f JK |
74 | %defattr(644,root,root,755) |
75 | %doc docs/*.txt | |
76 | %attr(755,root,root) %{_bindir}/* | |
77 | %dir %{_libdir}/%{name} | |
78 | %dir %{_libdir}/%{name}/libda-1 | |
79 | %attr(755,root,root) %{_libdir}/%{name}/libda-1/*.so | |
80 | %{_datadir}/games/%{name} | |
81 | %{_mandir}/man6/* | |
82 | %{_pixmapsdir}/* | |
83 | %{_desktopdir}/* |