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