]> git.pld-linux.org Git - packages/performous.git/blob - performous.spec
158473c4ef5ac11a39306f9f4fc95d6f2bd27c9f
[packages/performous.git] / performous.spec
1 #
2 # TODO:
3 #       - update Polish description, current is outdated (it is not only a
4 #       karaoke game any more)
5 Summary:        Performous - The All-in-One Music Game
6 Summary(pl.UTF-8):      Performous - wiele gier muzycznych w jednej
7 Name:           performous
8 Version:        0.7.0
9 Release:        1
10 License:        GPL v2+
11 Group:          Applications
12 Source0:        http://downloads.sourceforge.net/performous/performous-%{version}.tar.bz2
13 # Source0-md5:  60f3f72b51a630a4aa996484aedb9526
14 Patch1:         %{name}-libpng15.patch
15 Patch2:         cmake.patch
16 URL:            http://performous.org/
17 BuildRequires:  ImageMagick-c++-devel
18 BuildRequires:  SDL-devel
19 BuildRequires:  alsa-lib-devel
20 BuildRequires:  boost-devel
21 BuildRequires:  cmake >= 2.6
22 BuildRequires:  ffmpeg-devel
23 BuildRequires:  gettext-devel
24 BuildRequires:  glew-devel
25 BuildRequires:  glibmm-devel
26 BuildRequires:  help2man
27 BuildRequires:  jack-audio-connection-kit-devel
28 BuildRequires:  libpng-devel
29 BuildRequires:  librsvg-devel
30 BuildRequires:  libsigc++-devel
31 BuildRequires:  libxml++-devel
32 BuildRequires:  opencv-devel
33 BuildRequires:  pango-devel
34 BuildRequires:  pkgconfig
35 BuildRequires:  portaudio-devel
36 Suggests:       %{name}-tools = %{version}-%{release}
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 An open-source karaoke, band and dancing game where one or more
41 players perform a song and the game scores their perform ances.
42 Supports songs in UltraStar, Frets on Fire and StepMania formats.
43 Microphones and instruments from SingStar, Guit ar Hero and Rock Band
44 as well as some dance pads are autodetected.
45
46 %description -l pl.UTF-8
47 O ile Performous można zaklasyfikować jako program do karaoke, to jest
48 czymś o wiele więcej. Zamiast tylko wyświetlać tekst, wyświetlane są
49 także nuty, a wykonanie jest oceniane w oparciu o to, jak dobrze
50 pasuje do nut. W przeciwieństwie do innych gier tego gatunku podawana
51 jest także dokładna wysokość śpiewanych tonów, więc można zobaczyć, co
52 wykonuje się źle i (względnie) łatwo się poprawić.
53
54 Większość dostępnych piosenek zawiera także oryginalne wokale, zaś
55 wersje karaoke są dość rzadkie.
56
57 Dla śpiewających niezbyt dobrze dostępny jest tryb karaoke. W tyb
58 trybie wyświetlane są tylko słowa i nie ma nut ani oceniania.
59
60 %package tools
61 Summary:        Performous tools
62 Summary(pl.UTF-8):      Narzędzia do programu Performous
63 Group:          Applications
64
65 %description tools
66 Several utilities for converting data files for Performous.
67
68 %description tools -l pl.UTF-8
69 Zestaw narzędzi do konwersji danych dla programu Performous.
70
71 %prep
72 %setup -q
73 %patch1 -p1
74 %patch2 -p1
75 mkdir build
76
77 %build
78 cd build
79 %cmake .. \
80         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
81         -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags}" \
82         -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
83         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
84 %if "%{_lib}" == "lib64"
85         -DLIB_SUFFIX=64
86 %endif
87
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_mandir}/man1
93
94 %{__make} -C build install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
98
99 %find_lang %{name} --all-name
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc docs/{Authors,TODO,instruments}.txt
107 %attr(755,root,root) %{_bindir}/performous
108 %{_datadir}/games/%{name}
109 %{_mandir}/man6/performous.6*
110 %{_desktopdir}/performous.desktop
111 %{_pixmapsdir}/performous.xpm
112
113 %files tools
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_bindir}/gh_*_decrypt
116 %attr(755,root,root) %{_bindir}/itg_pck
117 %attr(755,root,root) %{_bindir}/ss_*
118 %{_mandir}/man1/gh_*_decrypt.1*
119 %{_mandir}/man1/ss_*.1*
This page took 0.051983 seconds and 2 git commands to generate.