Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
mures
mures.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mures.spec of Package mures
# # spec file for package mures # # Copyright (c) 2012 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: mures Version: 0.5 Release: 0 Summary: A Multiplayer Puzzle Game License: GPL-2.0+ Group: Amusements/Games/Logic Url: http://mures.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 Source1: mures.desktop Source2: mures.png # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: %{name}-%{version}-datadir.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: %{name}-%{version}-string.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch2: %{name}-%{version}-libs.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch3: %{name}-%{version}-automake.patch BuildRequires: SDL-devel BuildRequires: SDL_image-devel BuildRequires: SDL_net-devel BuildRequires: SDL_ttf-devel BuildRequires: automake BuildRequires: fdupes BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Mures is a cross-platform clone of Sega's "Chu Chu Rocket," a multiplayer puzzle game. It is written in C using SDL. Multiplayer is handled through a client-server design that supports multiple players per client. %prep %setup -q %patch0 %patch1 %patch2 %patch3 %build autoreconf -i %configure make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install # create datadir DATADIR=%{buildroot}%{_datadir}/mures rm -rf $DATADIR mkdir -p $DATADIR/{gui,images,maps,sounds,textures} cp -a src/gui/*.png $DATADIR/gui cp -a src/images/*.ttf src/images/*.png src/images/*.ani src/images/*.Fonts $DATADIR/images cp -a src/maps/[a-z]* $DATADIR/maps rm -f $DATADIR/maps/*/Makefile* cp -a src/sounds/*.wav $DATADIR/sounds cp -a src/textures/*.png src/textures/*.bmp src/textures/*font* $DATADIR/textures cp -p src/*.lua $DATADIR install -m 0755 -d %{buildroot}%{_datadir}/pixmaps install -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/mures.png %suse_update_desktop_file -i %{name} Game ArcadeGame %fdupes $DATADIR %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README TODO %{_bindir}/mures %{_datadir}/mures %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor