]> git.pld-linux.org Git - packages/performous.git/blame - performous.spec
- release 20 (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
66b61eb5 8Version: 0.6.1
5aa9c28b 9Release: 20
17ceb23f
JK
10License: GPL v2+
11Group: Applications
2330489e 12Source0: http://downloads.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2
66b61eb5 13# Source0-md5: 451a759de77984b5a699e91107fe52e2
cb114292 14Patch0: %{name}-ffmpeg.patch
d1cb3345 15Patch1: %{name}-libpng15.patch
b74c6e04
JR
16Patch2: cmake.patch
17Patch3: boost-1.50.patch
18Patch4: glib2.32.patch
17ceb23f
JK
19URL: http://performous.org/
20BuildRequires: ImageMagick-c++-devel
21BuildRequires: SDL-devel
22BuildRequires: alsa-lib-devel
3c4e0e7d 23BuildRequires: boost-devel
c411e695 24BuildRequires: cmake >= 2.6
17ceb23f 25BuildRequires: ffmpeg-devel
d9a0d954 26BuildRequires: gettext-devel
17ceb23f
JK
27BuildRequires: glew-devel
28BuildRequires: glibmm-devel
29BuildRequires: help2man
30BuildRequires: jack-audio-connection-kit-devel
6775cf17 31BuildRequires: libpng-devel
17ceb23f
JK
32BuildRequires: librsvg-devel
33BuildRequires: libsigc++-devel
34BuildRequires: libxml++-devel
2330489e 35BuildRequires: opencv-devel
17ceb23f 36BuildRequires: pango-devel
3c4e0e7d 37BuildRequires: pkgconfig
2330489e 38BuildRequires: portaudio-devel
c411e695 39Suggests: %{name}-tools = %{version}-%{release}
17ceb23f
JK
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
de6d16d9
JK
43An open-source karaoke, band and dancing game where one or more
44players perform a song and the game scores their perform ances.
45Supports songs in UltraStar, Frets on Fire and StepMania formats.
46Microphones and instruments from SingStar, Guit ar Hero and Rock Band
47as well as some dance pads are autodetected.
17ceb23f 48
c411e695 49%description -l pl.UTF-8
de6d16d9
JK
50O ile Performous można zaklasyfikować jako program do karaoke, to jest
51czymś o wiele więcej. Zamiast tylko wyświetlać tekst, wyświetlane są
52także nuty, a wykonanie jest oceniane w oparciu o to, jak dobrze
c411e695
JB
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
d1cb3345 77%patch1 -p1
b74c6e04
JR
78%patch2 -p1
79%patch3 -p1
80%patch4 -p1
d1cb3345 81mkdir build
17ceb23f
JK
82
83%build
17ceb23f
JK
84cd build
85%cmake .. \
3c4e0e7d 86 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
b74c6e04
JR
87 -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags}" \
88 -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
3c4e0e7d 89 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
17ceb23f 90%if "%{_lib}" == "lib64"
3c4e0e7d 91 -DLIB_SUFFIX=64
17ceb23f
JK
92%endif
93
94%{__make}
95
17ceb23f
JK
96%install
97rm -rf $RPM_BUILD_ROOT
66b61eb5 98install -d $RPM_BUILD_ROOT%{_mandir}/man1
17ceb23f
JK
99
100%{__make} -C build install \
101 DESTDIR=$RPM_BUILD_ROOT
102
c411e695 103install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
66b61eb5 104
0f6ae010 105%find_lang %{name} --all-name
17ceb23f
JK
106
107%clean
108rm -rf $RPM_BUILD_ROOT
109
0f6ae010 110%files -f %{name}.lang
17ceb23f 111%defattr(644,root,root,755)
c411e695 112%doc docs/{Authors,TODO,instruments}.txt
66b61eb5 113%attr(755,root,root) %{_bindir}/performous
17ceb23f 114%{_datadir}/games/%{name}
c411e695
JB
115%{_mandir}/man6/performous.6*
116%{_desktopdir}/performous.desktop
117%{_pixmapsdir}/performous.xpm
66b61eb5
JK
118
119%files tools
120%defattr(644,root,root,755)
c411e695 121%attr(755,root,root) %{_bindir}/gh_*_decrypt
66b61eb5
JK
122%attr(755,root,root) %{_bindir}/itg_pck
123%attr(755,root,root) %{_bindir}/ss_*
c411e695
JB
124%{_mandir}/man1/gh_*_decrypt.1*
125%{_mandir}/man1/ss_*.1*
This page took 0.112395 seconds and 4 git commands to generate.