Codebase list liberasurecode / 14bfc14
Upstream moved to official Openstack project Ondřej Nový 7 years ago
3 changed file(s) with 3 addition(s) and 22 deletion(s). Raw diff Collapse all Expand all
00 liberasurecode (1.2.0-1) UNRELEASED; urgency=medium
11
22 * New upstream release
3 * Upstream moved to official Openstack project
34 * Standards-Version is 3.9.8 now (no change)
45
56 -- Ondřej Nový <novy@ondrej.org> Sat, 09 Apr 2016 19:23:28 +0200
00 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
11 Upstream-Name: liberasurecode
2 Source: https://bitbucket.org/tsg-/liberasurecode
2 Source: https://github.com/openstack/liberasurecode/
33
44 Files: *
55 Copyright: (c) 2014, Eric Lambert <eric_lambert@xyratex.com>
00 #!/usr/bin/make -f
11
2 UPSTREAM_GIT ?= https://bitbucket.org/tsg-/liberasurecode.git
3
4 DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
5 VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//')
6 DEBFLAVOR ?= $(shell dpkg-parsechangelog | grep -E ^Distribution: | cut -d" " -f2)
7 DEBPKGNAME ?= $(shell dpkg-parsechangelog | grep -E ^Source: | cut -d" " -f2)
8 GIT_TAG ?= $(shell echo '$(VERSION)' | sed -e 's/~/_/')
9
10 export HOME=$(CURDIR)
112 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
3 -include /usr/share/openstack-pkg-tools/pkgos.make
124
135 %:
146 dh $@ --with autoreconf --parallel
15
16 gen-orig-xz:
17 git tag -v $(GIT_TAG) || true
18 if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \
19 git archive --prefix=$(DEBPKGNAME)-$(VERSION)/ $(GIT_TAG) | xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ; \
20 fi
21 [ ! -e ../build-area ] && mkdir ../build-area || true
22 [ ! -e ../build-area/$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] && cp ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ../build-area
23
24 fetch-upstream-remote:
25 git remote add upstream $(UPSTREAM_GIT) || true
26 git fetch upstream