]> git.pld-linux.org Git - packages/performous.git/blame_incremental - performous.spec
- updated to 1.1
[packages/performous.git] / performous.spec
... / ...
CommitLineData
1Summary: Performous - The All-in-One Music Game
2Summary(pl.UTF-8): Performous - wiele gier muzycznych w jednej
3Name: performous
4Version: 1.1
5Release: 1
6License: GPL v2+
7Group: Applications/Sound
8#Source0Download: https://github.com/performous/performous/releases
9Source0: https://github.com/performous/performous/archive/%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: cf31d0973cd88b3cd626d312d6d3f5b2
11Patch0: %{name}-boost.patch
12URL: http://performous.org/
13BuildRequires: ImageMagick-c++-devel
14BuildRequires: SDL2-devel >= 2
15BuildRequires: boost-devel >= 1.36
16BuildRequires: cmake >= 2.8
17# avformat avresample swscale
18BuildRequires: ffmpeg-devel
19BuildRequires: fontconfig-devel
20BuildRequires: gettext-tools
21BuildRequires: glew-devel
22BuildRequires: glibmm-devel
23BuildRequires: help2man
24BuildRequires: libepoxy-devel >= 1.2
25BuildRequires: libjpeg-devel
26BuildRequires: libpng-devel
27BuildRequires: librsvg-devel
28BuildRequires: libsigc++-devel
29BuildRequires: libstdc++-devel >= 6:4.6
30BuildRequires: libxml2-devel >= 2.0
31BuildRequires: libxml++2-devel >= 2.6
32BuildRequires: opencv-devel
33BuildRequires: pango-devel >= 1:1.12
34BuildRequires: pkgconfig
35BuildRequires: portaudio-devel
36BuildRequires: portmidi-devel
37BuildRequires: rpmbuild(macros) >= 1.605
38BuildRequires: zlib-devel
39Suggests: %{name}-tools = %{version}-%{release}
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
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.
48
49%description -l pl.UTF-8
50Karaoke, gitara i taniec w jednej grze. Obsługuje utwory w formatach
51UltraStar, Frets on Fire i StepManii. Mikrofony i kontrolery z gier
52SingStar, Guitar Hero i Rock Band oraz maty do tańca są automatycznie
53wykrywane.
54
55%package tools
56Summary: Performous tools
57Summary(pl.UTF-8): Narzędzia do programu Performous
58Group: Applications/Sound
59
60%description tools
61Several utilities for converting data files for Performous.
62
63%description tools -l pl.UTF-8
64Zestaw narzędzi do konwersji danych dla programu Performous.
65
66%prep
67%setup -q
68%patch0 -p1
69
70%build
71install -d build
72cd build
73%cmake .. \
74 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
75 -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -std=gnu++11" \
76 -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
77 -DMagick_LIBRARY="$(echo %{_libdir}/libMagickCore-*.so)" \
78 -DMagick++_LIBRARY="$(echo %{_libdir}/libMagick++-*.so)"
79
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84install -d $RPM_BUILD_ROOT%{_mandir}/man1
85
86%{__make} -C build install \
87 DESTDIR=$RPM_BUILD_ROOT
88
89cp -p docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
90
91%{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
92
93%find_lang %{name} --all-name
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
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
106
107%files tools
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*
This page took 0.063465 seconds and 4 git commands to generate.