]> git.pld-linux.org Git - packages/performous.git/blame - performous.spec
- updated to 1.1
[packages/performous.git] / performous.spec
CommitLineData
de6d16d9
JK
1Summary: Performous - The All-in-One Music Game
2Summary(pl.UTF-8): Performous - wiele gier muzycznych w jednej
17ceb23f 3Name: performous
6069cfb0
JB
4Version: 1.1
5Release: 1
17ceb23f 6License: GPL v2+
6069cfb0
JB
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
17ceb23f
JK
12URL: http://performous.org/
13BuildRequires: ImageMagick-c++-devel
6069cfb0
JB
14BuildRequires: SDL2-devel >= 2
15BuildRequires: boost-devel >= 1.36
16BuildRequires: cmake >= 2.8
17# avformat avresample swscale
17ceb23f 18BuildRequires: ffmpeg-devel
6069cfb0 19BuildRequires: fontconfig-devel
6d60c357 20BuildRequires: gettext-tools
17ceb23f
JK
21BuildRequires: glew-devel
22BuildRequires: glibmm-devel
23BuildRequires: help2man
6069cfb0
JB
24BuildRequires: libepoxy-devel >= 1.2
25BuildRequires: libjpeg-devel
6775cf17 26BuildRequires: libpng-devel
17ceb23f
JK
27BuildRequires: librsvg-devel
28BuildRequires: libsigc++-devel
6069cfb0
JB
29BuildRequires: libstdc++-devel >= 6:4.6
30BuildRequires: libxml2-devel >= 2.0
31BuildRequires: libxml++2-devel >= 2.6
2330489e 32BuildRequires: opencv-devel
6069cfb0 33BuildRequires: pango-devel >= 1:1.12
3c4e0e7d 34BuildRequires: pkgconfig
2330489e 35BuildRequires: portaudio-devel
6069cfb0
JB
36BuildRequires: portmidi-devel
37BuildRequires: rpmbuild(macros) >= 1.605
38BuildRequires: zlib-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
fabd7351
JK
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.
c411e695 54
66b61eb5
JK
55%package tools
56Summary: Performous tools
c411e695 57Summary(pl.UTF-8): Narzędzia do programu Performous
6069cfb0 58Group: Applications/Sound
66b61eb5
JK
59
60%description tools
c411e695
JB
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.
66b61eb5 65
17ceb23f 66%prep
0c276d1e 67%setup -q
ebc3ca96 68%patch0 -p1
17ceb23f
JK
69
70%build
6069cfb0 71install -d build
17ceb23f
JK
72cd build
73%cmake .. \
3c4e0e7d 74 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
a4df6f22 75 -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -std=gnu++11" \
b74c6e04 76 -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
a4df6f22 77 -DMagick_LIBRARY="$(echo %{_libdir}/libMagickCore-*.so)" \
6069cfb0 78 -DMagick++_LIBRARY="$(echo %{_libdir}/libMagick++-*.so)"
17ceb23f
JK
79
80%{__make}
81
17ceb23f
JK
82%install
83rm -rf $RPM_BUILD_ROOT
66b61eb5 84install -d $RPM_BUILD_ROOT%{_mandir}/man1
17ceb23f
JK
85
86%{__make} -C build install \
87 DESTDIR=$RPM_BUILD_ROOT
88
c02906e5 89cp -p docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
66b61eb5 90
73b4d4f2
JR
91%{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
92
0f6ae010 93%find_lang %{name} --all-name
17ceb23f
JK
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
0f6ae010 98%files -f %{name}.lang
17ceb23f 99%defattr(644,root,root,755)
a4df6f22 100%doc README.txt docs/{Authors,instruments}.txt
66b61eb5 101%attr(755,root,root) %{_bindir}/performous
17ceb23f 102%{_datadir}/games/%{name}
c411e695
JB
103%{_mandir}/man6/performous.6*
104%{_desktopdir}/performous.desktop
a4df6f22 105%{_pixmapsdir}/performous.svg
66b61eb5
JK
106
107%files tools
108%defattr(644,root,root,755)
c411e695 109%attr(755,root,root) %{_bindir}/gh_*_decrypt
66b61eb5
JK
110%attr(755,root,root) %{_bindir}/itg_pck
111%attr(755,root,root) %{_bindir}/ss_*
c411e695
JB
112%{_mandir}/man1/gh_*_decrypt.1*
113%{_mandir}/man1/ss_*.1*
This page took 0.086506 seconds and 4 git commands to generate.