Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:RedDwarf:remakes
deflektor_x4
deflektor_x4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File deflektor_x4.spec of Package deflektor_x4
Name: deflektor_x4 Version: 1.0 Release: 0 Summary: A puzzle game based on mirrors reflecting a laser beam License: Freeware Group: Amusements/Games URL: http://retrospec.sgn.net/users/ignacio/dfli.htm # http://retrospec.sgn.net/users/ignacio/downloads/%{name}_f.zip Source0: %{name}_f.tar.bz2 # http://retrospec.sgn.net/download.php?link=deflektorx4&url=download/files/DeflektorX4.zip Source1: DeflektorX4.tar.bz2 Source2: %{name}.png Patch0: %{name}-%{version}-dirs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: liballeg-devel fmodex-devel update-desktop-files fdupes %description The idea of the game is to work though succesive screens until you run out of lives. The idea of each screen is to direct the laser beam into the receiver, but normally the receiver is covered by a barrier that will only be removed once all of the nodes have been destroyed, which again is done by directing the laser beam into them. %prep %setup -q -c -a 1 %patch0 sed -i 's/^#define DEFL_WIN/\/\/#define DEFL_WIN/' internet.c iconv -f WINDOWS-1252 -t UTF-8 -o readme.txt.UTF-8 readme.txt && \ %{__mv} -f readme.txt.UTF-8 readme.txt sed -i 's/\r//' readme.txt iconv -f WINDOWS-1252 -t UTF-8 -o leeme.txt.UTF-8 leeme.txt && \ %{__mv} -f leeme.txt.UTF-8 leeme.txt sed -i 's/\r//' leeme.txt %build %{__cc} -DDEFL_LNX -DDATADIR=\"%{_datadir}/games/%{name}\" %{optflags} -o %{name} *.c -I/usr/include/fmodex `allegro-config --libs` \ %ifarch x86_64 -lfmodex64 %else -lfmodex %endif %install %{__install} -p -D -m 0755 '%{name}' '%{buildroot}%{_prefix}/games/%{name}' %{__install} -d -m 0755 '%{buildroot}%{_datadir}/games/%{name}' %{__install} -p -D -m 0644 *.dat '%{buildroot}%{_datadir}/games/%{name}' %suse_update_desktop_file -c %{name} 'Deflektor X4' 'Deflektor X4' %{name} %{name} 'Game;LogicGame;' %fdupes -s images %clean %{__rm} -rf '%{buildroot}' %files %defattr(-, root, root, 0755) %doc readme.txt images readme.htm %lang(es) %doc leeme.txt %lang(es) %doc leeme.htm %{_prefix}/games/%{name} %{_datadir}/games/%{name} %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %changelog * Tue Feb 5 2008 - cmorve69@yahoo.es - initial package
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