[med-svn] [gnumed-client] 05/09: Install apstream data

Andreas Tille tille at debian.org
Sat Mar 19 15:11:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository gnumed-client.

commit acc21a1a2401426ffa1a3b4e799efb8ba88db07b
Author: Andreas Tille <tille at debian.org>
Date:   Sat Mar 19 15:38:08 2016 +0100

    Install apstream data
---
 debian/changelog |  1 +
 debian/rules     | 10 +++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 22dda0e..734b9b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ gnumed-client (1.6.0+dfsg-1) UNRELEASED; urgency=medium
   * New upstream version
   * Compression can be specified in d/watch
   * gnumed-client-common: Suggests: dmtx-utils | iec16022
+  * Install apstream data
 
  -- Andreas Tille <tille at debian.org>  Sat, 19 Mar 2016 14:44:31 +0100
 
diff --git a/debian/rules b/debian/rules
index b7dda7a..3e85b5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,11 +31,15 @@ override_dh_install:
 	   locdir=debian/$(client)/usr/share/locale/$${country}/LC_MESSAGES ; \
 	   mkdir -p $${locdir} ; \
 	   cp -a $${loc} $${locdir}/$(pkg).mo ; \
-	done ; \
-
+	done
+	
+	# Install apstream data (https://wiki.debian.org/AppStream/)
+	mkdir -p debian/$(client)/usr/share/appdata
+	cp -a client/appdata.xml debian/$(client)/usr/share/appdata/$(client).appdata.xml
+	
 	# Remove programming templates if installed by chance ...
 	find debian -name "*.template" -exec rm -f \{\} \;
-
+	
 	# Remove appendix .py from gm_ctl_client
 	cp -a client/connectors/gm_ctl_client.py debian/$(client)/usr/bin/gm_ctl_client
 	

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gnumed-client.git



More information about the debian-med-commit mailing list