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