]> 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 df981862332e0c19e8722d61e92ec0162e71b5a7..1d61932494940033cafed2e0ae847366af82de9a 100644 (file)
@@ -1,6 +1,6 @@
 
-%define        _game_ver       0.8.0
-%define _data_ver      0.8.0
+%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: 5daccbed195ae74cdfa54755ef62e3ce
-Source1:       http://dl.sourceforge.net/fillets/%{name}-data-%{_data_ver}.tar.gz
-# Source1-md5: dd43ff637bdc1e4e7445b35ce0a1aa1c
+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,12 +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
-Exec=mplayer -fs %{_gamedatadir}/intro.avi
+Comment[pl]=Fish Fillets NG - Wprowadzenie
+Exec=mplayer -fs %{_gamedatadir}/intro.mpg
 Icon=fillets-ng.png
 Terminal=false
 Type=Application
@@ -134,22 +136,23 @@ 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
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS TODO
 %attr(755,root,root) %{_bindir}/*
 %dir %{_datadir}/%{name}
-%{_mandir}/man*/*
+%{_mandir}/man6/fillets.*
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.png
 
@@ -159,8 +162,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_gamedatadir}/font/*
 %{_gamedatadir}/images/*.png
 %{_gamedatadir}/images/*/*.png
-%{_gamedatadir}/images/*/*.svg
-%{_gamedatadir}/images/*/*.xcf
 %{_gamedatadir}/images/*/*/*.png
 %{_gamedatadir}/images/*/*/*/*.png
 %{_gamedatadir}/images/*/*/*/*/*.png
@@ -178,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.079324 seconds and 4 git commands to generate.