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