]> git.pld-linux.org Git - packages/performous.git/blame - performous.spec
- release 8
[packages/performous.git] / performous.spec
CommitLineData
17ceb23f
JK
1Summary: Performous - a free cross-platform singing game
2Name: performous
0f6ae010 3Version: 0.5.1
61620928 4Release: 8
17ceb23f
JK
5License: GPL v2+
6Group: Applications
7Source0: http://dl.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2
0f6ae010 8# Source0-md5: 3c86c4810111e1c45e7b8ab4aa321d7d
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
JK
27BuildRequires: pulseaudio-devel
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31While Performous might be classified as a karaoke program, it is
32actually much more than that. Instead of just displaying the lyrics,
33notes are also displayed and the performance is scored based on how
34well you actually hit the notes. Unlike in most other games in this
35genre, you will also see the precise pitch that you are singing, so
36that you can see what you are doing wrong and easily (well, everything
37is relative) correct your pitch.
38
39Most of the songs available also contain the original vocals and
40actual karaoke versions are rare.
41
42For those who sing rather than well, a karaoke mode is provided. In
43this mode only lyrics are displayed and there are no notes or scoring.
44
45%prep
46%setup -qn Performous-%{version}-Source
29de5272 47%{__sed} -i 's:png12:png14:g' cmake/Modules/FindPng.cmake
17ceb23f
JK
48
49%build
50mkdir build
51cd build
52%cmake .. \
3c4e0e7d 53 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
54 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
17ceb23f 55%if "%{_lib}" == "lib64"
3c4e0e7d 56 -DLIB_SUFFIX=64
17ceb23f
JK
57%endif
58
59%{__make}
60
17ceb23f
JK
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} -C build install \
65 DESTDIR=$RPM_BUILD_ROOT
66
0f6ae010 67%find_lang %{name} --all-name
17ceb23f
JK
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
0f6ae010 72%files -f %{name}.lang
17ceb23f
JK
73%defattr(644,root,root,755)
74%doc docs/*.txt
75%attr(755,root,root) %{_bindir}/*
76%dir %{_libdir}/%{name}
77%dir %{_libdir}/%{name}/libda-1
78%attr(755,root,root) %{_libdir}/%{name}/libda-1/*.so
79%{_datadir}/games/%{name}
80%{_mandir}/man6/*
81%{_pixmapsdir}/*
82%{_desktopdir}/*
This page took 0.086851 seconds and 4 git commands to generate.