Author: laxathom
Update of /cvs/nonfree/rpms/mednafen/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17163/F-8
Modified Files:
.cvsignore sources
Added Files:
mednafen-0.7.1-norpath.patch mednafen.spec
Log Message:
Initial import.
mednafen-0.7.1-norpath.patch:
--- NEW FILE mednafen-0.7.1-norpath.patch ---
--- mednafen/config.rpath.orig 2006-12-22 05:30:02.000000000 +0000
+++ mednafen/config.rpath 2007-01-03 19:37:59.000000000 +0000
@@ -153,7 +153,7 @@
# here allows them to be overridden if necessary.
# Unlike libtool, we use -rpath here, not --rpath, since the documented
# option of GNU ld is called -rpath, not --rpath.
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_flag_spec=''
case "$host_os" in
aix3* | aix4* | aix5*)
# On AIX/PPC, the GNU linker is very broken
@@ -191,7 +191,7 @@
;;
interix3*)
hardcode_direct=no
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ hardcode_libdir_flag_spec=''
;;
linux*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' >
/dev/null; then
@@ -218,7 +218,7 @@
;;
*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' >
/dev/null; then
- hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" &&
echo ${wl}-rpath,$libdir`'
+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH"`'
else
ld_shlibs=no
fi
@@ -399,7 +399,7 @@
fi
;;
irix5* | irix6* | nonstopux*)
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_flag_spec=''
hardcode_libdir_separator=:
;;
netbsd*)
@@ -408,20 +408,20 @@
;;
newsos6)
hardcode_direct=yes
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_flag_spec=''
hardcode_libdir_separator=:
;;
openbsd*)
hardcode_direct=yes
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ hardcode_libdir_flag_spec=''
else
case "$host_os" in
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ hardcode_libdir_flag_spec=''
;;
esac
fi
@@ -431,15 +431,15 @@
hardcode_minus_L=yes
;;
osf3*)
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_flag_spec=''
hardcode_libdir_separator=:
;;
osf4* | osf5*)
if test "$GCC" = yes; then
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_flag_spec=''
else
# Both cc and cxx compiler support -rpath directly
- hardcode_libdir_flag_spec='-rpath $libdir'
+ hardcode_libdir_flag_spec=''
fi
hardcode_libdir_separator=:
;;
--- NEW FILE mednafen.spec ---
Name: mednafen
Version: 0.8.7
Release: 1%{?dist}
Summary: A multi-system emulator utilizing OpenGL and SDL
Group: Applications/Emulators
License: GPLv2+
URL:
http://mednafen.sourceforge.net
Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch0: mednafen-0.7.1-norpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: SDL_net-devel >= 1.2.0
BuildRequires: libsndfile-devel => 1.0.2
BuildRequires: libcdio-devel
BuildRequires: libGLU-devel
BuildRequires: zlib-devel
BuildRequires: jack-audio-connection-kit-devel
%description
A portable command-line driven, multi-system emulator which uses OpenGL and
SDL. It emulates the following:
* Atari Lynx
* Famicom
* GameBoy (Color)
* GameBoy Advance
* Neo Geo Pocket (Color)
* NES (NTSC & PAL)
* PC Engine
* TurboGrafx 16 (CD)
* SuperGrafx
* PC-FX
Mednafen has the ability to remap hotkey functions and virtual system
inputs to a keyboard, a joystick or both simultaneously. Save states are
supported, as is real-time game rewinding. Screen snapshots may be taken at the
press of a button and are saved in the popular PNG file format. To play Atari
Lynx games you will also need lynxboot.img which is not included for legal
reasons.
%prep
%setup -q -n %{name}
%patch0 -p1
# Permission cleanups for debuginfo
chmod -x src/wswan/dis/*
%build
# Note --disable-rpath seems to get ignored, at least on x86_64 so we rely on
# the patch aswell.
%configure --disable-rpath
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%find_lang %{name}
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/%{name}
%doc AUTHORS ChangeLog COPYING TODO Documentation/*
%changelog
* Tue Jan 08 2008 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.7-1
- Upgrade to 0.8.7
* Sun Nov 25 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.5-1
- Upgrade to 0.8.5
* Sun Nov 18 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.4-1
- Upgrade to 0.8.4
- Removed several patches which have been applied upstream
- License change due to new guidelines
- New URL as project homepage has changed
* Sat Apr 28 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.1-2
- Added patch to fix crashes with wonderswan roms
- Added patch to fix compilation on ppc
* Thu Apr 26 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.1-1
- Upgrade to 0.8.1
* Tue Feb 13 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.7.2-1
- Upgrade to 0.7.2
* Wed Jan 03 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.7.1-1
- Upgrade to 0.7.1
- Updated rpath patch
- Added support for jack
* Fri Oct 06 2006 Ian Chapman <packages[AT]amiga-hardware.ocm> 0.6.5-2
- Rebuild for new version of libcdio in fc6
* Thu Sep 07 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.6.5-1
- Upgrade to 0.6.5
* Wed Aug 23 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.6.4-1
- Upgrade to 0.6.4
- Minor alteration to RPM description due to new features
* Sat Aug 12 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.6.3-1
- Upgrade to 0.6.3
- Drop the libtool buildrequire and use the patch for fixing rpath
* Mon Jun 19 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.6.2-1
- Upgrade to 0.6.2
* Sun Jun 04 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.6.1-2
- Removed gawk buildrequire. Doesn't seem to be needed.
- Removed bison buildrequire. Doesn't seem to be needed.
- Replaced xorg-x11-devel with libGLU-devel for compatibility reasons with
modular and non modular X
- Removed SDL-devel buildrequire, implied by SDL_net-devel
* Tue May 23 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.6.1-1.iss
- Initial Release
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/mednafen/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:48:52 -0000 1.1
+++ .cvsignore 4 Sep 2008 11:10:47 -0000 1.2
@@ -0,0 +1 @@
+mednafen-0.8.7.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/mednafen/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:48:52 -0000 1.1
+++ sources 4 Sep 2008 11:10:47 -0000 1.2
@@ -0,0 +1 @@
+0bf5d722abc77323762c6fe81b5a2b25 mednafen-0.8.7.tar.bz2