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