SPECS: tmw.spec - up to 0.0.28.1 - fix problem with guichan_sdl library (pa...

lisu lisu at pld-linux.org
Mon Feb 16 12:06:23 CET 2009


Author: lisu                         Date: Mon Feb 16 11:06:23 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.0.28.1
- fix problem with guichan_sdl library (patch|)
- use find_lang macro

---- Files affected:
SPECS:
   tmw.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/tmw.spec
diff -u SPECS/tmw.spec:1.38 SPECS/tmw.spec:1.39
--- SPECS/tmw.spec:1.38	Mon Feb  2 11:07:19 2009
+++ SPECS/tmw.spec	Mon Feb 16 12:06:18 2009
@@ -1,19 +1,17 @@
 # $Revision$, $Date$
-#
-# TODO: - doesn't build because of guichan's libs undefined references
-#
 %bcond_without	opengl	#disable OpenGL support
 Summary:	A free Open Source 2D MMORPG
 Summary(pl.UTF-8):	Gra typu MMORPG 2D o otwartych źródłach
 Name:		tmw
-Version:	0.0.28
-Release:	0.1
+Version:	0.0.28.1
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/themanaworld/%{name}-%{version}.tar.gz
-# Source0-md5:	7d157a95e761ef7bee6f6a04645355ba
+# Source0-md5:	d92b06bb580df72587a668f97b8fd6a7
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-OpenGL.patch
+Patch2:		%{name}-guichan_sdl.patch
 URL:		http://themanaworld.org/
 %{?with_opengl:BuildRequires:	OpenGL-GLU-devel}
 %{?with_opengl:BuildRequires:	OpenGL-devel}
@@ -27,6 +25,7 @@
 BuildRequires:	libxml2-devel
 BuildRequires:	physfs-devel
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	SDL_image
 Requires:	SDL_mixer
 Requires:	SDL_net
@@ -65,6 +64,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p0
+%patch2 -p1
 
 %build
 %{__aclocal} -I m4
@@ -81,10 +81,12 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name} --all-name
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
@@ -99,6 +101,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2009/02/16 11:06:18  lisu
+- up to 0.0.28.1
+- fix problem with guichan_sdl library (patch|)
+- use find_lang macro
+
 Revision 1.38  2009/02/02 10:07:19  lisu
 - 0.0.28
 - doesn't build (TODO)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tmw.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list