summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-01-03 20:48:26 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-01-03 20:48:26 +0100
commitcc85d4419e36c52c52843b0bfe11583ef8209ab2 (patch)
tree7287038fcd1f5e0bb6ebd1c14d423d6ef6cda9f8
parent0eb83b77569071efdf50ff4b3d18b4868e96d036 (diff)
Copy appdata file from usr/share/appdata to usr/share/metainfo
-rw-r--r--debian/changelog2
-rw-r--r--debian/copyright1
-rw-r--r--debian/dirs1
-rwxr-xr-xdebian/rules7
4 files changed, 9 insertions, 2 deletions
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é <anarcat@debian.org> 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é <anarcat@debian.org> 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 <damonlynch@gmail.com>
2009-2014 Julien Valroff <julien@debian.org>
+ 2017 Antoine Beaupré <anarcat@debian.org>
2014-2018 Jörg Frings-Fürst <debian@jff.email>
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