]> git.pld-linux.org Git - packages/fillets-ng.git/blobdiff - fillets-ng.spec
- updated to game and datas to 1.0.0
[packages/fillets-ng.git] / fillets-ng.spec
index 1a9391349755037e9e3940639adade64babdc4dc..1d61932494940033cafed2e0ae847366af82de9a 100644 (file)
@@ -1,6 +1,6 @@
 
-%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)
@@ -9,14 +9,12 @@ Version:      %{_game_ver}
 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
@@ -25,18 +23,21 @@ BuildRequires:      SDL_ttf-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
@@ -118,13 +119,13 @@ cat > $RPM_BUILD_ROOT%{_bindir}/fillets << EOF
 %{_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
@@ -135,6 +136,7 @@ EOF
 
 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
@@ -150,7 +152,7 @@ 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
 
@@ -177,5 +179,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files intro
 %defattr(644,root,root,755)
-%{_gamedatadir}/intro.avi
+%{_gamedatadir}/intro.mpg
 %{_desktopdir}/%{name}-intro.desktop
This page took 0.096671 seconds and 4 git commands to generate.