From 5f9c91229e06f5d331a37d9c95f87d43d2e53a6a Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Nov 05 2018 08:57:33 +0000 Subject: update to 2.5.1 (#1643659) drop redundant icon cache scriptlets --- diff --git a/.gitignore b/.gitignore index 4af335e..04cae71 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ GabeditSrc230.tar.gz /GabeditSrc247.tar.gz /GabeditSrc248.tar.gz /GabeditSrc250.tar.gz +/GabeditSrc251_021118.tar.gz diff --git a/gabedit.spec b/gabedit.spec index f4a2095..048bd36 100644 --- a/gabedit.spec +++ b/gabedit.spec @@ -1,10 +1,11 @@ -%define tarver 250 +%define tarver 251 +%define snap 021118 Name: gabedit Summary: GUI for computational chemistry -Version: 2.5.0 -Release: 3%{?dist} -Source0: https://downloads.sourceforge.net/sourceforge/gabedit/GabeditSrc%{tarver}.tar.gz +Version: 2.5.1 +Release: 1%{?dist} +Source0: https://sites.google.com/site/allouchear/Home/gabedit/download/GabeditSrc%{tarver}%{?snap:_%{snap}}.tar.gz # fix csh shebang Patch2: %{name}-csh.patch # fix bug #774594 and other crashes @@ -31,7 +32,7 @@ nucleoside. You can also read geometry from a file. Most major molecular file formats are supported. %prep -%setup -q -n GabeditSrc%{tarver} +%setup -q -n GabeditSrc%{tarver}%{?snap:_%{snap}} %patch2 -p1 %patch4 -p1 -b .strlen # remove Win32-specific files @@ -60,18 +61,6 @@ for size in 16 24 32 48 ; do install -pm644 icons/Gabedit$size.png %{buildroot}/%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png done -%post -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - %files %license License %doc ChangeLog utils @@ -80,6 +69,10 @@ fi %{_datadir}/icons/hicolor/*/apps/*.png %changelog +* Sun Nov 04 2018 Dominik Mierzejewski 2.5.1-1 +- update to 2.5.1 (#1643659) +- drop redundant icon cache scriptlets + * Wed Aug 02 2017 Fedora Release Engineering - 2.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index fafc3f1..bd6dd7a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (GabeditSrc250.tar.gz) = c1caf916da81c68fb95f4477e69135ed52738a40427c825be33a4d024f809628fd40bbe153b02a95b01b16d2b3c8b45c8ac470c648003648ff24165af4390943 +SHA512 (GabeditSrc251_021118.tar.gz) = 36f494467b5133666a07161e24da419b7de5d98bfa464691715de7c98f3eb403c402f4d3b76fcab095d22a3a5bbadb0f645015c66200408fd95a3540e7271197