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