Skip to content
Commits on Source (9)
libfastahack (0.0+git20160702.bbc645f+dfsg-1) UNRELEASED; urgency=medium
* d/watch: Use git mode
* drop now unneeded get-orig-source target
* debhelper 11
* Point Vcs fields to salsa.debian.org
* Standards-Version: 4.1.5
* Force --no-parallel since package would not build otherwise
* hardening=+all
* d/rules: do not parse d/changelog
-- Andreas Tille <tille@debian.org> Sat, 14 Jul 2018 08:03:24 +0200
libfastahack (0.0+20160702-1) unstable; urgency=medium
* Initial release (Closes: #827978)
......
......@@ -3,13 +3,12 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.
Uploaders: Andreas Tille <tille@debian.org>
Section: science
Priority: optional
Build-Depends: debhelper (>= 9),
dh-autoreconf,
Build-Depends: debhelper (>= 11~),
d-shlibs,
libdisorder-dev
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libfastahack.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/libfastahack.git
Standards-Version: 4.1.5
Vcs-Browser: https://salsa.debian.org/med-team/libfastahack
Vcs-Git: https://salsa.debian.org/med-team/libfastahack.git
Homepage: https://github.com/ekg/fastahack
Package: libfastahack0
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fastahack
Source: https://github.com/ekg/fastahack
Files-Excluded: */*disorder*
*/.travis.yml
*/.gitignore
Files: *
Copyright: 2000-2016 Erik Garrison <erik.garrison@gmail.com>
......
#!/bin/sh -e
COMPRESS=xz
NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
ORIGNAME=`echo $NAME | sed 's/^lib//'`
MVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([0-9\.]\+\)[+~][-0-9]\+$/\1/'`
mkdir -p ../tarballs
cd ../tarballs
# need to clean up the tarballs dir first because upstream tarball might
# contain a directory with unpredictable name
rm -rf *
git clone --quiet https://github.com/ekg/fastahack
cd $ORIGNAME
VERSION=${MVERSION}+`date -d @$(git show --format="%at" | head -n1) +%Y%m%d`
# for esthetical reasons set file timestamps (if git-restore-mtime is installed)
git restore-mtime || true
cd ..
TARDIR=${NAME}-${VERSION}
mv ${ORIGNAME} ${TARDIR}
rm -rf ${TARDIR}/.git*
rm -rf ${TARDIR}/*disorder*
rm -rf ${TARDIR}/.travis.yml
GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
rm -rf ${TARDIR}
......@@ -2,13 +2,10 @@
# DH_VERBOSE := 1
DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --with autoreconf
dh $@ --no-parallel
override_dh_install:
dh_install
......@@ -18,7 +15,4 @@ override_dh_install:
--exclude-la \
--movedev debian/tmp/usr/include/* usr/include \
--movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
debian/tmp/usr/lib/*/$(DEBPKGNAME).so
get-orig-source:
. debian/get-orig-source
debian/tmp/usr/lib/*/*.so
# version=3
# Upstream does not tag releases
version=4
opts="mode=git,pretty=0.0+git%cd.%h,repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
https://github.com/ekg/fastahack.git HEAD
# Issue asking for release tags:
# https://github.com/ekg/fastahack/issues/14