]> git.pld-linux.org Git - packages/performous.git/blame - performous.spec
- release 3 (by relup.sh)
[packages/performous.git] / performous.spec
CommitLineData
de6d16d9
JK
1#
2# TODO:
3# - update Polish description, current is outdated (it is not only a
4# karaoke game any more)
5Summary: Performous - The All-in-One Music Game
6Summary(pl.UTF-8): Performous - wiele gier muzycznych w jednej
17ceb23f 7Name: performous
0c276d1e 8Version: 0.7.0
dc4e9465 9Release: 3
17ceb23f
JK
10License: GPL v2+
11Group: Applications
0c276d1e
JR
12Source0: http://downloads.sourceforge.net/performous/performous-%{version}.tar.bz2
13# Source0-md5: 60f3f72b51a630a4aa996484aedb9526
d1cb3345 14Patch1: %{name}-libpng15.patch
b74c6e04 15Patch2: cmake.patch
17ceb23f
JK
16URL: http://performous.org/
17BuildRequires: ImageMagick-c++-devel
18BuildRequires: SDL-devel
19BuildRequires: alsa-lib-devel
3c4e0e7d 20BuildRequires: boost-devel
c411e695 21BuildRequires: cmake >= 2.6
17ceb23f 22BuildRequires: ffmpeg-devel
d9a0d954 23BuildRequires: gettext-devel
17ceb23f
JK
24BuildRequires: glew-devel
25BuildRequires: glibmm-devel
26BuildRequires: help2man
27BuildRequires: jack-audio-connection-kit-devel
6775cf17 28BuildRequires: libpng-devel
17ceb23f
JK
29BuildRequires: librsvg-devel
30BuildRequires: libsigc++-devel
31BuildRequires: libxml++-devel
2330489e 32BuildRequires: opencv-devel
17ceb23f 33BuildRequires: pango-devel
3c4e0e7d 34BuildRequires: pkgconfig
2330489e 35BuildRequires: portaudio-devel
c411e695 36Suggests: %{name}-tools = %{version}-%{release}
17ceb23f
JK
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
de6d16d9
JK
40An open-source karaoke, band and dancing game where one or more
41players perform a song and the game scores their perform ances.
42Supports songs in UltraStar, Frets on Fire and StepMania formats.
43Microphones and instruments from SingStar, Guit ar Hero and Rock Band
44as well as some dance pads are autodetected.
17ceb23f 45
c411e695 46%description -l pl.UTF-8
de6d16d9
JK
47O ile Performous można zaklasyfikować jako program do karaoke, to jest
48czymś o wiele więcej. Zamiast tylko wyświetlać tekst, wyświetlane są
49także nuty, a wykonanie jest oceniane w oparciu o to, jak dobrze
c411e695
JB
50pasuje do nut. W przeciwieństwie do innych gier tego gatunku podawana
51jest także dokładna wysokość śpiewanych tonów, więc można zobaczyć, co
52wykonuje się źle i (względnie) łatwo się poprawić.
53
54Większość dostępnych piosenek zawiera także oryginalne wokale, zaś
55wersje karaoke są dość rzadkie.
56
57Dla śpiewających niezbyt dobrze dostępny jest tryb karaoke. W tyb
58trybie wyświetlane są tylko słowa i nie ma nut ani oceniania.
59
66b61eb5
JK
60%package tools
61Summary: Performous tools
c411e695 62Summary(pl.UTF-8): Narzędzia do programu Performous
66b61eb5
JK
63Group: Applications
64
65%description tools
c411e695
JB
66Several utilities for converting data files for Performous.
67
68%description tools -l pl.UTF-8
69Zestaw 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 75mkdir build
17ceb23f
JK
76
77%build
17ceb23f
JK
78cd 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
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
73b4d4f2
JR
99%{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
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.151063 seconds and 4 git commands to generate.