94 lines
3 KiB
RPMSpec
94 lines
3 KiB
RPMSpec
Name: amoebax
|
|
Version: 0.2.0
|
|
Release: 3%{?dist}
|
|
Summary: Action-Puzzle Game
|
|
Group: Amusements/Games
|
|
License: GPLv2+ and Free Art
|
|
URL: http://www.emma-soft.com/games/amoebax/
|
|
Source0: http://www.emma-soft.com/games/amoebax/download/amoebax-%{version}.tar.bz2
|
|
Patch0: amoebax-0.2.0-gcc43.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: SDL_mixer-devel SDL_image-devel zlib-devel libpng-devel
|
|
BuildRequires: libvorbis-devel doxygen desktop-file-utils
|
|
Requires: hicolor-icon-theme
|
|
|
|
%description
|
|
Amoebax is a cute and addictive action-puzzle game. Due an awful mutation,
|
|
some amoeba's species have started to multiply until they take the world if
|
|
you can't stop them. Fortunately the mutation made then too unstable and
|
|
lining up four or more will make them disappear.
|
|
|
|
Follow Kim or Tom through 6 levels in their quest to prevent the cute
|
|
multiplying amoebas to take the world and become the new Amoeba Master. Watch
|
|
out for the cute but amoeba's controlled creatures that will try to put and
|
|
end to your quest.
|
|
|
|
Amoebax is designed with levels for everyone, from children to adults. With
|
|
the training mode everybody will quickly become a master and the tournament
|
|
mode will let you have a good time with your friends. There is also catchy
|
|
music, funny sound effects, and beautiful screens that sure appeal to everyone
|
|
in the family.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/manual.pdf
|
|
|
|
# below is the desktop file and icon stuff.
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
desktop-file-install --vendor fedora --delete-original \
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
|
|
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.svg \
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
fi
|
|
|
|
%postun
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
fi
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING* NEWS README* THANKS TODO doc/manual.pdf
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_mandir}/man6/%{name}.6.gz
|
|
%{_datadir}/applications/fedora-%{name}.desktop
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
|
|
|
%changelog
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.0-3
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.2.0-2
|
|
- Fix compilation with gcc 4.3
|
|
|
|
* Sat Nov 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.2.0-1
|
|
- Initial Fedora specfile partially based on Packman specfile
|