fix
OBS-URL: https://build.opensuse.org/package/show/games/lugaru?expand=0&rev=2
This commit is contained in:
parent
4c3d8ff37b
commit
36f2e7ffdb
35
lugaru.spec
35
lugaru.spec
@ -8,7 +8,7 @@ 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
|
||||
Source: %{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
|
||||
@ -19,42 +19,49 @@ 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.
|
||||
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
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%__make %{?_smp_mflags} OPT="%optflags" EXENAME=%{name}
|
||||
%__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
|
||||
%__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}
|
||||
%__chmod +x %{buildroot}%{_bindir}/%{name}
|
||||
%__install -D -m 644 Source/res/Lugaru.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||
%__install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file %{name}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot}
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING.txt
|
||||
%{_bindir}/%{name}
|
||||
%dir %{_libdir}/%{name}
|
||||
%{_libdir}/%{name}/*
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%doc COPYING.txt
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user