1 Summary: Performous - The All-in-One Music Game
2 Summary(pl.UTF-8): Performous - wiele gier muzycznych w jednej
7 Group: Applications/Sound
8 #Source0Download: https://github.com/performous/performous/releases
9 Source0: https://github.com/performous/performous/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: cf31d0973cd88b3cd626d312d6d3f5b2
11 Patch0: %{name}-boost.patch
12 Patch1: %{name}-pango1.44.patch
13 Patch2: opencv-const.patch
14 URL: http://performous.org/
15 BuildRequires: ImageMagick-c++-devel
16 BuildRequires: SDL2-devel >= 2
17 BuildRequires: boost-devel >= 1.36
18 BuildRequires: cmake >= 2.8
19 # avformat avresample swscale
20 BuildRequires: ffmpeg-devel
21 BuildRequires: fontconfig-devel
22 BuildRequires: gettext-tools
23 BuildRequires: glew-devel
24 BuildRequires: glibmm-devel
25 BuildRequires: help2man
26 BuildRequires: libepoxy-devel >= 1.2
27 BuildRequires: libjpeg-devel
28 BuildRequires: libpng-devel
29 BuildRequires: librsvg-devel
30 BuildRequires: libsigc++-devel
31 BuildRequires: libstdc++-devel >= 6:4.6
32 BuildRequires: libxml2-devel >= 2.0
33 BuildRequires: libxml++2-devel >= 2.6
34 BuildRequires: opencv-devel
35 BuildRequires: pango-devel >= 1:1.12
36 BuildRequires: pkgconfig
37 BuildRequires: portaudio-devel
38 BuildRequires: portmidi-devel
39 BuildRequires: rpmbuild(macros) >= 1.605
40 BuildRequires: zlib-devel
41 Suggests: %{name}-tools = %{version}-%{release}
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 An open-source karaoke, band and dancing game where one or more
46 players perform a song and the game scores their perform ances.
47 Supports songs in UltraStar, Frets on Fire and StepMania formats.
48 Microphones and instruments from SingStar, Guit ar Hero and Rock Band
49 as well as some dance pads are autodetected.
51 %description -l pl.UTF-8
52 Karaoke, gitara i taniec w jednej grze. Obsługuje utwory w formatach
53 UltraStar, Frets on Fire i StepManii. Mikrofony i kontrolery z gier
54 SingStar, Guitar Hero i Rock Band oraz maty do tańca są automatycznie
58 Summary: Performous tools
59 Summary(pl.UTF-8): Narzędzia do programu Performous
60 Group: Applications/Sound
63 Several utilities for converting data files for Performous.
65 %description tools -l pl.UTF-8
66 Zestaw narzędzi do konwersji danych dla programu Performous.
78 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
79 -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -std=gnu++11" \
80 -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
81 -DMagick_LIBRARY="$(echo %{_libdir}/libMagickCore-*.so)" \
82 -DMagick++_LIBRARY="$(echo %{_libdir}/libMagick++-*.so)"
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT%{_mandir}/man1
90 %{__make} -C build install \
91 DESTDIR=$RPM_BUILD_ROOT
93 cp -p docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
95 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
97 %find_lang %{name} --all-name
100 rm -rf $RPM_BUILD_ROOT
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc README.txt docs/{Authors,instruments}.txt
105 %attr(755,root,root) %{_bindir}/performous
106 %{_datadir}/games/%{name}
107 %{_mandir}/man6/performous.6*
108 %{_desktopdir}/performous.desktop
109 %{_pixmapsdir}/performous.svg
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/gh_*_decrypt
114 %attr(755,root,root) %{_bindir}/itg_pck
115 %attr(755,root,root) %{_bindir}/ss_*
116 %{_mandir}/man1/gh_*_decrypt.1*
117 %{_mandir}/man1/ss_*.1*