rpms/hatari/FC-5 hatari.spec, 1.1, 1.2 hatari-0.90-nobinstrip.patch, 1.1, NONE

Andrea Musuruane (musuruan) fedora-extras-commits at redhat.com
Sat Mar 17 18:57:07 UTC 2007


Author: musuruan

Update of /cvs/extras/rpms/hatari/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4249/FC-5

Modified Files:
	hatari.spec 
Removed Files:
	hatari-0.90-nobinstrip.patch 
Log Message:
auto-import hatari-0.90-6 on branch FC-5 from hatari-0.90-6.src.rpm


Index: hatari.spec
===================================================================
RCS file: /cvs/extras/rpms/hatari/FC-5/hatari.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hatari.spec	24 Oct 2006 16:27:48 -0000	1.1
+++ hatari.spec	17 Mar 2007 18:56:35 -0000	1.2
@@ -1,17 +1,19 @@
 Summary: An Atari ST emulator suitable for playing games
 Name: hatari
 Version: 0.90
-Release: 5%{?dist}
+Release: 6%{?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
+BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: zlib-devel
+BuildRequires: 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
@@ -20,9 +22,13 @@
 Unlike other ST emulators which concentrate on desktop compatibility,
 it is suitable for playing games.
 
+
 %prep
 %setup -q
-%patch -p1
+
+# fix Makefile not to strip binaries during make install
+sed -i 's/@INSTALL_PROGRAM@ -s/@INSTALL_PROGRAM@/' Makefile.cnf.in
+
 
 %build
 %configure --datadir=%{_datadir}/hatari
@@ -58,10 +64,11 @@
 Icon=%{name}.png
 Terminal=false
 Type=Application
-Categories=Application;Emulators;
+Categories=Game;Emulator;
 Version=%{version}
 EOF
 
+
 %install
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot} 
@@ -72,26 +79,29 @@
 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
@@ -102,7 +112,14 @@
 %doc gpl.txt readme.txt doc/{*.txt,*.html,images}
 %doc doc/README.tos
 
+
 %changelog
+* Sat Mar 17 2007 Andrea Musuruane <musuruan at gmail.com> 0.90-6%{?dist}
+- dropped --add-category X-Fedora from desktop-file-install
+- changed .desktop category to Game;Emulator;
+- now using sed to fix makefile not to strip binaries during make install
+- cosmetic changes to BR section
+
 * 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


--- hatari-0.90-nobinstrip.patch DELETED ---




More information about the scm-commits mailing list