Commit 6d545419 authored by Sebastian Reichel's avatar Sebastian Reichel

make it possible to use uscan for getting new releases

Upstream has tags again and Debian tools nowadays can
automatically remove and repack non-dfsg archives using
the machine parsable copyright file. This simplifies
the update process :)
parent d6ab9cae
Pipeline #35329 skipped with stage
The source tarball is created from the git repository
using git archive. A few files are removed though:
# Remove lib/button/ from upstream source (because of the *.swf files)
# (The feature is not available in Debian's tt-rss installation)
rm -rf tt-rss-$(DEB_UPSTREAM_VERSION)/lib/button
# remove dojo and dijit javascript libs from upstream source (js source files missing)
# (Debian uses its own dojo/dijit packages instead of the bundled copy)
rm -rf tt-rss-$(DEB_UPSTREAM_VERSION)/lib/dijit
rm -rf tt-rss-$(DEB_UPSTREAM_VERSION)/lib/dojo
# You can use the following command to generate a DFSG
# compatible source tarball from upstream's git repository
git archive --prefix "tt-rss/" master | \
tar --delete tt-rss/lib/button tt-rss/lib/dijit tt-rss/lib/dojo | \
xz --best > ../tt-rss-master.orig.tar.xz
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://tt-rss.org/gitlab/fox/tt-rss/
Files-Excluded: lib/dijit/* lib/dojo/*
Comment: Drop bundled pre-compiled libraries
Files: *
Copyright: 2005-2010, Andrew Dolgov <cthulhoo@gmail.com>
......
# upstream is maintained as untagged git nowadays
# https://tt-rss.org/gitlab/fox/tt-rss
version=4
opts=\
repacksuffix=+dfsg,repack,compression=xz,\
dversionmangle=s/[+]dfsg[0-9]?//,\
filenamemangle=s/.*\/archive\/(\d\S+)\.tar\.gz/tt-rss-$1\.tar\.gz/g \
https://git.tt-rss.org/fox/tt-rss/releases .*archive\/(\d\S+)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment