rpms/hatari/devel hatari.spec,1.5,1.6

Andrea Musuruane (musuruan) fedora-extras-commits at redhat.com
Sat Oct 6 14:33:06 UTC 2007


Author: musuruan

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

Modified Files:
	hatari.spec 
Log Message:
- Fixed doc/authors.txt file encoding
- Updated icon cache scriptlets to be compliant to new guidelines



Index: hatari.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hatari/devel/hatari.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- hatari.spec	29 Aug 2007 05:09:18 -0000	1.5
+++ hatari.spec	6 Oct 2007 14:32:34 -0000	1.6
@@ -1,7 +1,7 @@
 Summary: An Atari ST emulator suitable for playing games
 Name: hatari
 Version: 0.95
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Applications/Emulators
 URL: http://hatari.sourceforge.net/
@@ -46,6 +46,11 @@
 iconv --from=ISO-8859-1 --to=UTF-8 doc/fr/hatari.1 > doc/fr/hatari.1.utf8
 mv doc/fr/hatari.1.utf8 doc/fr/hatari.1
 
+# Fix file encoding
+iconv --from=ISO-8859-1 --to=UTF-8 doc/authors.txt > doc/authors.txt.utf8
+mv doc/authors.txt.utf8 doc/authors.txt
+
+
 %build
 %configure --datadir=%{_datadir}/hatari
 # It does not compile with smp_mflags
@@ -85,12 +90,16 @@
 
 %post
 touch --no-create %{_datadir}/icons/hicolor
-%{_bindir}/gtk-update-icon-cache --quiet %{_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
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 
 %files
@@ -108,6 +117,10 @@
 
 
 %changelog
+* Sat Oct 06 2007 Andrea Musuruane <musuruan at gmail.com> 0.95-4
+- Fixed doc/authors.txt file encoding
+- Updated icon cache scriptlets to be compliant to new guidelines
+
 * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.95-3
 - Rebuild for selinux ppc32 issue.
 




More information about the fedora-extras-commits mailing list