[imagej] Ship a larger application icon for the metdata parser
Richard Hughes
rhughes at fedoraproject.org
Mon Jul 14 19:09:30 UTC 2014
commit fc8b5f33a45985bb56fedd354d484b530e141340
Author: Richard Hughes <richard at hughsie.com>
Date: Mon Jul 14 20:09:26 2014 +0100
Ship a larger application icon for the metdata parser
.gitignore | 1 +
imagej.desktop | 2 +-
imagej.spec | 11 ++++++++---
sources | 1 +
4 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 73c08a1..079bb84 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ macros.zip
/ij148e-src.zip
/imagej-1.48-patch0.patch
/imagej-1.48-patch1.patch
+/imagej.png
diff --git a/imagej.desktop b/imagej.desktop
index 9ba5e08..3463b44 100644
--- a/imagej.desktop
+++ b/imagej.desktop
@@ -64,7 +64,7 @@ GenericName[zh_TW]=圖片編輯器
Comment=Image Processing and Analysis in Java
Exec=imagej %f
TryExec=imagej
-Icon=/usr/share/pixmaps/microscope.gif
+Icon=/usr/share/pixmaps/imagej.png
Terminal=false
Type=Application
Categories=Application;Graphics;
diff --git a/imagej.spec b/imagej.spec
index be4d72f..6e7c140 100644
--- a/imagej.spec
+++ b/imagej.spec
@@ -1,6 +1,6 @@
Name: imagej
Version: 1.48
-Release: 2.e%{?dist}
+Release: 3.e%{?dist}
Summary: Image Processing and Analysis in Java
Group: Applications/Engineering
@@ -10,6 +10,8 @@ Source0: http://rsbweb.nih.gov/ij/download/src/ij148e-src.zip
Source1: %{name}.desktop
Source2: http://rsbweb.nih.gov/ij/macros/macros.zip
Source3: http://rsb.info.nih.gov/ij/download/linux/unix-script.txt
+Source4: imagej.png
+
# don't copy .class files
patch0: %{name}-%{version}-patch0.patch
# modify imagej.sh for fedora compatibility
@@ -82,7 +84,7 @@ $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# install icon
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
-cp -p source/build/microscope.gif $RPM_BUILD_ROOT%{_datadir}/pixmaps
+cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/pixmaps
# install data files
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -140,7 +142,7 @@ rm -rf $RPM_BUILD_ROOT
%{_javadir}/*
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
-%{_datadir}/pixmaps/microscope.gif
+%{_datadir}/pixmaps/imagej.png
%{_bindir}/%{name}
%doc source/aREADME.txt source/release-notes.html source/applet.html
@@ -150,6 +152,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Jul 14 2014 Richard Hughes <richard at hughsie.com> - 1.48-3.e
+- Ship a larger application icon so the metdata parser can include the app.
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.48-2.e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 7ea26be..ded4a6c 100644
--- a/sources
+++ b/sources
@@ -3,3 +3,4 @@
8161ec95aa84e9fa3e46e68a00fada4d macros.zip
67e1b9ab8f1a9a2e13d1ebc8c996d012 imagej-1.48-patch0.patch
7774669ff13fb8f270139dc3efe717d8 imagej-1.48-patch1.patch
+7bd89b6a211c26c5abd62791d1fad8b4 imagej.png
More information about the scm-commits
mailing list