[gpsim/f20] upstream update 0.28.1

Roy Rankin rrankin at fedoraproject.org
Sat Nov 15 22:06:57 UTC 2014


commit 22a621a5d5147d289ff6004388d3aee099f99a0f
Author: Roy Rankin <rrankin at ihug.com.au>
Date:   Sun Nov 16 09:06:51 2014 +1100

    upstream update 0.28.1

 .gitignore |    1 +
 gpsim.spec |   24 ++++++++++++++++++++----
 sources    |    2 +-
 3 files changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 07e84c6..3e28ff6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 gpsim-0.25.0.tar.gz
 /gpsim-0.26.1.tar.gz
 /gpsim-0.27.0.tar.gz
+/gpsim-0.28.1.tar.gz
diff --git a/gpsim.spec b/gpsim.spec
index cb0b034..e9facd5 100644
--- a/gpsim.spec
+++ b/gpsim.spec
@@ -1,6 +1,6 @@
 Name:		gpsim
-Version:	0.27.0
-Release:	1%{?dist}
+Version:	0.28.1
+Release:	0%{?dist}
 Summary:	A simulator for Microchip (TM) PIC (TM) microcontrollers
 Summary(fr):	Un simulateur pour les microcontrôleurs PIC (TM) Microchip (TM)
 
@@ -12,7 +12,7 @@ Source:		http://downloads.sourceforge.net/gpsim/gpsim-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gtk+extra-devel, flex, readline-devel, popt-devel
-BuildRequires:	autoconf gputils
+BuildRequires:	autoconf gputils desktop-file-utils
 
 
 %description
@@ -63,6 +63,16 @@ autoconf
 %{__rm} -f examples/Makefile
 %{__rm} -f examples/modules/Makefile
 %{__rm} -f examples/projects/Makefile
+install -Dm 0644 -p doc/metadata/%{name}.desktop \
+        %{buildroot}%{_datadir}/applications/%{name}.desktop
+install -Dm 0644 -p doc/metadata/%{name}.png \
+        %{buildroot}%{_datadir}/pixmaps/%{name}.png
+install -Dm 0644 -p doc/metadata/%{name}.appdata.xml \
+        %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
+desktop-file-install --vendor=""\
+        --dir=%{buildroot}/%{_datadir}/applications\
+        %{buildroot}%{_datadir}/applications/%{name}.desktop
+
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -79,7 +89,9 @@ autoconf
 %doc examples/
 %{_bindir}/*
 %{_libdir}/*.so.*
-
+%{_datadir}/pixmaps/gpsim.png
+%{_datadir}/applications/gpsim.desktop
+%{_datadir}/appdata/gpsim.appdata.xml
 
 %files devel
 %defattr(-,root,root,-)
@@ -90,6 +102,10 @@ autoconf
 %{_includedir}/*
 
 %changelog
+* Sun Nov 16 2014 Roy Rankin <rrankin at ihug.com.au> - 0.28.1-0
+- Upstream update to 0.28.1
+- Add desktop and appdatta which is now delivered from upstream
+
 * Mon Sep 02 2013 Roy Rankin <rrankin at ihug.com.au> - 0.27.0-1
 - Upstream update to 0.27.0
 
diff --git a/sources b/sources
index 147f62d..409f93b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b3ded17f1c8c6134f2381d6e6925b231  gpsim-0.27.0.tar.gz
+74178b671f45f8f67739a23b0af3e070  gpsim-0.28.1.tar.gz


More information about the scm-commits mailing list