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