[Pkg-electronics-commits] [gnucap] 01/01: get-orig-source (from git)

felix salfelder felix-guest at moszumanska.debian.org
Mon May 16 13:47:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository gnucap.

commit 3ebc175e9a1e5948e60bc1a23172cc249f61131d
Author: Felix Salfelder <felix at salfelder.org>
Date:   Mon May 16 14:19:04 2016 +0100

    get-orig-source (from git)
---
 debian/changelog      |  3 +--
 debian/patches/series |  8 ++++----
 debian/rules          | 18 ++++++++++++++++++
 3 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e07a750..b50bba0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-gnucap (1:0.36~20160000-1) UNRELEASED; urgency=medium
+gnucap (1:0.36~20160500.fbf55cc8-1) UNRELEASED; urgency=medium
 
   * Non-maintainer upload.
   * library package
@@ -7,7 +7,6 @@ gnucap (1:0.36~20160000-1) UNRELEASED; urgency=medium
   * default plugins package
   * defuse SYSTEMSTARTPATH, use GNUCAP_SSP
   * TODO:
-    - soname
     - gnucap-conf
     - upstream tarball
 
diff --git a/debian/patches/series b/debian/patches/series
index 6141b01..473875f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
-typos.diff
-docpaths.diff
-fix_runall.diff
-acs_gnucap.diff
+# typos.diff
+# docpaths.diff
+# fix_runall.diff
+# acs_gnucap.diff
diff --git a/debian/rules b/debian/rules
index 3a24099..600931d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,11 @@
 #!/usr/bin/make -f
 
+upstream_commit = fbf55cc8fb8afa3e5f74231cb3761c294f5b687d
+# must match changelog (fetch from there?)
+tarball_version = 0.36~20160500.fbf55cc8
+
+# upstream_commit_short = $(shell echo $(upstream_commit) | sed -e 's/\(........\).*/\1/')
+
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
 CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
@@ -62,6 +68,9 @@ override_dh_auto_clean:
 	# So as not to pollute the .diff:
 	#-rm man/gnucap-man.pdf
 	#-rm -rf man/html
+	rm -rf */Makefile -f
+	rm -rf */Make2 -f
+	rm -rf */O/ -rf
 
 override_dh_installdocs:
 	dh_installdocs
@@ -74,3 +83,12 @@ override_dh_installdocs:
 
 override_dh_compress:
 	dh_compress -X.pdf -X.ckt
+
+get-orig-source:
+	git clone git://git.savannah.gnu.org/gnucap.git gnucap-${tarball_version}
+	cd gnucap-${tarball_version}; git checkout ${upstream_commit}
+	rm -rf gnucap-${tarball_version}.git
+	tar -cjf ../gnucap_${tarball_version}.orig.tar.bz2 gnucap-${tarball_version}
+	rm -rf gnucap-${tarball_version}
+
+.PHONY: get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git



More information about the Pkg-electronics-commits mailing list