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