LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File f1spirit.spec of Package f1spirit (Project home:leo_eraly)

Summary: F-1 Spirit remake
Name: f1spirit
Version: 0.rc9
Release: 1
License: Unknown
Group: Games
Packager: Leo Eraly <leo@unstable.be>
URL: http://www.braingames.getput.com/f1spirit/default.asp

Patch: Makefile.patch
Source: http://braingames.jorito.net/f1spirit/f1spirit.src_0.rc9-1412.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: SDL_net-devel SDL_mixer-devel SDL_image-devel SDL-devel libcurl-devel gcc-c++

%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif

%description
F-1 Spirit remake

%prep
%setup
%patch -p1

%build
%{__make}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}" INSTALL="%{__install} -p"

echo "cd \"%{_datadir}/games/f1spirit\"; ./f1spirit; cd -" > %{buildroot}/%{_prefix}/games/f1spirit
%if 0%{?suse_version}  
%suse_update_desktop_file -n %{name}  
%endif  
  

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc readme.txt
%dir %{_datadir}/games/f1spirit
%{_prefix}/games/f1spirit
%{_datadir}/games/f1spirit/*
%{_datadir}/applications/f1spirit.desktop
%{_datadir}/pixmaps/f1spirit.png

%changelog
* Fri Feb 27 2009 Leo Eraly <leo@unstable.be> - 0.rc9-1
- Initial package