]> git.pld-linux.org Git - packages/performous.git/blame - performous.spec
Polish description updated
[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
a4df6f22
JK
4Version: 1.0
5Release: 0.1
17ceb23f
JK
6License: GPL v2+
7Group: Applications
a4df6f22
JK
8Source0: https://github.com/performous/performous/archive/1.0/%{name}-%{version}.tar.gz
9# Source0-md5: cbeec2f0c0114cc499746c1e33f56055
10Patch1: bool_cast.patch
17ceb23f
JK
11URL: http://performous.org/
12BuildRequires: ImageMagick-c++-devel
13BuildRequires: SDL-devel
14BuildRequires: alsa-lib-devel
3c4e0e7d 15BuildRequires: boost-devel
c411e695 16BuildRequires: cmake >= 2.6
17ceb23f 17BuildRequires: ffmpeg-devel
6d60c357 18BuildRequires: gettext-tools
17ceb23f
JK
19BuildRequires: glew-devel
20BuildRequires: glibmm-devel
21BuildRequires: help2man
22BuildRequires: jack-audio-connection-kit-devel
6775cf17 23BuildRequires: libpng-devel
17ceb23f
JK
24BuildRequires: librsvg-devel
25BuildRequires: libsigc++-devel
26BuildRequires: libxml++-devel
2330489e 27BuildRequires: opencv-devel
17ceb23f 28BuildRequires: pango-devel
3c4e0e7d 29BuildRequires: pkgconfig
2330489e 30BuildRequires: portaudio-devel
c411e695 31Suggests: %{name}-tools = %{version}-%{release}
17ceb23f
JK
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
de6d16d9
JK
35An open-source karaoke, band and dancing game where one or more
36players perform a song and the game scores their perform ances.
37Supports songs in UltraStar, Frets on Fire and StepMania formats.
38Microphones and instruments from SingStar, Guit ar Hero and Rock Band
39as well as some dance pads are autodetected.
17ceb23f 40
c411e695 41%description -l pl.UTF-8
fabd7351
JK
42Karaoke, gitara i taniec w jednej grze. Obsługuje utwory w formatach
43UltraStar, Frets on Fire i StepManii. Mikrofony i kontrolery z gier
44SingStar, Guitar Hero i Rock Band oraz maty do tańca są automatycznie
45wykrywane.
c411e695 46
66b61eb5
JK
47%package tools
48Summary: Performous tools
c411e695 49Summary(pl.UTF-8): Narzędzia do programu Performous
66b61eb5
JK
50Group: Applications
51
52%description tools
c411e695
JB
53Several utilities for converting data files for Performous.
54
55%description tools -l pl.UTF-8
56Zestaw narzędzi do konwersji danych dla programu Performous.
66b61eb5 57
17ceb23f 58%prep
0c276d1e 59%setup -q
d1cb3345 60%patch1 -p1
a4df6f22 61
d1cb3345 62mkdir build
17ceb23f
JK
63
64%build
17ceb23f
JK
65cd build
66%cmake .. \
3c4e0e7d 67 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
a4df6f22 68 -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -std=gnu++11" \
b74c6e04 69 -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
3c4e0e7d 70 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
a4df6f22
JK
71 -DMagick_LIBRARY="$(echo %{_libdir}/libMagickCore-*.so)" \
72 -DMagick++_LIBRARY="$(echo %{_libdir}/libMagick++-*.so)" \
17ceb23f 73%if "%{_lib}" == "lib64"
3c4e0e7d 74 -DLIB_SUFFIX=64
17ceb23f 75%endif
a4df6f22
JK
76%if "%{_lib}" == "libx32"
77 -DLIB_SUFFIX=x32
78%endif
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
c411e695 89install 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.076636 seconds and 4 git commands to generate.