# # spec file for package dark-oberon (Version 1.0.2rc1) # # Copyright (c) 2005 Víctor Fernández Martínez. Valencia, Spain. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild BuildRequires: libglfw Name: dark-oberon Summary: Strategy game similar to Warcraft II Summary(es):Juego de estrategia parecido a Warcraft II Version: 1.0.2rc1 Release: 1polinux URL: http://dark-oberon.sourceforge.net/ Source0: %{name}-1.0.2-RC1.tar.gz Source1: dark-oberon.desktop Source2: dark-oberon.png Patch0: fix-makefile.diff License: GPL Group: Amusements/Games/Strategy/Real Time Buildroot: %{_tmppath}/%{name}-%{version}-root Requires: libglfw Requires: libfmod = 3.74.1 Packager: Víctor Fernández %description Dark Oberon is an open source real-time strategy game similar to Warcraft II released under GPL. It has got awesome graphics - textures created from shots of real models made out of plasticine! Dark Oberon was developed as a project at Faculty of Mathematics and Physics at Charles University, Prague. Author --------------- Marian Cerny Peter Knut Michal Kral Martin Kosalko Valeria Sventova Jiri Krejsa %prep %setup -q -n %{name}-1.0.2-RC1 %patch0 %build make SOUND=1 %install # Game data and binary mkdir -p $RPM_BUILD_ROOT/usr/share/games/%{name} cp -Rf dat libs maps races schemes dark-oberon $RPM_BUILD_ROOT/usr/share/games/%{name} # Docs mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} cp -Rf README docs $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} # Desktop entry mkdir -p $RPM_BUILD_ROOT/usr/share/applications cp %{SOURCE1} $RPM_BUILD_ROOT/usr/share/applications mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps cp %{SOURCE2} $RPM_BUILD_ROOT/usr/share/pixmaps %suse_update_desktop_file dark-oberon Game StrategyGame %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/share/games/%{name}/* /usr/share/applications/* /usr/share/pixmaps/* %doc README docs %changelog * Sat Aug 20 2005 - vfernandez@polinux.upv.es - first build