Author: laxathom
Update of /cvs/free/rpms/yabause/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15993/devel
Modified Files:
.cvsignore sources
Added Files:
yabause-0.8.6.addlimits_h.patch yabause-0.9.1.addselinux.patch
yabause.spec
Log Message:
Initial import.
yabause-0.8.6.addlimits_h.patch:
--- NEW FILE yabause-0.8.6.addlimits_h.patch ---
--- yabause/src/cd-linux.c.orig 2006-08-05 23:40:35.000000000 +0100
+++ yabause/src/cd-linux.c 2007-09-02 21:23:02.000000000 +0100
@@ -26,7 +26,7 @@
#include <unistd.h>
#include <string.h>
#include <stdio.h>
-
+#include <limits.h>
#include "cdbase.h"
#include "debug.h"
yabause-0.9.1.addselinux.patch:
--- NEW FILE yabause-0.9.1.addselinux.patch ---
--- yabause-0.9.1/src/gtk/Makefile.in.orig 2007-11-04 19:06:14.000000000 +0000
+++ yabause-0.9.1/src/gtk/Makefile.in 2007-11-18 14:52:00.000000000 +0000
@@ -115,7 +115,7 @@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lselinux
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
--- NEW FILE yabause.spec ---
Name: yabause
Version: 0.9.3
Release: 1%{?dist}
Summary: A Sega Saturn emulator
Group: Applications/Emulators
License: GPLv2+
URL:
http://yabause.sourceforge.net
Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: yabause-0.8.6.addlimits_h.patch
Patch1: yabause-0.9.1.addselinux.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: freeglut-devel
BuildRequires: gtk+-devel
BuildRequires: gtkglext-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libselinux-devel
BuildRequires: libXt-devel
BuildRequires: pkgconfig
BuildRequires: SDL-devel
Requires: hicolor-icon-theme
%description
Yabause is a Sega Saturn emulator. A popular console of the early 1990s. It
includes an 'emulated' Saturn BIOS which is compatible with at least some games
but optionally a real Saturn BIOS can be used, however it is not included.
%prep
%setup -q
%patch0 -p1
%if 0%{?fedora} > 8
%patch1 -p1
%endif
%build
%configure --with-gtk --enable-newperinterface
make %{?_smp_mflags}
# Build desktop icon
cat >%{name}.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=Yabause
GenericName=Sega Saturn Emulator
Comment=%{summary}
Exec=%{name}
Icon=%{name}
Terminal=false
Type=Application
Categories=Game;Emulator;
EOF
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
# Some cleanups
rm -rf %{buildroot}%{_datadir}/%{name} %{buildroot}%{_datadir}/pixmaps
rm -f %{buildroot}%{_datadir}/applications/*.desktop %{buildroot}%{_bindir}/gen68k
install -pm0644 src/logo.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{name}.desktop
%clean
rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/applications/dribble-%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%doc AUTHORS ChangeLog COPYING GOALS README README.LIN TODO doc/howto.txt
doc/using.docbook doc/yabause.docbook
%changelog
* Mon Jan 21 2008 Ian Chapman <packages[AT]amiga-hardware.com> 0.9.3-1
- Upgrade to 0.9.3
* Wed Jan 09 2008 Ian Chapman <packages[AT]amiga-hardware.com> 0.9.2-1
- Upgrade to 0.9.2
* Sun Nov 18 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.9.1-1
- Upgrade to 0.9.1
- Added patch for devel only to link against selinux possibly due to broken
GL libs
* Fri Sep 28 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.9.0-1
- Upgrade to 0.9.0
* Tue Aug 28 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.6-1
- Upgrade to 0.8.6
- License field changed due to new guidelines
- Added patch needed for compilation with F8 (devel)
* Tue Jun 26 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.5-1
- Upgrade to 0.8.5
- Minor changes to SPEC for new Fedora guidelines
* Sun Mar 04 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.0-2
- Dropped dribble-menus requirement, due to be obsoleted
- Changed .desktop category to Game;Emulator;
* Thu Jan 04 2007 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.0-1
- Upgrade to 0.8.0
* Wed Sep 20 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.7.2-1
- Upgrade to 0.7.2
* Wed Aug 30 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.7.1-1
- Upgrade to 0.7.1
- Removed big endian patch as it's now merged upstream
* Sat Aug 26 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.7.0-2
- Added libXt-devel buildrequire
- Added patch to fix compilation on big endian systems
* Wed Aug 23 2006 Ian Chapman <packages[AT]amiga-hardware.com> 0.7.0-1
- Initial Release
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/yabause/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:05:03 -0000 1.1
+++ .cvsignore 4 Sep 2008 11:01:37 -0000 1.2
@@ -0,0 +1 @@
+yabause-0.9.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/yabause/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:05:03 -0000 1.1
+++ sources 4 Sep 2008 11:01:37 -0000 1.2
@@ -0,0 +1 @@
+92c5222270fd2b9cb61f909e0ecf6c02 yabause-0.9.3.tar.gz