SHA256
1
0
forked from pool/imagej
Dominique Leuenberger 2022-12-20 19:20:49 +00:00 committed by Git OBS Bridge
commit 31747da4f2
5 changed files with 26 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed55e70a1e919a46a55d20627a876d869b6126194a179c233ce5240e14925fbf
size 1487993

3
ij153t-src.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b311df5116b039d464e64336de746f7ec8a2911f6c2c874e15f10d9934b548ac
size 1549329

View File

@ -1,11 +1,13 @@
--- source/build.xml 2022-04-08 15:40:02.598001218 +0200
+++ source/build.xml 2022-04-08 15:43:15.611177038 +0200
@@ -6,7 +6,7 @@
Index: source/build.xml
===================================================================
--- source.orig/build.xml
+++ source/build.xml
@@ -14,7 +14,7 @@
<!-- First, ensure the build directory exists. -->
<mkdir dir="build" />
<mkdir dir="${build.dir}" />
<!-- Build everything; add debug="on" to debug -->
- <javac srcdir="./ij" destdir="build" optimize="on" source="1.6" target="1.6" debug="on" includeantruntime="false" encoding="utf-8">
+ <javac srcdir="./ij" destdir="build" optimize="on" debug="on" includeantruntime="false" encoding="utf-8">
- <javac srcdir="./ij" destdir="${build.dir}" optimize="on" source="1.6" target="1.6" debug="on" includeantruntime="false" encoding="utf-8">
+ <javac srcdir="./ij" destdir="${build.dir}" optimize="on" debug="on" includeantruntime="false" encoding="utf-8">
</javac>
</target>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 6 20:53:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.53v:
* too many changes to list here, see https://wsr.imagej.net/notes.html
-------------------------------------------------------------------
Fri Apr 8 13:44:13 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package imagej
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,20 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define SrcVersion 153f
%define SrcVersion 153t
Name: imagej
Version: 1.53f
Version: 1.53t
Release: 0
Summary: A Java image processing program
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
URL: https://rsbweb.nih.gov/ij/
Source: https://rsbweb.nih.gov/ij/download/src/ij%{SrcVersion}-src.zip
Source1: %{name}.in
Source2: %{name}.desktop
Patch0: imagej-nosourcetarget.patch
@ -35,7 +34,6 @@ BuildRequires: java-devel >= 1.8
BuildRequires: unzip
BuildRequires: update-desktop-files
Requires: java >= 1.8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
@ -60,11 +58,11 @@ ImageJ can be extended via Java plugins, and has a built-in editor and
compiler.
%prep
%setup -n source
%setup -q -n source
%patch0 -p1
%build
%ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 build
%{ant} -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 build
%install
install -d -m 755 %{buildroot}%{_datadir}/%{name}
@ -97,7 +95,6 @@ install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/%{name}.desktop
%suse_update_desktop_file %{name}
%files
%defattr(-,root,root)
%doc release-notes.html
%{_bindir}/*
%{_datadir}/%{name}