forked from pool/lugaru
61 lines
2.4 KiB
RPMSpec
61 lines
2.4 KiB
RPMSpec
|
# norootforbuild
|
||
|
|
||
|
Name: lugaru
|
||
|
Summary: Kung-Fu Rabbit Adventure Video Game
|
||
|
Group: Amusements/Games/Action/Other
|
||
|
Version: 1.0
|
||
|
Release: 0
|
||
|
License: GPLv2
|
||
|
URL: http://www.wolfire.com/lugaru
|
||
|
# adam@mizerski.pl -- This source is a bit modified version of original. All changes were commited to upstream, but not accepted yet.
|
||
|
Source0: %{name}-%{version}.tar.bz2
|
||
|
Source1: %{name}.desktop
|
||
|
# PATCH-FEATURE-OPENSUSE lugaru-1.0-registered.patch adam@mizerski.pl -- The game is now registered. It's Free Sorftware, isn't it?
|
||
|
Patch0: %{name}-1.0-registered.patch
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||
|
BuildRequires: gcc-c++ libSDL-devel Mesa-devel openal-soft-devel libogg-devel libvorbis-devel zlib-devel libjpeg-devel fdupes update-desktop-files
|
||
|
%if 0%{?suse_version} > 1120
|
||
|
BuildRequires: libpng12-devel
|
||
|
%else
|
||
|
BuildRequires: libpng-devel
|
||
|
%endif
|
||
|
BuildRequires: %{name}-data = %{version}
|
||
|
Requires: %{name}-data = %{version}
|
||
|
|
||
|
%description
|
||
|
Lugaru (pronounced Loo-GAH-roo) is the predecessor to Overgrowth (http://www.wolfire.com/overgrowth). It is a DRM-free, third-person action game available for Mac, Windows, and Linux. The main character, Turner, is an anthropomorphic rebel bunny rabbit with impressive combat skills. In his quest to find those responsible for slaughtering his village, he uncovers a far-reaching conspiracy involving the corrupt leaders of the rabbit republic and the starving wolves from a nearby den. Turner takes it upon himself to fight against their plot and save his fellow rabbits from slavery.
|
||
|
|
||
|
%prep
|
||
|
%setup0 -q
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%__make %{?_smp_mflags} OPT="%optflags" EXENAME=%{name}
|
||
|
|
||
|
%install
|
||
|
%__install -D -m 755 %{name} %buildroot%{_libdir}/%{name}/%{name}
|
||
|
%__ln_s %{_datadir}/%{name}-data %buildroot%{_libdir}/%{name}/Data
|
||
|
%__install -D -d %buildroot%{_bindir}
|
||
|
%__cat >%buildroot%{_bindir}/%{name} <<EOF
|
||
|
#!/bin/bash
|
||
|
cd %{_libdir}/%{name}/
|
||
|
./%{name}
|
||
|
EOF
|
||
|
%__chmod +x %buildroot%{_bindir}/%{name}
|
||
|
%__install -D -m 644 Source/res/Lugaru.png %buildroot%{_datadir}/pixmaps/%{name}.png
|
||
|
%suse_update_desktop_file -i %{name}
|
||
|
|
||
|
%clean
|
||
|
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/%{name}
|
||
|
%dir %{_libdir}/%{name}
|
||
|
%{_libdir}/%{name}/*
|
||
|
%{_datadir}/applications/%{name}.desktop
|
||
|
%{_datadir}/pixmaps/%{name}.png
|
||
|
%doc COPYING.txt
|
||
|
|
||
|
%changelog
|