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