Projects
Games
performous
performous.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File performous.spec of Package performous (Revision 6)
Currently displaying revision
6
,
Show latest
# # spec file for package performous # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: performous Version: 0.7.0 Release: 1 License: GPL-2.0+ Summary: An open-source karaoke, band and dancing game Url: http://performous.org Group: Amusements/Games/Action/Arcade Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/performous-%{version}.tar.bz2 Source1: http://downloads.sourceforge.net/project/performous/ultrastar-songs-libre/3/ultrastar-songs-libre-3.zip Source2: README_SONG Patch0: performous-ffmpeg.patch Patch1: performous-0.7.0.patch BuildRequires: boost-devel BuildRequires: cairo-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: glew-devel BuildRequires: glibmm2-devel BuildRequires: help2man %if 0%{?suse_version} <= 1130 BuildRequires: libjpeg-devel %else BuildRequires: libjpeg62-devel %endif BuildRequires: librsvg-devel BuildRequires: libsigc++2-devel BuildRequires: libtiff-devel BuildRequires: libxml++-devel BuildRequires: libxml2-devel BuildRequires: pkgconfig(ImageMagick) BuildRequires: pkgconfig(ImageMagick++) BuildRequires: pkgconfig(libavcodec) = 56.60.100 BuildRequires: pkgconfig(libavformat) = 56.40.101 BuildRequires: pkgconfig(libavutil) = 54.31.100 BuildRequires: pkgconfig(libswscale) = 3.1.101 BuildRequires: pkgconfig(opencv) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(sdl) BuildRequires: portaudio-devel BuildRequires: portmidi-devel BuildRequires: unzip BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %description An open-source karaoke, band and dancing game where one or more players perform a song and the game scores their performances. Supports songs in UltraStar, Frets on Fire and StepMania formats. Microphones and instruments from SingStar, Guitar Hero and Rock Band as well as some dance pads are autodetected. %prep %setup -q %patch0 -p1 %patch1 -p1 cp %{S:2} . %build # set optflags CFLAGS="%{optflags}" CXXFLAGS=$CFLAGS mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_SKIP_RPATH=TRUE \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE .. make %{?_smp_mflags} %install cd build %make_install %suse_update_desktop_file -r %{name} Game ArcadeGame %find_lang Performous ### TODO Put songs-libre in subpackage? # add songs-libre unzip %{S:1} -d %{buildroot}%{_datadir}/games/performous/ %clean %{?buildroot:rm -rf %{buildroot}} %files -f build/Performous.lang %defattr(-,root,root) %doc docs/Authors.txt docs/Compiling.txt docs/License.txt README_SONG # binaries %{_bindir}/gh_fsb_decrypt %{_bindir}/gh_xen_decrypt %{_bindir}/itg_pck %{_bindir}/performous %{_bindir}/ss_adpcm_decode %{_bindir}/ss_archive_extract %{_bindir}/ss_chc_decode %{_bindir}/ss_cover_conv %{_bindir}/ss_extract %{_bindir}/ss_ipu_conv %{_bindir}/ss_pak_extract # menu entry %{_datadir}/applications/performous.desktop %{_datadir}/pixmaps/performous.xpm # man page %{_mandir}/man6/performous.6%{ext_man} # game data %{_datadir}/games/performous
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.