Author: belegdol
Update of /cvs/nonfree/rpms/sdlmame/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv3763
Modified Files:
.cvsignore sdlmame.spec sources
Log Message:
* Fri Sep 25 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0135-0.1.0134u1
- Updated to 0.134u1
- Made the -debug build optional
- Use %global instead of %define
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-11/.cvsignore,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- .cvsignore 11 Sep 2009 08:34:30 -0000 1.53
+++ .cvsignore 27 Sep 2009 15:28:21 -0000 1.54
@@ -1,2 +1,2 @@
ui.bdc
-sdlmame0134.zip
+sdlmame0134u1.zip
Index: sdlmame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-11/sdlmame.spec,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- sdlmame.spec 11 Sep 2009 08:34:30 -0000 1.63
+++ sdlmame.spec 27 Sep 2009 15:28:21 -0000 1.64
@@ -1,24 +1,27 @@
-#define beta 0133u5
+# the debug build is disabled by default, please use --with debug to override
+%bcond_with debug
+
+%global beta 0134u1
%if "0%{?beta}" != "0"
-%define _version %{?beta}
+%global _version %{?beta}
%else
-%define _version %{version}
+%global _version %{version}
%endif
%ifarch x86_64
-%define arch_flags PTR64=1
+%global arch_flags PTR64=1
%endif
%ifarch ppc
-%define arch_flags BIGENDIAN=1
+%global arch_flags BIGENDIAN=1
%endif
%ifarch ppc64
-%define arch_flags BIGENDIAN=1 PTR64=1
+%global arch_flags BIGENDIAN=1 PTR64=1
%endif
Name: sdlmame
-Version: 0134
-Release: 1%{?beta}%{?dist}
+Version: 0135
+Release: 0.1.%{?beta}%{?dist}
Summary: SDL Multiple Arcade Machine Emulator
Group: Applications/Emulators
@@ -65,13 +68,6 @@
%description tools
%{summary}.
-%package debug
-Summary: Debug enabled version of sdlmame
-Group: Applications/Emulators
-
-%description debug
-%{summary}.
-
%package ldplayer
Summary: Standalone laserdisc player based on sdlmame
Group: Applications/Emulators
@@ -120,10 +116,13 @@
%build
make %{?_smp_mflags} %{?arch_flags} TARGET=ldplayer SYMBOLS=1 OPTIMIZE=2\
OPT_FLAGS='%{optflags}
-DINI_PATH="\"%{_sysconfdir}/mame;\""'
+%if %{with debug}
make %{?_smp_mflags} %{?arch_flags} DEBUG=1 SYMBOLS=1 OPTIMIZE=2\
OPT_FLAGS='%{optflags}
-DINI_PATH="\"%{_sysconfdir}/mame;\""'
+%else
make %{?_smp_mflags} %{?arch_flags} SYMBOLS=1 OPTIMIZE=2\
OPT_FLAGS='%{optflags}
-DINI_PATH="\"%{_sysconfdir}/mame;\""'
+%endif
%install
@@ -155,8 +154,13 @@
install -pm 644 mame.ini %{buildroot}%{_sysconfdir}/mame
install -pm 644 keymaps/* %{buildroot}%{_datadir}/mame/keymaps
install -pm 644 ui.bdf %{SOURCE1} %{buildroot}%{_datadir}/mame/fonts
-install -pm 755 chdman jedutil ldplayer ldresample ldverify mame mamed romcmp \
- testkeys %{buildroot}%{_bindir}
+%if %{with debug}
+install -pm 755 mamed %{buildroot}%{_bindir}/mamed
+%else
+install -pm 755 mame %{buildroot}%{_bindir}/mame
+%endif
+install -pm 755 chdman jedutil ldplayer ldresample ldverify romcmp testkeys \
+ %{buildroot}%{_bindir}
for tool in regrep runtest src2html srcclean
do
install -pm 755 $tool %{buildroot}%{_bindir}/mame-$tool
@@ -172,7 +176,11 @@
%doc whatsnew*.txt SDLMAME.txt docs/*
%config(noreplace) %{_sysconfdir}/mame/mame.ini
%dir %{_sysconfdir}/mame
+%if %{with debug}
+%{_bindir}/mamed
+%else
%{_bindir}/mame
+%endif
%{_datadir}/mame
%{_sysconfdir}/skel/.mame
@@ -190,11 +198,6 @@
%{_bindir}/mame-srcclean
%{_bindir}/testkeys
-%files debug
-%defattr(-,root,root,-)
-%doc docs/license.txt
-%{_bindir}/mamed
-
%files ldplayer
%defattr(-,root,root,-)
%doc docs/license.txt
@@ -202,6 +205,11 @@
%changelog
+* Fri Sep 25 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0135-0.1.0134u1
+- Updated to 0.134u1
+- Made the -debug build optional
+- Use %%global instead of %%define
+
* Fri Sep 11 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0134-1
- Updated to 0.134
- Turned the ldplayer back on, disabled unidasm instead
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-11/sources,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- sources 11 Sep 2009 08:34:30 -0000 1.55
+++ sources 27 Sep 2009 15:28:21 -0000 1.56
@@ -1,2 +1,2 @@
b64914c2a5589f6d5b00361464152acd ui.bdc
-706429e5ecf2ed48c1a732d0dc9c0f94 sdlmame0134.zip
+33bda6d296a0d09b78123a6ebe6dba1a sdlmame0134u1.zip
Show replies by date