|
|
9dd7ec7 |
Summary: An Atari ST emulator suitable for playing games
|
|
|
9dd7ec7 |
Name: hatari
|
|
|
b5553f6 |
Version: 1.6.2
|
|
|
95b69bb |
Release: 1%{?dist}
|
|
|
40ed006 |
License: GPLv2+
|
|
|
9dd7ec7 |
Group: Applications/Emulators
|
|
|
95b69bb |
URL: http://hatari.tuxfamily.org/
|
|
|
9dd7ec7 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
95b69bb |
Source0: http://download.tuxfamily.org/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
|
f980a91 |
Source1: hatari.desktop
|
|
|
71540fa |
BuildRequires: cmake
|
|
|
7db16e8 |
BuildRequires: SDL-devel >= 1.2.0
|
|
|
7db16e8 |
BuildRequires: zlib-devel
|
|
|
71540fa |
BuildRequires: libpng-devel
|
|
|
71540fa |
BuildRequires: readline-devel
|
|
|
71540fa |
BuildRequires: portaudio-devel
|
|
|
71540fa |
BuildRequires: python2-devel
|
|
|
b4642ed |
BuildRequires: libicns-utils
|
|
|
7db16e8 |
BuildRequires: desktop-file-utils
|
|
|
9dd7ec7 |
Requires: hicolor-icon-theme
|
|
|
71540fa |
# Required by zip2st and atari-hd-image
|
|
|
71540fa |
Requires: unzip
|
|
|
71540fa |
Requires: mtools
|
|
|
71540fa |
Requires: dosfstools
|
|
|
71540fa |
|
|
|
71540fa |
|
|
|
71540fa |
%package ui
|
|
|
71540fa |
Summary: External user interface for Hatari
|
|
|
71540fa |
Group: Applications/Emulators
|
|
|
71540fa |
Requires: %{name} = %{version}-%{release}
|
|
|
71540fa |
Requires: python2
|
|
|
71540fa |
Requires: pygtk2
|
|
|
71540fa |
Requires: hicolor-icon-theme
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
9dd7ec7 |
%description
|
|
|
1216537 |
Hatari is an emulator for the Atari ST, STE, TT and Falcon computers.
|
|
|
1216537 |
More precisely, it is an adaption of the WinSTon source code to
|
|
|
1216537 |
Linux, using the UAE CPU core instead of the original, non-portable
|
|
|
1216537 |
assembler CPU core.
|
|
|
9dd7ec7 |
|
|
|
1216537 |
The Atari ST was a 16/32 bit computer system which was first released
|
|
|
1216537 |
by Atari in 1985. Using the Motorola 68000 CPU, it was a very popular
|
|
|
1216537 |
computer having quite a lot of CPU power at that time.
|
|
|
1216537 |
|
|
|
1216537 |
Unlike many other Atari ST emulators which try to give you a good
|
|
|
1216537 |
environment for running GEM applications, Hatari tries to emulate the
|
|
|
1216537 |
hardware of a ST as close as possible so that it is able to run most
|
|
|
1216537 |
of the old ST games and demos.
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
71540fa |
%description ui
|
|
|
1216537 |
|
|
|
71540fa |
Hatari UI is an out-of-process user interface for the Hatari emulator and its
|
|
|
71540fa |
built-in debugger which can (optionally) embed the Hatari emulator window.
|
|
|
7db16e8 |
|
|
|
7db16e8 |
|
|
|
71540fa |
%prep
|
|
|
71540fa |
%setup -q
|
|
|
44e342c |
|
|
|
71540fa |
# Fix hataiui to get doc files
|
|
|
71540fa |
sed -i 's/"hatari" + sep/"%{name}-%{version}" + sep/' python-ui/uihelpers.py
|
|
|
b4642ed |
|
|
|
7626dcc |
|
|
|
9dd7ec7 |
%build
|
|
|
71540fa |
%cmake \
|
|
|
f980a91 |
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|
|
|
71540fa |
-DCMAKE_BUILD_TYPE:STRING=None \
|
|
|
71540fa |
-DDOCDIR:PATH=%{_docdir}/%{name}-%{version} \
|
|
|
71540fa |
-DBUILD_SHARED_LIBS:BOOL=OFF .
|
|
|
1216537 |
# It does not compile with smp_mflags
|
|
|
f980a91 |
make
|
|
|
9dd7ec7 |
|
|
|
20734f1 |
|
|
|
9dd7ec7 |
%install
|
|
|
9dd7ec7 |
rm -rf %{buildroot}
|
|
|
9dd7ec7 |
make install DESTDIR=%{buildroot}
|
|
|
1216537 |
|
|
|
42e8009 |
# Fix file permissions
|
|
|
42e8009 |
chmod 644 %{buildroot}%{_datadir}/%{name}/hatariui/conftypes.py
|
|
|
42e8009 |
|
|
|
4bdbf5a |
# Install French man page
|
|
|
1216537 |
install -d -m 755 %{buildroot}%{_mandir}/fr/man1
|
|
|
b4642ed |
install -p -m 644 doc/fr/hatari.1 %{buildroot}%{_mandir}/fr/man1
|
|
|
9dd7ec7 |
|
|
|
1216537 |
# Install desktop file
|
|
|
b4642ed |
install -d -m 755 %{buildroot}%{_datadir}/applications
|
|
|
9dd7ec7 |
desktop-file-install --vendor fedora \
|
|
|
9dd7ec7 |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
f980a91 |
%{SOURCE1}
|
|
|
b4642ed |
|
|
|
b4642ed |
# Extract Mac OS X icons
|
|
|
b4642ed |
icns2png -x src/gui-osx/Hatari.icns
|
|
|
1216537 |
|
|
|
b4642ed |
# Install icons
|
|
|
b4642ed |
for i in 16 32 48 128; do
|
|
|
b4642ed |
install -d -m 755 %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
|
|
|
b4642ed |
install -m 644 Hatari_${i}x${i}x32.png \
|
|
|
b4642ed |
%{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/hatari.png
|
|
|
b4642ed |
done
|
|
|
9dd7ec7 |
|
|
|
71540fa |
# Install hatari-ui desktop file
|
|
|
71540fa |
desktop-file-install \
|
|
|
71540fa |
--delete-original \
|
|
|
71540fa |
--remove-key Encoding \
|
|
|
71540fa |
--add-category Game \
|
|
|
71540fa |
--add-category Emulator \
|
|
|
71540fa |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
71540fa |
%{buildroot}%{_datadir}/applications/hatariui.desktop
|
|
|
71540fa |
|
|
|
71540fa |
# Install license among docs
|
|
|
71540fa |
install -p -m 644 gpl.txt %{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
4bdbf5a |
|
|
|
7db16e8 |
|
|
|
9dd7ec7 |
%clean
|
|
|
9dd7ec7 |
rm -rf %{buildroot}
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
9dd7ec7 |
%post
|
|
|
b4642ed |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
71540fa |
%post ui
|
|
|
71540fa |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
71540fa |
|
|
|
71540fa |
|
|
|
9dd7ec7 |
%postun
|
|
|
b4642ed |
if [ $1 -eq 0 ] ; then
|
|
|
b4642ed |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
b4642ed |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
7626dcc |
fi
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
71540fa |
%postun ui
|
|
|
71540fa |
if [ $1 -eq 0 ] ; then
|
|
|
71540fa |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
71540fa |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
71540fa |
fi
|
|
|
71540fa |
|
|
|
71540fa |
|
|
|
b4642ed |
%posttrans
|
|
|
b4642ed |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
b4642ed |
|
|
|
b4642ed |
|
|
|
71540fa |
%posttrans ui
|
|
|
71540fa |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
71540fa |
|
|
|
71540fa |
|
|
|
9dd7ec7 |
%files
|
|
|
9dd7ec7 |
%defattr(-,root,root)
|
|
|
9dd7ec7 |
%{_bindir}/hatari
|
|
|
50dd495 |
%{_bindir}/zip2st
|
|
|
71540fa |
%{_bindir}/atari-hd-image
|
|
|
1216537 |
%{_bindir}/hmsa
|
|
|
71540fa |
%{_datadir}/%{name}
|
|
|
9dd7ec7 |
%{_mandir}/man1/hatari.1*
|
|
|
1216537 |
%{_mandir}/fr/man1/hatari.1*
|
|
|
71540fa |
%{_mandir}/man1/atari-hd-image.1*
|
|
|
71540fa |
%{_mandir}/man1/hmsa.1*
|
|
|
71540fa |
%{_mandir}/man1/zip2st.1*
|
|
|
9dd7ec7 |
%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
b4642ed |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
71540fa |
%doc %{_docdir}/%{name}-%{version}
|
|
|
71540fa |
%exclude %{_datadir}/%{name}/hatariui
|
|
|
f980a91 |
%exclude %{_datadir}/%{name}/hconsole
|
|
|
71540fa |
|
|
|
71540fa |
%files ui
|
|
|
71540fa |
%defattr(-,root,root)
|
|
|
71540fa |
%{_bindir}/hatariui
|
|
|
71540fa |
%{_datadir}/%{name}/hatariui
|
|
|
f980a91 |
%{_datadir}/%{name}/hconsole
|
|
|
71540fa |
%{_mandir}/man1/hatariui.1*
|
|
|
f980a91 |
%{_mandir}/man1/hconsole.1*
|
|
|
71540fa |
%{_datadir}/applications/hatariui.desktop
|
|
|
71540fa |
%{_datadir}/icons/hicolor/32x32/apps/hatari-icon.png
|
|
|
71540fa |
%doc python-ui/{README,release-notes.txt,TODO}
|
|
|
71540fa |
%exclude %{_datadir}/%{name}/hatariui/README
|
|
|
71540fa |
%exclude %{_datadir}/%{name}/hatariui/release-notes.txt
|
|
|
71540fa |
%exclude %{_datadir}/%{name}/hatariui/TODO
|
|
|
f980a91 |
%exclude %{_datadir}/%{name}/hconsole/release-notes.txt
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
9dd7ec7 |
%changelog
|
|
|
b5553f6 |
* Thu Jul 05 2012 Andrea Musuruane <musuruan@gmail.com> 1.6.2-1
|
|
|
b5553f6 |
- updated to upstream 1.6.2
|
|
|
b5553f6 |
|
|
|
42e8009 |
* Sat Jan 14 2012 Andrea Musuruane <musuruan@gmail.com> 1.6.1-1
|
|
|
42e8009 |
- updated to upstream 1.6.1
|
|
|
42e8009 |
|
|
|
95b69bb |
* Fri Jan 06 2012 Andrea Musuruane <musuruan@gmail.com> 1.6.0-1
|
|
|
95b69bb |
- updated upstream URL
|
|
|
95b69bb |
- updated upstream Source0
|
|
|
95b69bb |
|
|
|
2510f7c |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.5.0-2
|
|
|
2510f7c |
- Rebuild for new libpng
|
|
|
2510f7c |
|
|
|
f980a91 |
* Sun Sep 25 2011 Andrea Musuruane <musuruan@gmail.com> 1.5.0-1
|
|
|
f980a91 |
- updated to upstream 1.5.0
|
|
|
f980a91 |
- added patches to include hatari window at hatariui startup (SF #18340)
|
|
|
f980a91 |
- dropped Debian man pages now that hatari has its own
|
|
|
f980a91 |
|
|
|
5521393 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
|
|
|
5521393 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5521393 |
|
|
|
71540fa |
* Sun Nov 14 2010 Andrea Musuruane <musuruan@gmail.com> 1.4.0-4
|
|
|
71540fa |
- added license among docs
|
|
|
71540fa |
|
|
|
71540fa |
* Sun Nov 14 2010 Andrea Musuruane <musuruan@gmail.com> 1.4.0-3
|
|
|
71540fa |
- ui subpackage now requires the fully versioned base package
|
|
|
71540fa |
- more consistent macro usage
|
|
|
71540fa |
|
|
|
71540fa |
* Fri Nov 12 2010 Andrea Musuruane <musuruan@gmail.com> 1.4.0-2
|
|
|
71540fa |
- fixed Requires
|
|
|
71540fa |
- added manpages from Debian
|
|
|
71540fa |
- removed script extensions (.sh, .py) from scripts installed into /usr/bin
|
|
|
71540fa |
- macro usage is more consistent now
|
|
|
71540fa |
|
|
|
71540fa |
* Sun Jul 18 2010 Andrea Musuruane <musuruan@gmail.com> 1.4.0-1
|
|
|
71540fa |
- updated to upstream 1.4.0
|
|
|
71540fa |
- dropped README.tos now that emutos.txt is supplied
|
|
|
71540fa |
|
|
|
44e342c |
* Sat Mar 06 2010 Andrea Musuruane <musuruan@gmail.com> 1.3.1-2
|
|
|
44e342c |
- link against libm (BZ #564801)
|
|
|
44e342c |
|
|
|
1e69c0b |
* Sat Sep 12 2009 Andrea Musuruane <musuruan@gmail.com> 1.3.1-1
|
|
|
1e69c0b |
- updated to upstream 1.3.1
|
|
|
1e69c0b |
|
|
|
b4642ed |
* Sat Aug 22 2009 Andrea Musuruane <musuruan@gmail.com> 1.3.0-1
|
|
|
b4642ed |
- updated to upstream 1.3.0
|
|
|
b4642ed |
- disabled new upstream python UI
|
|
|
b4642ed |
- updated icon cache snippets
|
|
|
b4642ed |
- used upstream Mac OS X icons
|
|
|
b4642ed |
- preserved french man page timestamp
|
|
|
b4642ed |
|
|
|
f572a5f |
* Mon Aug 10 2009 Andrea Musuruane <musuruan@gmail.com> 1.2.0-4
|
|
|
f572a5f |
- updated Source0 URL
|
|
|
f572a5f |
|
|
|
0f0ab83 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
|
|
0f0ab83 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
0f0ab83 |
|
|
|
f2c8f75 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
f2c8f75 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
f2c8f75 |
|
|
|
50dd495 |
* Sat Jan 24 2009 Andrea Musuruane <musuruan@gmail.com> 1.2.0-1
|
|
|
50dd495 |
- updated to upstream 1.2.0
|
|
|
50dd495 |
- dropped no longer needed hmsa tool patch
|
|
|
50dd495 |
- updated upstream URL
|
|
|
50dd495 |
- updated Source0 URL
|
|
|
50dd495 |
|
|
|
20734f1 |
* Sat Nov 29 2008 Andrea Musuruane <musuruan@gmail.com> 1.1.0-1
|
|
|
20734f1 |
- updated to upstream 1.1.0
|
|
|
20734f1 |
|
|
|
b9a6baa |
* Sat Apr 05 2008 Andrea Musuruane <musuruan@gmail.com> 1.0.1-1
|
|
|
b9a6baa |
- updated to upstream 1.0.1
|
|
|
b9a6baa |
|
|
|
4bdbf5a |
* Mon Mar 17 2008 Andrea Musuruane <musuruan@gmail.com> 1.0.0-1
|
|
|
4bdbf5a |
- updated to upstream 1.0.0
|
|
|
4bdbf5a |
- removed icon extension from desktop file to match Icon Theme Specification
|
|
|
4bdbf5a |
|
|
|
4aa1645 |
* Sun Feb 10 2008 Andrea Musuruane <musuruan@gmail.com> 0.95-5
|
|
|
4bdbf5a |
- Rebuilt against gcc 4.3
|
|
|
4aa1645 |
|
|
|
7626dcc |
* Sat Oct 06 2007 Andrea Musuruane <musuruan@gmail.com> 0.95-4
|
|
|
7626dcc |
- Fixed doc/authors.txt file encoding
|
|
|
7626dcc |
- Updated icon cache scriptlets to be compliant to new guidelines
|
|
|
7626dcc |
|
|
|
98cf85e |
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.95-3
|
|
|
98cf85e |
- Rebuild for selinux ppc32 issue.
|
|
|
98cf85e |
|
|
|
40ed006 |
* Mon Aug 20 2007 Andrea Musuruane <musuruan@gmail.com> 0.95-2
|
|
|
40ed006 |
- changed license due to new guidelines
|
|
|
40ed006 |
- removed %%{?dist} tag from changelog
|
|
|
40ed006 |
|
|
|
40ed006 |
* Sat Jun 23 2007 Andrea Musuruane <musuruan@gmail.com> 0.95-1
|
|
|
1216537 |
- updated to upstream 0.95
|
|
|
1216537 |
- updated description
|
|
|
1216537 |
- README.tos and hatari.desktop are no longer built in the spec file
|
|
|
1216537 |
- added new upstream hmsa tool
|
|
|
1216537 |
- added new upstream french man page
|
|
|
1216537 |
- updated icon cache scriptlets to be compliant to new guidelines
|
|
|
1216537 |
- cosmetic changes
|
|
|
1216537 |
|
|
|
40ed006 |
* Sat Mar 17 2007 Andrea Musuruane <musuruan@gmail.com> 0.90-6
|
|
|
7db16e8 |
- dropped --add-category X-Fedora from desktop-file-install
|
|
|
7db16e8 |
- changed .desktop category to Game;Emulator;
|
|
|
7db16e8 |
- now using sed to fix makefile not to strip binaries during make install
|
|
|
7db16e8 |
- cosmetic changes to BR section
|
|
|
7db16e8 |
|
|
|
40ed006 |
* Mon Oct 23 2006 Andrea Musuruane <musuruan@gmail.com> 0.90-5
|
|
|
9dd7ec7 |
- added a patch not to strip binaries during make install
|
|
|
9dd7ec7 |
- added hicolor-icon-theme to Requires
|
|
|
9dd7ec7 |
|
|
|
40ed006 |
* Sat Oct 21 2006 Andrea Musuruane <musuruan@gmail.com> 0.90-4
|
|
|
9dd7ec7 |
- added README.tos to explain that Hatari is shipped with EmuTOS
|
|
|
9dd7ec7 |
|
|
|
40ed006 |
* Fri Oct 20 2006 Andrea Musuruane <musuruan@gmail.com> 0.90-3
|
|
|
9dd7ec7 |
- new release for FE migration
|
|
|
9dd7ec7 |
|
|
|
40ed006 |
* Sun Oct 08 2006 Andrea Musuruane <musuruan@gmail.com> 0.90-2
|
|
|
9dd7ec7 |
- replaced %%_mandir with %%{_mandir}
|
|
|
9dd7ec7 |
- full URL is now specified in the Source tag
|
|
|
9dd7ec7 |
- added .desktop file and icons
|
|
|
9dd7ec7 |
|
|
|
40ed006 |
* Sat Sep 30 2006 Andrea Musuruane <musuruan@gmail.com> 0.90-1
|
|
|
9dd7ec7 |
- initial package
|
|
|
9dd7ec7 |
|
|
|
9dd7ec7 |
|