|
|
9dd7ec7 |
Summary: An Atari ST emulator suitable for playing games
|
|
|
9dd7ec7 |
Name: hatari
|
|
|
d0017f6 |
Version: 1.3.1
|
|
|
5bb7bcd |
Release: 1%{?dist}
|
|
|
40ed006 |
License: GPLv2+
|
|
|
9dd7ec7 |
Group: Applications/Emulators
|
|
|
dfa9364 |
URL: http://hatari.berlios.de/
|
|
|
9dd7ec7 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
9d4be5b |
Source0: http://download.berlios.de/%{name}/%{name}-%{version}.tar.bz2
|
|
|
5bb7bcd |
Source1: hatari.desktop
|
|
|
5bb7bcd |
Source2: hatari-README.tos
|
|
|
7db16e8 |
BuildRequires: SDL-devel >= 1.2.0
|
|
|
7db16e8 |
BuildRequires: zlib-devel
|
|
|
5bb7bcd |
BuildRequires: libicns-utils
|
|
|
7db16e8 |
BuildRequires: desktop-file-utils
|
|
|
9dd7ec7 |
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 |
|
|
|
9dd7ec7 |
%prep
|
|
|
9dd7ec7 |
%setup -q
|
|
|
1216537 |
|
|
|
5bb7bcd |
cp -p %{SOURCE2} README.tos
|
|
|
7db16e8 |
|
|
|
1216537 |
# Fix Makefile not to strip binaries during make install
|
|
|
7db16e8 |
sed -i 's/@INSTALL_PROGRAM@ -s/@INSTALL_PROGRAM@/' Makefile.cnf.in
|
|
|
7db16e8 |
|
|
|
5bb7bcd |
# Do not install python UI
|
|
|
5bb7bcd |
sed -i 's|$(MAKE) -C python-ui/ install||' Makefile
|
|
|
5bb7bcd |
|
|
|
7626dcc |
|
|
|
9dd7ec7 |
%build
|
|
|
9dd7ec7 |
%configure --datadir=%{_datadir}/hatari
|
|
|
1216537 |
# It does not compile with smp_mflags
|
|
|
1216537 |
make
|
|
|
9dd7ec7 |
|
|
|
50f67cf |
|
|
|
9dd7ec7 |
%install
|
|
|
9dd7ec7 |
rm -rf %{buildroot}
|
|
|
9dd7ec7 |
make install DESTDIR=%{buildroot}
|
|
|
1216537 |
|
|
|
4bdbf5a |
# Install French man page
|
|
|
1216537 |
install -d -m 755 %{buildroot}%{_mandir}/fr/man1
|
|
|
5bb7bcd |
install -p -m 644 doc/fr/hatari.1 %{buildroot}%{_mandir}/fr/man1
|
|
|
9dd7ec7 |
|
|
|
1216537 |
# Install desktop file
|
|
|
5bb7bcd |
install -d -m 755 %{buildroot}%{_datadir}/applications
|
|
|
9dd7ec7 |
desktop-file-install --vendor fedora \
|
|
|
9dd7ec7 |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
5bb7bcd |
%{SOURCE1}
|
|
|
5bb7bcd |
|
|
|
5bb7bcd |
# Extract Mac OS X icons
|
|
|
5bb7bcd |
icns2png -x src/gui-osx/Hatari.icns
|
|
|
1216537 |
|
|
|
5bb7bcd |
# Install icons
|
|
|
5bb7bcd |
for i in 16 32 48 128; do
|
|
|
5bb7bcd |
install -d -m 755 %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
|
|
|
5bb7bcd |
install -m 644 Hatari_${i}x${i}x32.png \
|
|
|
5bb7bcd |
%{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/hatari.png
|
|
|
5bb7bcd |
done
|
|
|
9dd7ec7 |
|
|
|
4bdbf5a |
# Remove installed doc files
|
|
|
4bdbf5a |
rm -rf %{buildroot}%{_docdir}/%{name}
|
|
|
4bdbf5a |
|
|
|
7db16e8 |
|
|
|
9dd7ec7 |
%clean
|
|
|
9dd7ec7 |
rm -rf %{buildroot}
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
9dd7ec7 |
%post
|
|
|
5bb7bcd |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
9dd7ec7 |
%postun
|
|
|
5bb7bcd |
if [ $1 -eq 0 ] ; then
|
|
|
5bb7bcd |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
5bb7bcd |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
7626dcc |
fi
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
5bb7bcd |
%posttrans
|
|
|
5bb7bcd |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
5bb7bcd |
|
|
|
5bb7bcd |
|
|
|
9dd7ec7 |
%files
|
|
|
9dd7ec7 |
%defattr(-,root,root)
|
|
|
9dd7ec7 |
%{_bindir}/hatari
|
|
|
dfa9364 |
%{_bindir}/zip2st
|
|
|
1216537 |
%{_bindir}/hmsa
|
|
|
9dd7ec7 |
%{_datadir}/hatari
|
|
|
9dd7ec7 |
%{_mandir}/man1/hatari.1*
|
|
|
1216537 |
%{_mandir}/fr/man1/hatari.1*
|
|
|
9dd7ec7 |
%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
5bb7bcd |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
9dd7ec7 |
%doc gpl.txt readme.txt doc/{*.txt,*.html,images}
|
|
|
1216537 |
%doc tools/hmsa/readme-hmsa.txt
|
|
|
1216537 |
%doc README.tos
|
|
|
9dd7ec7 |
|
|
|
7db16e8 |
|
|
|
9dd7ec7 |
%changelog
|
|
|
d0017f6 |
* Sat Sep 12 2009 Andrea Musuruane <musuruan@gmail.com> 1.3.1-1
|
|
|
d0017f6 |
- updated to upstream 1.3.1
|
|
|
d0017f6 |
|
|
|
5bb7bcd |
* Sat Aug 22 2009 Andrea Musuruane <musuruan@gmail.com> 1.3.0-1
|
|
|
5bb7bcd |
- updated to upstream 1.3.0
|
|
|
5bb7bcd |
- disabled new upstream python UI
|
|
|
5bb7bcd |
- updated icon cache snippets
|
|
|
5bb7bcd |
- used upstream Mac OS X icons
|
|
|
5bb7bcd |
- preserved french man page timestamp
|
|
|
5bb7bcd |
|
|
|
9d4be5b |
* Mon Aug 10 2009 Andrea Musuruane <musuruan@gmail.com> 1.2.0-4
|
|
|
9d4be5b |
- updated Source0 URL
|
|
|
9d4be5b |
|
|
|
9d4be5b |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
|
|
9d4be5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
9d4be5b |
|
|
|
9d4be5b |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
9d4be5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
9d4be5b |
|
|
|
dfa9364 |
* Sat Jan 24 2009 Andrea Musuruane <musuruan@gmail.com> 1.2.0-1
|
|
|
dfa9364 |
- updated to upstream 1.2.0
|
|
|
dfa9364 |
- dropped no longer needed hmsa tool patch
|
|
|
dfa9364 |
- updated upstream URL
|
|
|
dfa9364 |
- updated Source0 URL
|
|
|
dfa9364 |
|
|
|
50f67cf |
* Sat Nov 29 2008 Andrea Musuruane <musuruan@gmail.com> 1.1.0-1
|
|
|
50f67cf |
- updated to upstream 1.1.0
|
|
|
50f67cf |
|
|
|
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 |
|