SPECS: fillets-ng.spec - Release 2 - new introduction package

pascalek pascalek at pld-linux.org
Thu May 3 09:52:55 CEST 2007


Author: pascalek                     Date: Thu May  3 07:52:55 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Release 2
- new introduction package

---- Files affected:
SPECS:
   fillets-ng.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/fillets-ng.spec
diff -u SPECS/fillets-ng.spec:1.5 SPECS/fillets-ng.spec:1.6
--- SPECS/fillets-ng.spec:1.5	Wed May  2 21:34:47 2007
+++ SPECS/fillets-ng.spec	Thu May  3 09:52:50 2007
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Fish Fillets - Next Generation (linuksowy port gry)
 Name:		fillets-ng
 Version:	%{_game_ver}
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/fillets/%{name}-%{version}.tar.gz
@@ -16,7 +16,9 @@
 # Source1-md5:	0a2a651342d1035c292817048a4e373c
 Source2:	%{name}.desktop
 Source3:	%{name}.png
-URL:		http://fishfillets.sourceforge.net/
+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:	SDL_mixer-devel
@@ -67,6 +69,19 @@
 %description data -l pl.UTF-8
 Pliki z danymi dla Fish Fillets NG
 
+%package intro
+Summary:	Introduction video to Fish Fillets NG game
+Summary(pl.UTF-8):	Film wprowadzający do gry Fish Fillets NG
+Group:		X11/Application/Games
+Requires:	%{name} = %{version}-%{release}
+Requires:	mplayer
+
+%description intro
+Introduction video to Fish Fillets NG game
+
+%description intro -l pl.UTF-8
+Film wprowadzający do gry Fish Fillets NG
+
 %prep
 %setup -q -a1
 
@@ -104,8 +119,23 @@
 %{_bindir}/fillets.bin systemdir=%{_gamedatadir} \$@
 EOF
 
+install %{SOURCE4} $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
+Icon=fillets-ng.png
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Categories=Game;LogicGame;
+# vi: encoding=utf-8
+EOF
+
 find $RPM_BUILD_ROOT%{_gamedatadir} -type d -fprintf %{name}.dirs '%%%%dir %{_gamedatadir}/%%P\n'
 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -147,12 +177,21 @@
 %dir %{_datadir}/%{name}/doc
 %{_datadir}/%{name}/doc/html
 
+%files intro
+%defattr(644,root,root,755)
+%{_gamedatadir}/intro.avi
+%{_desktopdir}/%{name}-intro.desktop
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/05/03 07:52:50  pascalek
+- Release 2
+- new introduction package
+
 Revision 1.5  2007/05/02 19:34:47  pascalek
 - updated to 0.7.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fillets-ng.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list