]> git.pld-linux.org Git - packages/performous.git/blob - performous.spec
- release 11
[packages/performous.git] / performous.spec
1 Summary:        Performous - a free cross-platform singing game
2 Summary(pl.UTF-8):      Performous - wieloplatformowa, wolnodostępna gra w śpiewanie
3 Name:           performous
4 Version:        0.6.1
5 Release:        11
6 License:        GPL v2+
7 Group:          Applications
8 Source0:        http://downloads.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2
9 # Source0-md5:  451a759de77984b5a699e91107fe52e2
10 Patch0:         %{name}-ffmpeg.patch
11 URL:            http://performous.org/
12 BuildRequires:  ImageMagick-c++-devel
13 BuildRequires:  SDL-devel
14 BuildRequires:  alsa-lib-devel
15 BuildRequires:  boost-devel
16 BuildRequires:  cmake >= 2.6
17 BuildRequires:  ffmpeg-devel
18 BuildRequires:  gettext-devel
19 BuildRequires:  glew-devel
20 BuildRequires:  glibmm-devel
21 BuildRequires:  help2man
22 BuildRequires:  jack-audio-connection-kit-devel
23 BuildRequires:  libpng-devel
24 BuildRequires:  librsvg-devel
25 BuildRequires:  libsigc++-devel
26 BuildRequires:  libxml++-devel
27 BuildRequires:  opencv-devel
28 BuildRequires:  pango-devel
29 BuildRequires:  pkgconfig
30 BuildRequires:  portaudio-devel
31 Suggests:       %{name}-tools = %{version}-%{release}
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
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
63 %package tools
64 Summary:        Performous tools
65 Summary(pl.UTF-8):      Narzędzia do programu Performous
66 Group:          Applications
67
68 %description tools
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.
73
74 %prep
75 %setup -qn Performous-%{version}-Source
76 %patch0 -p1
77
78 %build
79 mkdir build
80 cd build
81 %cmake .. \
82         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
83         -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -DBOOST_FILESYSTEM_VERSION=2" \
84         -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags} -DBOOST_FILESYSTEM_VERSION=2" \
85         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
86 %if "%{_lib}" == "lib64"
87         -DLIB_SUFFIX=64
88 %endif
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT%{_mandir}/man1
95
96 %{__make} -C build install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
100
101 %find_lang %{name} --all-name
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc docs/{Authors,TODO,instruments}.txt
109 %attr(755,root,root) %{_bindir}/performous
110 %{_datadir}/games/%{name}
111 %{_mandir}/man6/performous.6*
112 %{_desktopdir}/performous.desktop
113 %{_pixmapsdir}/performous.xpm
114
115 %files tools
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/gh_*_decrypt
118 %attr(755,root,root) %{_bindir}/itg_pck
119 %attr(755,root,root) %{_bindir}/ss_*
120 %{_mandir}/man1/gh_*_decrypt.1*
121 %{_mandir}/man1/ss_*.1*
This page took 0.112044 seconds and 4 git commands to generate.