fillets-ng/fillets-ng.spec

128 lines
3.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package fillets-ng (Version 0.7.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: fillets-ng
BuildRequires: SDL_image-devel SDL_mixer-devel SDL_ttf fribidi-devel gcc-c++ lua-devel pkgconfig update-desktop-files
License: GNU General Public License (GPL)
Group: Amusements/Games/Action/Arcade
Summary: Fish Fillets--Next Generation
Version: 0.7.4
Release: 1
URL: http://fillets.sourceforge.net
Source0: %{name}-%{version}.tar.bz2
Source1: %name.desktop
Source2: %name.png
Patch: %{name}-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: fillets-ng-data >= 0.7.4
%description
Fish Fillets is strictly a puzzle game. The goal in each of the 70
levels is always the same: find a safe way out. The fish utter witty
remarks about their surroundings and the various inhabitants of their
underwater realm quarrel among themselves or comment on the efforts of
your fish. The whole game is accompanied by quiet, comforting music.
Authors:
--------
ALTAR interactive <info@altarinteractive.com>
Ivo Danihelka <ivo@danihelka.net>
Pavel Danihelka <fillets@danihelka.net>
Frederic Panico <fratloev@yahoo.fr>
%prep
%setup -q
%patch
%build
%{suse_update_config}
aclocal --force
libtoolize --force
autoconf --force
automake -afc
CXXFLAGS="$RPM_OPT_FLAGS" \
CPPFLAGS="$RPM_OPT_FLAGS" \
LDFLAGS="-ldl" \
./configure --prefix=%{_prefix} \
--bindir=%{_prefix}/games \
--datadir=%{_datadir} \
--mandir=%{_mandir}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
install -m 0644 %{S:2} $RPM_BUILD_ROOT/usr/share/pixmaps/fillets-ng.png
%suse_update_desktop_file -i %name Game ArcadeGame
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README COPYING NEWS TODO
%defattr(644,root,root,755)
%{_mandir}/man6/*
%defattr(755,root,root,755)
%{_prefix}/games/fillets
%{_datadir}/applications/%name.desktop
%{_datadir}/pixmaps/%name.png
%changelog
* Mon Feb 19 2007 - anicka@suse.cz
- update to 0.7.4
* fixes for new version of lua
- update fixes #246724
- remove last patch (fixed in upstream)
* Fri Oct 20 2006 - ro@suse.de
- fix build with current lua
* Tue Aug 15 2006 - anicka@suse.cz
- add desktop file and icon (#198287)
* Thu Mar 16 2006 - anicka@suse.cz
- fix dependencies (#158267)
* Mon Jan 30 2006 - ro@suse.de
- added gcc-c++ to BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 05 2006 - anicka@suse.cz
- update to 0.7.3
- require fribidi
- add -ldl to LDFLAGS
* Fri Sep 09 2005 - ro@suse.de
- fix configure to find liblua
* Wed Jul 20 2005 - anicka@suse.cz
- update to 0.7.1
* Mon Jun 20 2005 - anicka@suse.cz
- update to 0.7.0
* Wed Oct 13 2004 - mcihar@suse.cz
- update to 0.6.0
- versioned dependancy on fillets-ng-data
* Thu Aug 12 2004 - mcihar@suse.cz
- version 0.5.0 doesn't require boost
* Thu Aug 12 2004 - mcihar@suse.cz
- update to 0.5.0
- split data to noarch package
* Wed Aug 04 2004 - mcihar@suse.cz
- update to 0.4.1
* Mon May 10 2004 - mcihar@suse.cz
- updated to 0.3.0:
   * game world map
   * save/load (F2/F3)
   * two new levels
   * two animated videos
   * optional controls with spacebar and arrow keys
   * How to Play manual
* Fri Apr 23 2004 - mcihar@suse.cz
- initial packaging