performous/performous.spec

127 lines
4.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: performous
Version: 1.3.1
Release: 1mamba
Summary: An open-source music and rhythm game
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://performous.org
Source: https://github.com/performous/performous.git/%{version}/performous-%{version}.tar.bz2
Patch0: performous-1.3.1-ffmpeg-7.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL2-devel
BuildRequires: libaubio-devel
BuildRequires: libavcodec-devel
BuildRequires: libavformat-devel
BuildRequires: libavutil-devel
BuildRequires: libboost-devel
BuildRequires: libcairo-devel
BuildRequires: libepoxy-devel
BuildRequires: libfmt-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libjpeg-turbo
BuildRequires: libopencv-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libportaudio-devel
BuildRequires: libportmidi-devel
BuildRequires: librsvg-devel
BuildRequires: libsigc++-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswresample-devel
BuildRequires: libswscale-devel
BuildRequires: libxml++-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libportmidi-devel >= 1:2.0.4-1mamba
Provides: Performous
Obsoletes: Performous < 1.3.1
%description
While Performous might be classified as a karaoke program, it is actually much more than that.
Instead of just displaying the lyrics, notes are also displayed and the performance is scored based on how well you actually hit the notes. Unlike in most other games in this genre, you will also see the precise pitch that you are singing, so that you can see what you are doing wrong and easily (well, everything is relative) correct your pitch.
%debug_package
%prep
%setup -q
%patch 0 -p1 -b .ffmpeg-7
%build
%cmake -d build \
-DCMAKE_CXX_FLAGS="%{optflags} -Wno-error=unused-result"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --all-name
install -d -m0755 %{buildroot}%{_mandir}/man6
mv %{buildroot}%{_mandir}/performous.* %{buildroot}%{_mandir}/man6/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/performous
%{_datadir}/applications/performous.desktop
%dir %{_datadir}/games/performous
%dir %{_datadir}/games/performous/backgrounds
%{_datadir}/games/performous/backgrounds/*
%dir %{_datadir}/games/performous/config
%{_datadir}/games/performous/config/*.xml
%dir %{_datadir}/games/performous/fonts
%{_datadir}/games/performous/fonts/*
%dir %{_datadir}/games/performous/shaders
%{_datadir}/games/performous/shaders/core.frag
%{_datadir}/games/performous/shaders/core.vert
%{_datadir}/games/performous/shaders/dancenote.vert
%{_datadir}/games/performous/shaders/stereo3d.geom
%dir %{_datadir}/games/performous/sounds
%{_datadir}/games/performous/sounds/*.ogg
%dir %{_datadir}/games/performous/themes
%{_datadir}/games/performous/themes/*
%dir %{_datadir}/games/performous/xsl
%{_datadir}/games/performous/xsl/*.xsl
%{_datadir}/icons/hicolor/scalable/apps/performous.svg
%{_mandir}/man6/performous.6*
%changelog
* Sun Nov 17 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
- update to 1.3.1
* Tue Aug 23 2016 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic version update by autodist
* Wed Dec 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- update to 1.0
* Sat Dec 22 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
- update to 0.7.0
* Sat Dec 22 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-2mamba
- rebuilt with ImageMagick 6.8.0.10
* Sun Jun 19 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.6.1-1mamba
- fixed the specfile
- update to 0.6.1
* Fri Jan 01 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> Source-1mamba
- package created by autospec