rpms/hatari/FC-6 hatari.spec,1.4,1.5

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


Author: musuruan

Update of /cvs/pkgs/rpms/hatari/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22219/FC-6

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/FC-6/hatari.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- hatari.spec	25 Aug 2007 12:57:41 -0000	1.4
+++ hatari.spec	6 Oct 2007 14:33:45 -0000	1.5
@@ -1,7 +1,7 @@
 Summary: An Atari ST emulator suitable for playing games
 Name: hatari
 Version: 0.95
-Release: 2%{?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,13 @@
 
 
 %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.
+
 * Mon Aug 20 2007 Andrea Musuruane <musuruan at gmail.com> 0.95-2
 - changed license due to new guidelines 
 - removed %%{?dist} tag from changelog




More information about the fedora-extras-commits mailing list