]> git.pld-linux.org Git - packages/performous.git/blame - performous.spec
- release 3
[packages/performous.git] / performous.spec
CommitLineData
17ceb23f
JK
1Summary: Performous - a free cross-platform singing game
2Name: performous
66b61eb5 3Version: 0.6.1
e09a1de6 4Release: 3
17ceb23f
JK
5License: GPL v2+
6Group: Applications
7Source0: http://dl.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2
66b61eb5 8# Source0-md5: 451a759de77984b5a699e91107fe52e2
17ceb23f
JK
9URL: http://performous.org/
10BuildRequires: ImageMagick-c++-devel
11BuildRequires: SDL-devel
12BuildRequires: alsa-lib-devel
3c4e0e7d 13BuildRequires: boost-devel
14BuildRequires: cmake
17ceb23f 15BuildRequires: ffmpeg-devel
d9a0d954 16BuildRequires: gettext-devel
17ceb23f
JK
17BuildRequires: glew-devel
18BuildRequires: glibmm-devel
19BuildRequires: help2man
20BuildRequires: jack-audio-connection-kit-devel
6775cf17 21BuildRequires: libpng-devel
17ceb23f
JK
22BuildRequires: librsvg-devel
23BuildRequires: libsigc++-devel
24BuildRequires: libxml++-devel
25BuildRequires: pango-devel
3c4e0e7d 26BuildRequires: pkgconfig
17ceb23f 27BuildRequires: pulseaudio-devel
66b61eb5 28Suggests: %{name}-tools
17ceb23f
JK
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32While Performous might be classified as a karaoke program, it is
33actually much more than that. Instead of just displaying the lyrics,
34notes are also displayed and the performance is scored based on how
35well you actually hit the notes. Unlike in most other games in this
36genre, you will also see the precise pitch that you are singing, so
37that you can see what you are doing wrong and easily (well, everything
38is relative) correct your pitch.
39
40Most of the songs available also contain the original vocals and
41actual karaoke versions are rare.
42
43For those who sing rather than well, a karaoke mode is provided. In
44this mode only lyrics are displayed and there are no notes or scoring.
45
66b61eb5
JK
46%package tools
47Summary: Performous tools
48Group: Applications
49
50%description tools
51Provides several utilities for converting data files for Performous.
52
17ceb23f
JK
53%prep
54%setup -qn Performous-%{version}-Source
29de5272 55%{__sed} -i 's:png12:png14:g' cmake/Modules/FindPng.cmake
17ceb23f
JK
56
57%build
58mkdir build
59cd build
60%cmake .. \
3c4e0e7d 61 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
62 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
17ceb23f 63%if "%{_lib}" == "lib64"
3c4e0e7d 64 -DLIB_SUFFIX=64
17ceb23f
JK
65%endif
66
67%{__make}
68
17ceb23f
JK
69%install
70rm -rf $RPM_BUILD_ROOT
66b61eb5 71install -d $RPM_BUILD_ROOT%{_mandir}/man1
17ceb23f
JK
72
73%{__make} -C build install \
74 DESTDIR=$RPM_BUILD_ROOT
75
66b61eb5
JK
76install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
77
0f6ae010 78%find_lang %{name} --all-name
17ceb23f
JK
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
0f6ae010 83%files -f %{name}.lang
17ceb23f
JK
84%defattr(644,root,root,755)
85%doc docs/*.txt
66b61eb5 86%attr(755,root,root) %{_bindir}/performous
17ceb23f
JK
87%{_datadir}/games/%{name}
88%{_mandir}/man6/*
89%{_pixmapsdir}/*
90%{_desktopdir}/*
66b61eb5
JK
91
92%files tools
93%defattr(644,root,root,755)
94%attr(755,root,root) %{_bindir}/gh_*
95%attr(755,root,root) %{_bindir}/itg_pck
96%attr(755,root,root) %{_bindir}/ss_*
97%{_mandir}/man1/*
This page took 0.190232 seconds and 4 git commands to generate.