Codebase list readosm / 9747364
Use Files-Excluded in copyright file to repack the upstream tarball. Bas Couwenberg 9 years ago
3 changed file(s) with 7 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
33 * Add upstream metadata.
44 * Add gbp.conf to use pristine-tar by default.
55 * Refresh patches.
6 * Use Files-Excluded in copyright file to repack the upstream tarball.
67
78 -- Bas Couwenberg <sebastic@xs4all.nl> Sat, 29 Nov 2014 00:13:59 +0100
89
22 Upstream-Contact: Alessandro Furieri <a.furieri@lqt.it>
33 Source: https://www.gaia-gis.it/fossil/readosm/
44 License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
5 Comment: The tests are removed because they contain OSM data which is licensed
6 under the Creative Commons Attribution Share-Alike license 2.0,
7 which isn't considered suitable for Debian main.
8 Files-Excluded: tests/*
59
610 Files: *
711 Copyright: © 2012, Alessandro Furieri <a.furieri@lqt.it>
22
33 # Uncomment this to turn on verbose mode.
44 #export DH_VERBOSE=1
5
6 ifndef UPVER
7 UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d- -f1 | cut -d+ -f1)
8 endif
9 CURVER := ${UPVER}+dfsg1
105
116 %:
127 dh $@ \
2419 rm -rf html/ latex/
2520
2621 get-orig-source:
27 uscan \
28 --verbose \
29 --force-download \
30 --download-version ${UPVER} \
31 --rename \
32 --destdir .
33 tar xvf readosm_${UPVER}.orig.tar.gz
34 rm -rf readosm-*/tests/
35 tar cf readosm_${CURVER}.orig.tar readosm-*/
36 bzip2 readosm_${CURVER}.orig.tar
37 rm -rf readosm_${UPVER}.orig.tar.gz readosm-*/
22 uscan --verbose --force-download --rename --repack --compression xz
23