packages: sdlmame/sdlmame.spec (NEW) - initial PLD release
lisu
lisu at pld-linux.org
Wed Aug 12 14:15:07 CEST 2009
Author: lisu Date: Wed Aug 12 12:15:07 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
packages/sdlmame:
sdlmame.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/sdlmame/sdlmame.spec
diff -u /dev/null packages/sdlmame/sdlmame.spec:1.1
--- /dev/null Wed Aug 12 14:15:07 2009
+++ packages/sdlmame/sdlmame.spec Wed Aug 12 14:15:02 2009
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+%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.133u1
+Release: 0.1
+License: Distributable
+Group: X11/Applications/Games
+Source0: http://rbelmont.mameworld.info/%{name}%{file_version}.zip
+# Source0-md5: 798d791a25a01fceead1122e6cb26b51
+Patch0: %{name}-cflags.patch
+URL: http://rbelmont.mameworld.info
+BuildRequires: unzip
+BuildRequires: zlib-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SDLMAME 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
+SDLMAME 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
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ OPTFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install mame $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc SDLMAME.txt docs/* whatsnew_%{file_version}.txt whatsnew.txt
+%attr(755,root,root) %{_bindir}/mame
+
+%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 2009/08/12 12:15:02 lisu
+- initial PLD release
+
================================================================
More information about the pld-cvs-commit
mailing list