packages: sdlmame/sdlmame.spec - up to 0.133u3 - BRs: pkgconfig, SDL-devel, ...

lisu lisu at pld-linux.org
Mon Aug 24 13:41:46 CEST 2009


Author: lisu                         Date: Mon Aug 24 11:41:46 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.133u3
- BRs: pkgconfig, SDL-devel, gtk+2-devel
- rename binary file to sdlmame

---- Files affected:
packages/sdlmame:
   sdlmame.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/sdlmame/sdlmame.spec
diff -u packages/sdlmame/sdlmame.spec:1.2 packages/sdlmame/sdlmame.spec:1.3
--- packages/sdlmame/sdlmame.spec:1.2	Wed Aug 19 11:20:46 2009
+++ packages/sdlmame/sdlmame.spec	Mon Aug 24 13:41:40 2009
@@ -1,20 +1,21 @@
 # $Revision$, $Date$
-#
-# TODO: - change binary name from mame to sdlmame
-#
 %define		file_version	%(echo %{version} | tr -d .)
 Summary:	SDL fork of MAME
 Summary(pl.UTF-8):	Emulator MAME napisany w SDL
 Name:		sdlmame
-Version:	0.133u2
-Release:	0.1
+Version:	0.133u3
+Release:	1
 License:	Distributable
 Group:		X11/Applications/Games
 Source0:	http://rbelmont.mameworld.info/%{name}%{file_version}.zip
-# Source0-md5:	1d35b9ca41115be0614669f23d7b7aed
+# Source0-md5:	f78768bd7603b643dd4cac74ac7cac28
 Patch0:		%{name}-cflags.patch
 URL:		http://rbelmont.mameworld.info
+BuildRequires:	SDL-devel
+BuildRequires:	gtk+2-devel
+BuildRequires:	pkgconfig
 BuildRequires:	unzip
+BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,6 +35,7 @@
 %prep
 %setup -q -n %{name}%{file_version}
 %patch0 -p1
+%{__sed} -i 's/NAME = $(TARGET)/NAME = %{name}/' makefile
 
 %build
 %{__make} \
@@ -45,7 +47,7 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 
-install mame $RPM_BUILD_ROOT%{_bindir}
+install sdlmame $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,7 +55,7 @@
 %files
 %defattr(644,root,root,755)
 %doc SDLMAME.txt docs/* whatsnew_%{file_version}.txt whatsnew.txt
-%attr(755,root,root) %{_bindir}/mame
+%attr(755,root,root) %{_bindir}/sdlmame
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -61,6 +63,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/08/24 11:41:40  lisu
+- up to 0.133u3
+- BRs: pkgconfig, SDL-devel, gtk+2-devel
+- rename binary file to sdlmame
+
 Revision 1.2  2009/08/19 09:20:46  lisu
 - up to 0.133u2
 - TODO
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/sdlmame/sdlmame.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list