-%define _game_ver 0.8.1
-%define _data_ver 0.8.1
+%define _game_ver 1.0.0
+%define _data_ver 1.0.0
Summary: Fish Fillets - Next Generation
Summary(pl.UTF-8): Fish Fillets - Next Generation (linuksowy port gry)
Release: 1
License: GPL v2+
Group: X11/Applications/Games
-Source0: http://dl.sourceforge.net/fillets/%{name}-%{version}.tar.gz
-# Source0-md5: d581b18c648336cf7fd0f0551068625a
-Source1: http://dl.sourceforge.net/fillets/%{name}-data-%{_data_ver}.tar.gz
-# Source1-md5: 5919ce057626d3ee565cc7cc71a80f7b
+Source0: http://downloads.sourceforge.net/fillets/%{name}-%{version}.tar.gz
+# Source0-md5: 276bb416d7f8bf9ef0969fd7a3c42d52
+Source1: http://downloads.sourceforge.net/fillets/%{name}-data-%{_data_ver}.tar.gz
+# Source1-md5: 94684229b554468efe7e0b0cc5185e5e
Source2: %{name}.desktop
Source3: %{name}.png
-Source4: http://fillets.sourceforge.net/intro.avi
-# Source4-md5: 1bb4daa05062cd0c8f867320d70e84d9
URL: http://fillets.sourceforge.net/
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: SDL_image-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fribidi-devel
+BuildRequires: libstdc++-devel
BuildRequires: lua50-devel
+BuildRequires: pkgconfig
BuildRequires: sed >= 4.0
Requires: %{name}-data = %{version}-%{release}
+Suggests: %{name}-intro = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _gamedatadir %{_datadir}/games/%{name}
%description
Fish Fillets NG is a Linux port of wonderful puzzle game Fish Fillets
-from ALTAR interactive. Fish Fillets NG is strictly a puzzle game.
-The goal in every of the seventy levels is always the same: find
-a safe way out.
+from ALTAR interactive. Fish Fillets NG is strictly a puzzle game. The
+goal in every of the seventy levels is always the same: find a safe
+way out.
%description -l pl.UTF-8
Fish Fillets NG to port wspaniaĆej gry logicznej Fish Fillets
%{_bindir}/fillets.bin systemdir=%{_gamedatadir} \$@
EOF
-install %{SOURCE4} $RPM_BUILD_ROOT%{_gamedatadir}
+install %{name}-data-%{_data_ver}/images/menu/intro.mpg $RPM_BUILD_ROOT%{_gamedatadir}
cat > $RPM_BUILD_ROOT%{_desktopdir}/fillets-ng-intro.desktop << EOF
[Desktop Entry]
Name=Fish Fillets Intro
Comment=Fish Fillets NG - Introduction
Comment[pl]=Fish Fillets NG - Wprowadzenie
-Exec=mplayer -fs %{_gamedatadir}/intro.avi
+Exec=mplayer -fs %{_gamedatadir}/intro.mpg
Icon=fillets-ng.png
Terminal=false
Type=Application
find $RPM_BUILD_ROOT%{_gamedatadir} -type d -fprintf %{name}.dirs '%%%%dir %{_gamedatadir}/%%P\n'
+%{__rm} -r $RPM_BUILD_ROOT%{_gamedatadir}/images/menu/intro.mpg
%clean
rm -rf $RPM_BUILD_ROOT
%doc AUTHORS ChangeLog NEWS TODO
%attr(755,root,root) %{_bindir}/*
%dir %{_datadir}/%{name}
-%{_mandir}/man*/*
+%{_mandir}/man6/fillets.*
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.png
%files intro
%defattr(644,root,root,755)
-%{_gamedatadir}/intro.avi
+%{_gamedatadir}/intro.mpg
%{_desktopdir}/%{name}-intro.desktop