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