1 Summary: Performous - The All-in-One Music Game
2 Summary(pl.UTF-8): Performous - wiele gier muzycznych w jednej
8 Source0: https://github.com/performous/performous/archive/1.0/%{name}-%{version}.tar.gz
9 # Source0-md5: cbeec2f0c0114cc499746c1e33f56055
10 Patch1: bool_cast.patch
11 URL: http://performous.org/
12 BuildRequires: ImageMagick-c++-devel
13 BuildRequires: SDL-devel
14 BuildRequires: alsa-lib-devel
15 BuildRequires: boost-devel
16 BuildRequires: cmake >= 2.6
17 BuildRequires: ffmpeg-devel
18 BuildRequires: gettext-tools
19 BuildRequires: glew-devel
20 BuildRequires: glibmm-devel
21 BuildRequires: help2man
22 BuildRequires: jack-audio-connection-kit-devel
23 BuildRequires: libpng-devel
24 BuildRequires: librsvg-devel
25 BuildRequires: libsigc++-devel
26 BuildRequires: libxml++-devel
27 BuildRequires: opencv-devel
28 BuildRequires: pango-devel
29 BuildRequires: pkgconfig
30 BuildRequires: portaudio-devel
31 Suggests: %{name}-tools = %{version}-%{release}
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 An open-source karaoke, band and dancing game where one or more
36 players perform a song and the game scores their perform ances.
37 Supports songs in UltraStar, Frets on Fire and StepMania formats.
38 Microphones and instruments from SingStar, Guit ar Hero and Rock Band
39 as well as some dance pads are autodetected.
41 %description -l pl.UTF-8
42 Karaoke, gitara i taniec w jednej grze. Obsługuje utwory w formatach
43 UltraStar, Frets on Fire i StepManii. Mikrofony i kontrolery z gier
44 SingStar, Guitar Hero i Rock Band oraz maty do tańca są automatycznie
48 Summary: Performous tools
49 Summary(pl.UTF-8): Narzędzia do programu Performous
53 Several utilities for converting data files for Performous.
55 %description tools -l pl.UTF-8
56 Zestaw narzędzi do konwersji danych dla programu Performous.
67 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
68 -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -std=gnu++11" \
69 -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
70 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
71 -DMagick_LIBRARY="$(echo %{_libdir}/libMagickCore-*.so)" \
72 -DMagick++_LIBRARY="$(echo %{_libdir}/libMagick++-*.so)" \
73 %if "%{_lib}" == "lib64"
76 %if "%{_lib}" == "libx32"
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_mandir}/man1
86 %{__make} -C build install \
87 DESTDIR=$RPM_BUILD_ROOT
89 cp -p docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
91 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
93 %find_lang %{name} --all-name
96 rm -rf $RPM_BUILD_ROOT
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc README.txt docs/{Authors,instruments}.txt
101 %attr(755,root,root) %{_bindir}/performous
102 %{_datadir}/games/%{name}
103 %{_mandir}/man6/performous.6*
104 %{_desktopdir}/performous.desktop
105 %{_pixmapsdir}/performous.svg
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/gh_*_decrypt
110 %attr(755,root,root) %{_bindir}/itg_pck
111 %attr(755,root,root) %{_bindir}/ss_*
112 %{_mandir}/man1/gh_*_decrypt.1*
113 %{_mandir}/man1/ss_*.1*