rpms/dega-sdl/devel dega-1.12-execstack.patch, NONE, 1.1 dega-sdl.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andrea Musuruane musuruan at rpmfusion.org
Tue Jul 22 21:31:09 CEST 2008


Author: musuruan

Update of /cvs/nonfree/rpms/dega-sdl/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv23089/devel

Modified Files:
	.cvsignore sources 
Added Files:
	dega-1.12-execstack.patch dega-sdl.spec 
Log Message:
First import


dega-1.12-execstack.patch:

--- NEW FILE dega-1.12-execstack.patch ---
diff -duNr dega-1.12.orig/doze/dam.cpp dega-1.12/doze/dam.cpp
--- dega-1.12.orig/doze/dam.cpp	2007-09-16 15:58:50.000000000 +0200
+++ dega-1.12/doze/dam.cpp	2007-09-16 15:59:44.000000000 +0200
@@ -227,6 +227,9 @@
 
   DamJumpTab(); // Jump table
   DamTables();  // Other tables
+  ot("%%ifidn __OUTPUT_FORMAT__,elf\n");
+  ot("section .note.GNU-stack noalloc noexec nowrite progbits\n");
+  ot("%%endif\n");
   return 0;
 }
 


--- NEW FILE dega-sdl.spec ---
Summary: Dega is a Sega Master System emulator
Name: dega-sdl
Version: 1.12
Release: 2%{?dist}
License: Distributable
Group: Applications/Emulators
URL: http://www.emulinks.de/emus/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: http://www.emulinks.de/emus/dega-%{version}.tar.gz
Patch0: dega-1.12-execstack.patch
ExclusiveArch: %{ix86}
BuildRequires: SDL-devel >= 1.2.0, nasm

%description
Dega/SDL is a linux port to the original Dega Sega 
Master System / Mark III / Game Gear emulator for DOS. 

%prep
%setup -q -n dega-%{version}
%patch0 -p1
# Using Fedora OPTFLAGS
sed -i 's/^OPTFLAGS=/#OPTFLAGS=/' Makefile

%build
export OPTFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
install -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 dega %{buildroot}%{_bindir}/

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,0755)
%{_bindir}/dega
%doc README dega.txt ChangeLog

%changelog
* Mon Sep 17 2007 Andrea Musuruane <musuruan at gmail.com> 1.12-2
- added missing %%{?dist} tag in the release field
- using standard Fedora flags for compiling

* Sun Sep 16 2007 Andrea Musuruane <musuruan at gmail.com> 1.12-1
- updated to upstream version 1.12
- removed no longer used patch
- removed %%{?dist} tag from changelog

* Mon Nov 13 2006 Andrea Musuruane <musuruan at gmail.com> 1.07-2
- changed the License tag to "Distributable"
- Source tag now links upstream source package
- no longer using %%{version} in Patch0 (to apply the exact same patch
  to a future version)
- replaced %%{__sed} with sed in %%prep
- added a patch from Hans de Goede to fix unnecessary claims to require 
  an execstack, no longer breaking SELinux

* Sun Nov 12 2006 Andrea Musuruane <musuruan at gmail.com> 1.07-1
- compiled for Fedora Core 6
- changed Group to match a Fedora RPM group
- added full URL to Source tag
- changed BuildRoot to meet Fedora guidelines
- removed Prefix tag
- removed unneeded allegro dependency
- added ExclusiveArch
- cleaned %%prep section
- converted dega.txt to UNIX end-of-line-encoding
- added %%{?_smp_mflags} to make invocation to speed up SMP builds

* Sun Sep 26 2004 Sebastien Corot <scorot at libertysurf.fr>
- first spec file
- compiled for SuSE Linux 9.1


Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/dega-sdl/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Jun 2008 15:24:28 -0000	1.1
+++ .cvsignore	22 Jul 2008 19:31:09 -0000	1.2
@@ -0,0 +1 @@
+dega-1.12.tar.gz


Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/dega-sdl/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Jun 2008 15:24:28 -0000	1.1
+++ sources	22 Jul 2008 19:31:09 -0000	1.2
@@ -0,0 +1 @@
+31bb460a2e2ac016e0985ba5064e9fde  dega-1.12.tar.gz



More information about the rpmfusion-commits mailing list