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