]>
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 |
0c276d1e | 8 | Version: 0.7.0 |
dc4e9465 | 9 | Release: 3 |
17ceb23f JK |
10 | License: GPL v2+ |
11 | Group: Applications | |
0c276d1e JR |
12 | Source0: http://downloads.sourceforge.net/performous/performous-%{version}.tar.bz2 |
13 | # Source0-md5: 60f3f72b51a630a4aa996484aedb9526 | |
d1cb3345 | 14 | Patch1: %{name}-libpng15.patch |
b74c6e04 | 15 | Patch2: cmake.patch |
17ceb23f JK |
16 | URL: http://performous.org/ |
17 | BuildRequires: ImageMagick-c++-devel | |
18 | BuildRequires: SDL-devel | |
19 | BuildRequires: alsa-lib-devel | |
3c4e0e7d | 20 | BuildRequires: boost-devel |
c411e695 | 21 | BuildRequires: cmake >= 2.6 |
17ceb23f | 22 | BuildRequires: ffmpeg-devel |
d9a0d954 | 23 | BuildRequires: gettext-devel |
17ceb23f JK |
24 | BuildRequires: glew-devel |
25 | BuildRequires: glibmm-devel | |
26 | BuildRequires: help2man | |
27 | BuildRequires: jack-audio-connection-kit-devel | |
6775cf17 | 28 | BuildRequires: libpng-devel |
17ceb23f JK |
29 | BuildRequires: librsvg-devel |
30 | BuildRequires: libsigc++-devel | |
31 | BuildRequires: libxml++-devel | |
2330489e | 32 | BuildRequires: opencv-devel |
17ceb23f | 33 | BuildRequires: pango-devel |
3c4e0e7d | 34 | BuildRequires: pkgconfig |
2330489e | 35 | BuildRequires: portaudio-devel |
c411e695 | 36 | Suggests: %{name}-tools = %{version}-%{release} |
17ceb23f JK |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
38 | ||
39 | %description | |
de6d16d9 JK |
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. | |
17ceb23f | 45 | |
c411e695 | 46 | %description -l pl.UTF-8 |
de6d16d9 JK |
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 | |
c411e695 JB |
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ć. | |
53 | ||
54 | Większość dostępnych piosenek zawiera także oryginalne wokale, zaś | |
55 | wersje karaoke są dość rzadkie. | |
56 | ||
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. | |
59 | ||
66b61eb5 JK |
60 | %package tools |
61 | Summary: Performous tools | |
c411e695 | 62 | Summary(pl.UTF-8): Narzędzia do programu Performous |
66b61eb5 JK |
63 | Group: Applications |
64 | ||
65 | %description tools | |
c411e695 JB |
66 | Several utilities for converting data files for Performous. |
67 | ||
68 | %description tools -l pl.UTF-8 | |
69 | Zestaw narzędzi do konwersji danych dla programu Performous. | |
66b61eb5 | 70 | |
17ceb23f | 71 | %prep |
0c276d1e | 72 | %setup -q |
d1cb3345 | 73 | %patch1 -p1 |
b74c6e04 | 74 | %patch2 -p1 |
d1cb3345 | 75 | mkdir build |
17ceb23f JK |
76 | |
77 | %build | |
17ceb23f JK |
78 | cd build |
79 | %cmake .. \ | |
3c4e0e7d | 80 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ |
b74c6e04 JR |
81 | -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags}" \ |
82 | -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \ | |
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 | |
73b4d4f2 JR |
99 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN} |
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* |