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