rpms/hatari/devel hatari-0.90-nobinstrip.patch, NONE, 1.1 hatari.png, NONE, 1.1 hatari.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andrea Musuruane (musuruan) fedora-extras-commits at redhat.com
Tue Oct 24 16:28:19 UTC 2006


Author: musuruan

Update of /cvs/extras/rpms/hatari/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2786/devel

Modified Files:
	.cvsignore sources 
Added Files:
	hatari-0.90-nobinstrip.patch hatari.png hatari.spec 
Log Message:
auto-import hatari-0.90-5 on branch devel from hatari-0.90-5.src.rpm

hatari-0.90-nobinstrip.patch:

--- NEW FILE hatari-0.90-nobinstrip.patch ---
Common subdirectories: hatari-0.90.orig/doc and hatari-0.90/doc
Common subdirectories: hatari-0.90.orig/Hatari.xcodeproj and hatari-0.90/Hatari.xcodeproj
diff -u hatari-0.90.orig/Makefile.cnf.in hatari-0.90/Makefile.cnf.in
--- hatari-0.90.orig/Makefile.cnf.in	2006-10-23 12:16:52.000000000 +0200
+++ hatari-0.90/Makefile.cnf.in	2006-10-23 12:17:19.000000000 +0200
@@ -51,5 +51,5 @@
 
 # Program used for "make install"
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
Common subdirectories: hatari-0.90.orig/src and hatari-0.90/src


--- NEW FILE hatari.spec ---
Summary: An Atari ST emulator suitable for playing games
Name: hatari
Version: 0.90
Release: 5%{?dist}
License: GPL
Group: Applications/Emulators
URL: http://hatari.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
Source1: hatari.png
Patch0: hatari-0.90-nobinstrip.patch
BuildRequires: SDL-devel >= 1.2.0, zlib-devel, desktop-file-utils
Requires: hicolor-icon-theme

%description
Hatari is an Atari-ST and STE emulator for Linux. More precisely, it 
is an adaption of the WinSTon source code to Linux, using the UAE CPU
core instead of the original, non-portable assembler CPU core. 

Unlike other ST emulators which concentrate on desktop compatibility,
it is suitable for playing games.

%prep
%setup -q
%patch -p1

%build
%configure --datadir=%{_datadir}/hatari
make

# README.tos
cat >doc/README.tos <<EOF
To run the emulator a TOS ROM image is needed. EmuTOS, a free implementation 
of TOS, is shipped with hatari. 

EmuTOS is a single-user single-tasking operating system for the 32 bit Atari
computers and emulators. It can be used as a replacement for the TOS images
typically needed today for using emulators and it is also running on some
real hardware, like the Atari Mega STE. All the source code is open and
free, licensed under the GNU General Public License (GPL). A copy of the GNU 
GPL can be found in the gpl.txt file.

EmuTOS has its home at sourceforge:
http://sourceforge.net/projects/emutos

Hatari is shipped with tos.img ROM image that is identical to etos256us.img 
from the binary package of version 0.8.1 available at sourceforge:
http://dl.sourceforge.net/sourceforge/emutos/emutos256k-0.8.1.zip
EOF

# Build desktop icon
cat >%{name}.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=Hatari
Comment=Atari ST emulator
Exec=%{name}
Icon=%{name}.png
Terminal=false
Type=Application
Categories=Application;Emulators;
Version=%{version}
EOF

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} 
install -d -m 755 %{buildroot}%{_mandir}/man1
install -m 644 doc/hatari.1 %{buildroot}%{_mandir}/man1

# install desktop file and icon
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor fedora         \
  --dir %{buildroot}%{_datadir}/applications \
  --add-category X-Fedora                    \
  %{name}.desktop
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
cp %{SOURCE1} %{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}/hatari
%{_datadir}/hatari
%{_mandir}/man1/hatari.1*
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%doc gpl.txt readme.txt doc/{*.txt,*.html,images}
%doc doc/README.tos

%changelog
* Mon Oct 23 2006 Andrea Musuruane <musuruan at gmail.com> 0.90-5%{?dist}
- added a patch not to strip binaries during make install
- added hicolor-icon-theme to Requires

* Sat Oct 21 2006 Andrea Musuruane <musuruan at gmail.com> 0.90-4%{?dist}
- added README.tos to explain that Hatari is shipped with EmuTOS

* Fri Oct 20 2006 Andrea Musuruane <musuruan at gmail.com> 0.90-3%{?dist}
- new release for FE migration

* Sun Oct 08 2006 Andrea Musuruane <musuruan at gmail.com> 0.90-2%{?dist}
- replaced %%_mandir with %%{_mandir}
- full URL is now specified in the Source tag
- added .desktop file and icons

* Sat Sep 30 2006 Andrea Musuruane <musuruan at gmail.com> 0.90-1%{?dist}
- initial package




Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/hatari/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Oct 2006 16:26:38 -0000	1.1
+++ .cvsignore	24 Oct 2006 16:27:48 -0000	1.2
@@ -0,0 +1 @@
+hatari-0.90.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/hatari/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Oct 2006 16:26:38 -0000	1.1
+++ sources	24 Oct 2006 16:27:48 -0000	1.2
@@ -0,0 +1 @@
+2e5d1e329ebbf6c75ccab8c4f9a78f11  hatari-0.90.tar.gz




More information about the scm-commits mailing list