[Pkg-voip-commits] [libss7] 26/51: * Switch to dh. * Swich to dpkg v.3 format. * Standards version: 3.9.2.
tzafrir at debian.org
tzafrir at debian.org
Mon Oct 31 09:39:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository libss7.
commit 7cf1dd76cd15f16ce607664b4350e115e1f1800f
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Fri Nov 25 18:56:51 2011 +0000
* Switch to dh. * Swich to dpkg v.3 format. * Standards version: 3.9.2.
git-svn-id: svn://anonscm.alioth.debian.org/svn/pkg-voip/libss7/trunk@9374 5e74be4b-f5d6-0310-a852-e9e23c5afa6a
---
debian/changelog | 5 +++-
debian/clean | 1 +
debian/control | 8 +++---
debian/rules | 77 +++++-----------------------------------------------
debian/source/format | 1 +
5 files changed, 17 insertions(+), 75 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 04b0871..1426c1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,8 +14,11 @@ libss7 (1.0.2-2) UNRELEASED; urgency=low
[ Tzafrir Cohen ]
* A @debian.org address.
* Patch gcc46: Fix the gcc 4.6 warnings (Closes: 625375).
+ * Switch to dh.
+ * Swich to dpkg v.3 format.
+ * Standards version: 3.9.2.
- -- Tzafrir Cohen <tzafrir at debian.org> Fri, 25 Nov 2011 09:59:32 +0200
+ -- Tzafrir Cohen <tzafrir at debian.org> Fri, 25 Nov 2011 20:51:35 +0200
libss7 (1.0.2-1) unstable; urgency=low
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..17435c8
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+version.c
diff --git a/debian/control b/debian/control
index c6e0aca..25be2c8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,8 @@ Priority: optional
Section: libs
Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
Uploaders: Tzafrir Cohen <tzafrir at debian.org>, Mark Purcell <msp at debian.org>, Kilian Krause <kilian at debian.org>
-Build-Depends: debhelper (>= 7), quilt
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 8)
+Standards-Version: 3.9.2
Homepage: http://www.asterisk.org/
Vcs-Svn: svn://svn.debian.org/pkg-voip/libss7/trunk/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/libss7/?op=log
@@ -12,7 +12,7 @@ Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/libss7/?op=log
Package: libss7-dev
Section: libdevel
Architecture: any
-Depends: libss7-1 (= ${binary:Version})
+Depends: ${misc:Depends}, libss7-1 (= ${binary:Version})
Description: Signalling System 7 (ss7) development files
Development files for the C implementation of the Signalling System 7
(ss7) telephony protocol.
@@ -28,7 +28,7 @@ Package: libss7-dbg
Section: debug
Priority: extra
Architecture: any
-Depends: libss7-1 (= ${binary:Version})
+Depends: ${misc:Depends}, libss7-1 (= ${binary:Version})
Description: Signalling System 7 (ss7) debugging symbols
Debug symbols for the C implementation of the Signalling System 7
(ss7) telephony protocol.
diff --git a/debian/rules b/debian/rules
index 082534f..3d1cf03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,78 +30,17 @@ SHLIBS = $(PKGNAME) (>= $(UPVERSIONMAJOR))
FILENAME := $(PACKAGE)_$(UPVERSION).orig.tar.gz
URL := http://downloads.digium.com/pub/telephony/$(PACKAGE)/releases/$(PACKAGE)-$(UPVERSION).tar.gz
-# shared library versions, option 1
-#version=2.0.5
-#major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-version=`ls lib*.so.* | \
- awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-major=`ls lib*.so.* | \
- awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-
-configure: configure-stamp
-configure-stamp: patch
- dh_testdir
- # Add here commands to configure the package.
-
- touch $@
-
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- CFLAGS="$(CFLAGS)" $(MAKE)
-
- touch $@
-
-clean: unpatch clean-unpatched
-clean-unpatched:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- #-$(MAKE) clean
- [ ! -f Makefile ] || $(MAKE) clean
-
- # Until upstream gets a distclean target:
- $(RM) -f version.c
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/tmp
- $(MAKE) install INSTALL_PREFIX=$(CURDIR)/debian/tmp
+%:
+ dh $@
+override_dh_installchangelogs:
+ dh_installchangelogs ChangeLog
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+override_dh_mkshlibs:
+ dh_makeshlibs -V "$(SHLIBS)"
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_install --sourcedir=debian/tmp
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_installexamples
- dh_installman
+override_dh_strip:
dh_strip --dbg-package=libss7-dbg
- dh_compress
- dh_fixperms
- dh_makeshlibs -V "$(SHLIBS)"
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
print-version:
@@echo "Debian version: $(DEBVERSION)"
@@ -114,5 +53,3 @@ get-orig-source:
@@echo Downloading $(FILENAME) from $(URL) ...
@@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
-binary: binary-indep binary-arch
-.PHONY: build clean clean-unpatched binary-indep binary-arch binary install configure patch unpatch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/libss7.git
More information about the Pkg-voip-commits
mailing list