From 7626dccb3b4cd15af7fc317577e182cf9fb43ca9 Mon Sep 17 00:00:00 2001 From: musuruan Date: Oct 06 2007 14:32:34 +0000 Subject: - Fixed doc/authors.txt file encoding - Updated icon cache scriptlets to be compliant to new guidelines --- diff --git a/hatari.spec b/hatari.spec index 0d5f763..3174080 100644 --- a/hatari.spec +++ b/hatari.spec @@ -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 @@ sed -i 's/@INSTALL_PROGRAM@ -s/@INSTALL_PROGRAM@/' Makefile.cnf.in 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 @@ rm -rf %{buildroot} %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 @@ touch --no-create %{_datadir}/icons/hicolor %changelog +* Sat Oct 06 2007 Andrea Musuruane 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 - 0.95-3 - Rebuild for selinux ppc32 issue.