From cc85d4419e36c52c52843b0bfe11583ef8209ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 3 Jan 2018 20:48:26 +0100 Subject: Copy appdata file from usr/share/appdata to usr/share/metainfo --- debian/changelog | 2 ++ debian/copyright | 1 + debian/dirs | 1 + debian/rules | 7 +++++-- 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 debian/dirs diff --git a/debian/changelog b/debian/changelog index e18686e..118f9f4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -37,6 +37,7 @@ rapid-photo-downloader (0.9.7-1.0) UNRELEASED; urgency=medium - debian/copyright * debian/copyright: - Add year 2018 to debian/*. + - Add Antoine Beaupré to debian/* - Update to the new upstream release. * debian/watch: - Bump version to 4. @@ -45,6 +46,7 @@ rapid-photo-downloader (0.9.7-1.0) UNRELEASED; urgency=medium - Remove trailing whitespaces. * New patches/0700-appstream-metadata.patch: - Rewrite package metadata to the latest version. + * Copy appdata file from usr/share/appdata to usr/share/metainfo. -- Antoine Beaupré Sat, 30 Dec 2017 12:20:05 -0500 diff --git a/debian/copyright b/debian/copyright index 7b904df..45f0f2c 100644 --- a/debian/copyright +++ b/debian/copyright @@ -35,6 +35,7 @@ License: GPL-2+ Files: debian/* Copyright: 2009 Damon Lynch 2009-2014 Julien Valroff + 2017 Antoine Beaupré 2014-2018 Jörg Frings-Fürst License: GPL-2+ diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..f798984 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/share/metainfo/ diff --git a/debian/rules b/debian/rules index edc8ca8..123cb55 100755 --- a/debian/rules +++ b/debian/rules @@ -10,8 +10,11 @@ include /usr/share/dpkg/pkg-info.mk override_dh_auto_configure: pod2man --section=1 --release=$(DEB_SOURCE) --center "" doc/rapid-photo-downloader.1.pod > rapid-photo-downloader.1 -#override_dh_auto_install: -# dh_auto_install -- --install-lib=/usr/share/rapid-photo-downloader --install-scripts=/usr/share/rapid-photo-downloader +override_dh_auto_install: + dh_auto_install + mv $(CURDIR)/debian/rapid-photo-downloader/usr/share/appdata/net.damonlynch.rapid-photo-downloader.appdata.xml \ + $(CURDIR)/debian/rapid-photo-downloader/usr/share/metainfo/ + $(RM) -d $(CURDIR)/debian/rapid-photo-downloader/usr/share/appdata/ override_dh_auto_clean: -rm rapid-photo-downloader.1 -- cgit v1.2.3