SPECS: widelands.spec - icon - remove some junk from package - bet...

arvenil arvenil at pld-linux.org
Mon May 28 11:26:22 CEST 2007


Author: arvenil                      Date: Mon May 28 09:26:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- icon
- remove some junk from package
- better BR's

---- Files affected:
SPECS:
   widelands.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/widelands.spec
diff -u SPECS/widelands.spec:1.12 SPECS/widelands.spec:1.13
--- SPECS/widelands.spec:1.12	Sun May 27 23:25:04 2007
+++ SPECS/widelands.spec	Mon May 28 11:26:16 2007
@@ -1,21 +1,25 @@
 # $Revision$, $Date$
+#
+# TODO:
+# - translations
+#
 %define		_version	build10
 Summary:	Game like Settlers II
 Summary(pl.UTF-8):	Remake gry Settlers II
 Name:		widelands
 Version:	0.%{_version}
-Release:	0.5
+Release:	0.6
 License:	GPL
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/widelands/%{name}-%{_version}-source.tar.bz2
 # Source0-md5:	9e452baf7b8f22a27b4e371e2150e017
 Source1:	%{name}.desktop
 URL:		http://widelands.sourceforge.net/
-BuildRequires:	SDL-devel
+BuildRequires:	SDL-devel >= 1.2.11
 BuildRequires:	SDL_image-devel
 BuildRequires:	SDL_mixer-devel >= 1.2.7
 BuildRequires:	SDL_net-devel
-BuildRequires:	SDL_ttf-devel
+BuildRequires:	SDL_ttf-devel >= 2.0.0
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -53,9 +57,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/%{name},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/%{name},%{_desktopdir},%{_pixmapsdir}}
 
 install widelands $RPM_BUILD_ROOT%{_bindir}
+install pics/wl-logo-64.png $RPM_BUILD_ROOT%{_pixmapsdir}/widelands.png
+rm -f {campaigns,fonts,maps,music,pics,sound,tribes,txts,worlds}/SConscript
 cp -r campaigns fonts maps music pics sound tribes txts worlds $RPM_BUILD_ROOT%{_datadir}/games/%{name}
 
 cp %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
@@ -69,6 +75,7 @@
 %attr(755,root,root) %{_bindir}/widelands
 %{_datadir}/games/widelands
 %{_desktopdir}/widelands.desktop
+%{_pixmapsdir}/widelands.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -76,6 +83,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2007/05/28 09:26:16  arvenil
+- icon
+- remove some junk from package
+- better BR's
+
 Revision 1.12  2007/05/27 21:25:04  arvenil
 - BR: libpng-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/widelands.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list