commit 645414a5679ead7ff911834990c1bf6454b78324
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Sat Sep 9 18:19:39 2017 +0200
First import
.gitignore | 1 +
fs-uae.spec | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 117 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d4a22d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fs-uae-2.8.3.tar.gz
diff --git a/fs-uae.spec b/fs-uae.spec
new file mode 100644
index 0000000..44d9bd6
--- /dev/null
+++ b/fs-uae.spec
@@ -0,0 +1,115 @@
+Name: fs-uae
+Version: 2.8.3
+Release: 1%{?dist}
+Summary: Amiga emulator with on-screen GUI and online play support
+
+License: GPLv2+
+URL:
http://fs-uae.net/
+Source0:
http://fs-uae.net/fs-uae/stable/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: automake
+BuildRequires: libpng-devel
+BuildRequires: glew-devel
+BuildRequires: glib2-devel
+BuildRequires: openal-soft-devel
+BuildRequires: SDL2-devel
+BuildRequires: libXi-devel
+BuildRequires: libmpeg2-devel
+BuildRequires: zlib-devel
+BuildRequires: freetype-devel
+BuildRequires: zip
+BuildRequires: gettext
+BuildRequires: desktop-file-utils
+Requires: hicolor-icon-theme
+
+
+%description
+FS-UAE is an Amiga emulator for Windows, Linux and Mac OS X
+based on UAE/WinUAE, with a focus on emulating games.
+
+Features include emulation of Amiga 500, 1200, 4000, CD32
+and CDTV, perfectly smooth scrolling on 50Hz displays, support
+for floppy images in ADF and IPF formats, CD-ROM images in ISO
+or BIN/CUE format, mounting folders on your computer as Amiga
+hard drives, support for Picasso 96 drivers for high-color and
+high-resolution Workbench displays, and more.
+
+A unique feature is support for cross-platform online play. You
+can now play Amiga games against (or with) friends over the
+Internet.
+
+The emulator uses the latest Amiga emulation code from the
+WinUAE project and requires a moderately fast computer with
+accelerated graphics (OpenGL) to work. A game pad or joystick is
+recommended, but not required (FS-UAE can emulate a joystick
+using the cursor keys and right ctrl/alt keys).
+
+
+%prep
+%setup -q
+
+# Do not use bundled libmpeg2
+rm -rf libmpeg2
+
+# Fix desktop file
+sed -i '/^MimeType=*/s/$/;/' \
+ share/applications/%{name}.desktop
+
+# Fix spurious executable permissions
+chmod -x src/specialmonitors.cpp
+
+
+%build
+%configure
+%make_build
+
+
+%install
+%make_install
+
+# Validate desktop file
+desktop-file-validate \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%find_lang %{name}
+
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%postun
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f %{name}.lang
+%{_bindir}/%{name}
+%{_bindir}/%{name}-device-helper
+%{_datadir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/mime/packages/%{name}.xml
+%doc %{_pkgdocdir}
+%exclude %{_pkgdocdir}/COPYING
+%license COPYING
+
+
+%changelog
+* Sat Sep 09 2017 Andrea Musuruane <musuruan(a)gmail.com> - 2.8.3-1
+- Updated to new upstream version
+- Improved macro usage
+- Dropped mimeinfo scriptlet
+
+* Wed May 18 2016 Andrea Musuruane <musuruan(a)gmail.com> - 2.6.2-2
+- Fix FTBFS with GCC 6
+
+* Sun Apr 03 2016 Andrea Musuruane <musuruan(a)gmail.com> - 2.6.2-1
+- First release
+
diff --git a/sources b/sources
index e69de29..323ca6b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bb9096904619db0202370b1cc4dd1b55 fs-uae-2.8.3.tar.gz