Author: laxathom
Update of /cvs/free/rpms/lxdream/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26223/devel
Modified Files:
.cvsignore sources
Added Files:
README_lxdream.dribble lxdream-0.8.2-sanerconfig.patch
lxdream.spec
Log Message:
Initial import.
--- NEW FILE README_lxdream.dribble ---
README for lxdream
==================
1. The ROMs are not distributed with the RPM and must be obtained separately.
2. The ROMs should be installed in the user's home directory and named
appropriately. Consult the file '/etc/lxdreamrc' for the system defaults.
3. Upon on startup, if you receive an error stating that it's unable to
initialise the video display or similar then the most likely cause is that the
GL implementation for your graphics card is not sufficient.
4. lxdream requires 'esound' for sound output. If you do not hear sound then
you'll need to ensure that esound is running, particularly if you're using a
desktop other than Gnome, such as KDE.
lxdream-0.8.2-sanerconfig.patch:
--- NEW FILE lxdream-0.8.2-sanerconfig.patch ---
--- lxdream-0.8.2/lxdreamrc.orig 2007-10-16 13:38:01.000000000 +0100
+++ lxdream-0.8.2/lxdreamrc 2008-01-09 19:34:01.000000000 +0000
@@ -1,9 +1,9 @@
[Global]
-bios = bios/dcboot.rom
-flash = bios/dcflash.rom
-default path = disc
-save path = save
-bootstrap = bios/IP.BIN
+bios = .lxdream/bios/dcboot.rom
+flash = .lxdream/bios/dcflash.rom
+default path = .lxdream/disc
+save path = .lxdream/save
+bootstrap = .lxdream/bios/IP.BIN
[Controllers]
Device 0 = Sega Controller
--- NEW FILE lxdream.spec ---
Name: lxdream
Version: 0.8.3
Release: 3%{?dist}
Summary: Sega Dreamcast emulator
Group: Applications/Emulators
License: GPLv2+
URL:
http://www.lxdream.org
# Actual source URL is:
http://www.lxdream.org/count.php?file=lxdream-0.8.3.tar.gz
Source0: %{name}-%{version}.tar.gz
Source1: README_%{name}.dribble
Patch0: %{name}-0.8.2-sanerconfig.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: esound-devel
BuildRequires: gettext
BuildRequires: gtk2-devel
BuildRequires: ImageMagick
BuildRequires: libGL-devel
Requires: hicolor-icon-theme
ExclusiveArch: %{ix86} x86_64
%description
lxdream is a linux-based emulator of the Sega Dreamcast system. While it is
still in heavy development (and many features are buggy or unimplemented), it
is already capable of running many demos and some games.
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
# Create icon
convert -scale 128 pixmaps/dcemu.gif %{name}.png
# Build desktop icon
cat >%{name}.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=LxDream
GenericName=Sega Dreamcast 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/128x128/apps
install -pm0644 %{name}.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
install -pm0644 %{SOURCE1} README.dribble
#Find locales
%find_lang %{name}
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 -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%{_datadir}/applications/dribble-%{name}.desktop
%config(noreplace) %{_sysconfdir}/%{name}rc
%doc RELEASE_NOTES STATUS CREDITS COPYING ChangeLog README.dribble
%exclude %{_datadir}/pixmaps/%{name}/dcemu.gif
%changelog
* Wed Mar 05 2008 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.3-3
- Exclusivearch x86/x86_64 for the moment. Others seem broken.
* Mon Mar 03 2008 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.3-2
- Minor spec cleanups
* Sun Feb 03 2008 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.3-1
- Upgrade to 0.8.3
* Wed Jan 09 2008 Ian Chapman <packages[AT]amiga-hardware.com> 0.8.2-1
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/lxdream/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 12:02:38 -0000 1.1
+++ .cvsignore 4 Sep 2008 12:32:04 -0000 1.2
@@ -0,0 +1 @@
+lxdream-0.8.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/lxdream/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 12:02:38 -0000 1.1
+++ sources 4 Sep 2008 12:32:04 -0000 1.2
@@ -0,0 +1 @@
+c5040369be690d00568656243181693f lxdream-0.8.3.tar.gz