Author: jwrdegoede
Update of /cvs/free/rpms/stella/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv21198
Modified Files:
.cvsignore sources
Added Files:
stella-2.6.1-gcc43.patch stella.spec
Log Message:
* Fri Jul 25 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.6.1-2
- Release bump for rpmfusion
stella-2.6.1-gcc43.patch:
--- NEW FILE stella-2.6.1-gcc43.patch ---
--- stella-2.6.1/src/emucore/Cart.cxx 2008-05-17 01:56:21.000000000 +0200
+++ stella-2.6.1.new/src/emucore/Cart.cxx 2008-06-02 09:16:58.000000000 +0200
@@ -17,6 +17,7 @@
//============================================================================
#include <cassert>
+#include <cstring>
#include <sstream>
#include "bspf.hxx"
--- stella-2.6.1/src/emucore/CartAR.cxx 2008-03-29 00:29:13.000000000 +0100
+++ stella-2.6.1.new/src/emucore/CartAR.cxx 2008-06-02 09:16:58.000000000 +0200
@@ -17,6 +17,7 @@
//============================================================================
#include <cassert>
+#include <cstring>
#include "M6502Hi.hxx"
#include "Random.hxx"
--- stella-2.6.1/src/emucore/TrackBall.cxx 2008-05-19 05:15:12.000000000 +0200
+++ stella-2.6.1.new/src/emucore/TrackBall.cxx 2008-06-02 09:20:46.000000000 +0200
@@ -16,6 +16,8 @@
// $Id: TrackBall.cxx,v 1.2 2008/05/19 03:15:12 stephena Exp $
//============================================================================
+#include <stdlib.h>
+
#include "Event.hxx"
#include "System.hxx"
#include "TIA.hxx"
--- stella-2.6.1/src/unix/SerialPortUNIX.cxx 2008-04-11 19:56:34.000000000 +0200
+++ stella-2.6.1.new/src/unix/SerialPortUNIX.cxx 2008-06-02 09:17:55.000000000 +0200
@@ -23,6 +23,7 @@
#include <sys/termios.h>
#include <sys/types.h>
#include <sys/ioctl.h>
+#include <string.h>
#include "SerialPortUNIX.hxx"
--- NEW FILE stella.spec ---
Name: stella
Version: 2.6.1
Release: 2%{?dist}
License: GPLv2+
Summary: Atari 2600 Video Computer System emulator
Group: Applications/Emulators
URL:
http://stella.sourceforge.net
Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
Patch0: stella-2.6.1-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel libpng-devel desktop-file-utils
%ifarch %{ix86}
BuildRequires: nasm
%endif
Requires: hicolor-icon-theme
%description
The Atari 2600 Video Computer System (VCS), introduced in 1977, was
the most popular home video game system of the early 1980's. This
emulator will run most Atari ROM images, so that you can play your
favorite old Atari 2600 games in GNU/Linux.
%prep
%setup -q
%patch0 -p1
sed -i 's|$(INSTALL) -c -s -m 755|$(INSTALL) -c -m 755|g' Makefile
sed -i 's|-fomit-frame-pointer||g' Makefile
%build
export CXXFLAGS=$RPM_OPT_FLAGS
# this is not a real configure script, so do NOT use %%configure
# the --libdir is not used but still added to shutup rpmlint
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT DOCDIR=%{_datadir}/doc/%{name}-%{version}
# remove icon from pre fdo locations
rm $RPM_BUILD_ROOT%{_datadir}/icons/{mini,large,}/%{name}.png
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor dribble \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Application \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 src/common/%{name}.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
%clean
rm -rf $RPM_BUILD_ROOT
%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,-)
%doc %{_datadir}/doc/%{name}-%{version}
%{_bindir}/%{name}
%{_datadir}/applications/dribble-%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%changelog
* Fri Jul 25 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.6.1-2
- Release bump for rpmfusion
* Mon Jun 2 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.6.1-1
- New upstream release 2.6.1
* Thu Apr 10 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.5.1-1%{?dist}
- New upstream release 2.5.1
* Sun Mar 30 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.5-1%{?dist}
- New upstream release 2.5
* Tue Sep 18 2007 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.4.2-1%{?dist}
- New upstream bugfix release 2.4.2
* Tue Aug 28 2007 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.4.1-1%{?dist}
- New upstream bugfix release 2.4.1
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.4-1%{?dist}
- New upstream release 2.4
- Update license tag for new licensing guidelines compliance
* Sat Mar 10 2007 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.3.5-1%{?dist}
- New upstream release 2.3.5
- Fixup .desktop file categories for games-menus usage
* Mon Aug 14 2006 Hans de Goede <j.w.r.degoede(a)hhs.nl> 2.2-1
- Initial Dribble package
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/stella/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 13:57:02 -0000 1.1
+++ .cvsignore 25 Jul 2008 19:40:33 -0000 1.2
@@ -0,0 +1 @@
+stella-2.6.1-src.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/stella/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 13:57:02 -0000 1.1
+++ sources 25 Jul 2008 19:40:33 -0000 1.2
@@ -0,0 +1 @@
+7ad3e1b5dcd8b3c6777c704be28a74fa stella-2.6.1-src.tar.gz