packages: sdlhazemd/sdlhazemd.spec (NEW) - new, based on sdlmame.spec

lisu lisu at pld-linux.org
Fri Nov 19 14:52:59 CET 2010


Author: lisu                         Date: Fri Nov 19 13:52:59 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on sdlmame.spec

---- Files affected:
packages/sdlhazemd:
   sdlhazemd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/sdlhazemd/sdlhazemd.spec
diff -u /dev/null packages/sdlhazemd/sdlhazemd.spec:1.1
--- /dev/null	Fri Nov 19 14:52:59 2010
+++ packages/sdlhazemd/sdlhazemd.spec	Fri Nov 19 14:52:53 2010
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+%define		file_version	%(echo %{version} | tr -d .)
+Summary:	SDL fork of MAME
+Summary(pl.UTF-8):	Emulator MAME napisany w SDL
+Name:		sdlhazemd
+Version:	0.14a
+Release:	1
+License:	Distributable
+Group:		X11/Applications/Games
+Source0:	http://rbelmont.mameworld.info/%{name}%{file_version}.zip
+# Source0-md5:	a5eab921f2fcd4fb4d04b9dd7f0d9177
+Patch0:		%{name}-cflags.patch
+Patch1:		%{name}-duplicate_options.patch
+URL:		http://rbelmont.mameworld.info
+BuildRequires:	GConf2-devel
+BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	SDL-devel
+BuildRequires:	gtk+2-devel
+BuildRequires:	pkgconfig
+BuildRequires:	sed >= 4.0
+BuildRequires:	unzip
+BuildRequires:	zlib-devel
+Suggests:	gmameui
+Obsoletes:	sdlmame
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SDLHAZEMD is meant to be a replacement for the MIA xmame but has no
+connection with it otherwise. It has been separately developed from
+base MAME, the popular Multiple Arcade Machine Emulator that supports
+hundreds of machine chipsets with thousands of games from back in the
+70s till today.
+
+%description -l pl.UTF-8
+SDLHAZEMD ma być zastąpieniem dla MIA xmame, jednak nie ma z nim nic
+wspólnego. Był on rozwijany odzielnie bazując na oryginalnym
+emulatorze MAME, wspierającym setki układów komputerowych z tysiącami
+gier od lat 70-tych po dziś dzień.
+
+%prep
+%setup -q -n %{name}%{file_version}
+%patch0 -p1
+%patch1 -p1
+
+%{__sed} -i 's/NAME = $(TARGET)/NAME = %{name}/' makefile
+
+%build
+%{__make} \
+%ifarch %{x8664}
+	PTR64=1 \
+%endif
+	CC="%{__cc}" \
+	OPTFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install sdlhazemd $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc SDLHAZEMD.txt docs/*
+%attr(755,root,root) %{_bindir}/sdlhazemd
+
+%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.1  2010/11/19 13:52:53  lisu
+- new, based on sdlmame.spec
+
================================================================


More information about the pld-cvs-commit mailing list