Summary: GFCE UltraX Nintendo Emulator frontend Name: gfceux Version: 2.0.0 Release: 1%{?_dist_release} License: GPLv2+ Group: Applications/Emulators URL: http://dietschnitzel.com/gfceu/ Source: http://dietschnitzel.com/gfceu/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: desktop-file-utils Requires: pygtk2-libglade # fceux package provided by self-build-fceux #Requires: fceux Requires: self-build-fceux Requires: hicolor-icon-theme %description GFCE Ultra is an intuitive interface for the popular Nintendo Emulator, FCE Ultra. It is designed for the GNOME desktop, and allows the user to easily play NES ROM images. Gfceu sports a number of features, including: * Network play * Custom input configuration * Fullscreen support * OpenGL support * Sound support * High compatibility, accurate emulation, and all the power of FCE Ultra! GNOME FCE Ultra is developed and maintained by Lukas Sabota. %prep %setup -q # Fix .desktop file Categories %__sed -i 's/GNOME;GTK;Game;/Game;Emulator;/' %{name}.desktop %__sed -i 's/Icon\=%{name}/Icon\=%{name}.png/' %{name}.desktop # # Patch to run fceultra instead of fceu # %__sed -i 's/'\''fceu'\''/'\''fceultra'\''/' %{name} %build %install rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -m 755 %{name} %{buildroot}%{_bindir} install -d %{buildroot}%{_datadir}/%{name} # No gfceux.glade archived!!!, but gfceux.xml archived install -m 644 {%{name}.xml,%{name}.png,%{name}_big.png} %{buildroot}%{_datadir}/%{name} # No gfceux.1 archived!!! # install -d %{buildroot}%{_mandir}/man1 # install -m 644 %{name}.1 %{buildroot}%{_mandir}/man1 # install desktop file and icon mkdir -p %{buildroot}%{_datadir}/applications desktop-file-install --vendor vine \ --dir %{buildroot}%{_datadir}/applications \ %{name}.desktop install -d %{buildroot}%{_datadir}/icons/hicolor/48x48/apps install -p %{name}.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps %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} %{_datadir}/%{name}/* #%{_mandir}/man1/* %{_datadir}/applications/vine-%{name}.desktop %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %doc ChangeLog COPYING TODO INSTALL %changelog * Sun Nov 16 2008 Munehiro Yamamoto 2.0.0-1 - initial build * Sun Nov 16 2008 Munehiro Yamamoto 0.6.0-1 - initial build * Wed Jul 30 2008 Thorsten Leemhuis 0.6.0-2 - Changed license due to new guidelines - Removed %%{?dist} tag from changelog - Updated icon cache scriptlets to be compliant to new guidelines * Thu Mar 01 2007 Andrea Musuruane 0.6.0-1 - Updated to latest 0.6.0. - Added now required alsa-oss to BR - Updated URL and Source tag. - Dropped dribble-menus Requires. - Dropped --add-category X-Fedora from desktop-file-install. - Dropped .desktop file patch. Now using sed. - fceu has been renamed to fceultra to avoid conflicts (Dribble #77). * Mon Oct 23 2006 Andrea Musuruane 0.5.2-2 - Added hicolor-icon-theme to Requires. - Package fceu has been renamed fceultra. Changed the Requires tag accorgingly. * Sat Oct 21 2006 Andrea Musuruane 0.5.2-1 - First release for Dribble based on mde RPM - Updated to 0.5.2 * Mon Aug 28 2006 Torbjorn Turpeinen 0.5-1 - Rebuild for mde