From 4c858a88421602b9a55bae081244210caada9127d3e034eaf983d6aacee4a761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 8 Mar 2016 17:48:54 +0000 Subject: [PATCH] Accepting request 368574 from home:bmwiedemann:branches:devel:languages:perl drop build time from png file to fix build-compare OBS-URL: https://build.opensuse.org/request/show/368574 OBS-URL: https://build.opensuse.org/package/show/science/imagej?expand=0&rev=10 --- imagej.changes | 5 +++++ imagej.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/imagej.changes b/imagej.changes index aa8e029..a9c3d65 100644 --- a/imagej.changes +++ b/imagej.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 8 17:11:26 UTC 2016 - bwiedemann@suse.com + +- drop build time from png file to fix build-compare + ------------------------------------------------------------------- Tue Apr 09 08:16:45 UTC 2013 - lumnis@opensuse.org - Update to version 1.47n diff --git a/imagej.spec b/imagej.spec index f5dde36..85fc717 100644 --- a/imagej.spec +++ b/imagej.spec @@ -1,7 +1,7 @@ # # spec file for package imagej # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,22 +13,24 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + %define SrcVersion 147n Name: imagej Version: 1.47n Release: 0 -License: SUSE-Public-Domain Summary: Public domain Java image processing program -Url: http://rsbweb.nih.gov/ij/ +License: SUSE-Public-Domain Group: Productivity/Graphics/Convertors +Url: http://rsbweb.nih.gov/ij/ Source: http://rsbweb.nih.gov/ij/download/src/ij%{SrcVersion}-src.zip Source1: %{name}.in Source2: %{name}.desktop +BuildRequires: ImageMagick BuildRequires: ant BuildRequires: java-devel -BuildRequires: ImageMagick BuildRequires: unzip BuildRequires: update-desktop-files Requires: java >= 1.6.0 @@ -71,7 +73,7 @@ install -d -m 755 %{buildroot}%{_bindir} install -m 755 %{name} %{buildroot}%{_bindir}/ # Icon -convert build/microscope.gif build/%{name}.png +convert -strip build/microscope.gif build/%{name}.png install -Dm 644 build/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png # Desktop menu entry