[Debian-hebrew-package] r1016 - in /pkg/hspell/trunk/debian: changelog clean compat control rules
tzafrir at users.alioth.debian.org
tzafrir at users.alioth.debian.org
Wed Sep 2 21:16:21 UTC 2015
Author: tzafrir
Date: Wed Sep 2 21:16:21 2015
New Revision: 1016
URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=1016
Log:
Switch to a dh-style rules file, compat level 9
Added:
pkg/hspell/trunk/debian/clean
Modified:
pkg/hspell/trunk/debian/changelog
pkg/hspell/trunk/debian/compat
pkg/hspell/trunk/debian/control
pkg/hspell/trunk/debian/rules
Modified: pkg/hspell/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/changelog?rev=1016&op=diff
==============================================================================
--- pkg/hspell/trunk/debian/changelog (original)
+++ pkg/hspell/trunk/debian/changelog Wed Sep 2 21:16:21 2015
@@ -1,6 +1,7 @@
hspell (1.2-3) UNRELEASED; urgency=medium
* reproducible_build.patch: remove date from aspell / hunspell affix files
+ * Switch to a dh-style rules file, compat level 9
-- Tzafrir Cohen <tzafrir at debian.org> Wed, 02 Sep 2015 23:50:15 +0300
Added: pkg/hspell/trunk/debian/clean
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/clean?rev=1016&op=file
==============================================================================
--- pkg/hspell/trunk/debian/clean (added)
+++ pkg/hspell/trunk/debian/clean Wed Sep 2 21:16:21 2015
@@ -0,0 +1,2 @@
+*.dic
+*.aff
Modified: pkg/hspell/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/compat?rev=1016&op=diff
==============================================================================
--- pkg/hspell/trunk/debian/compat (original)
+++ pkg/hspell/trunk/debian/compat Wed Sep 2 21:16:21 2015
@@ -1 +1 @@
-5
+9
Modified: pkg/hspell/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/control?rev=1016&op=diff
==============================================================================
--- pkg/hspell/trunk/debian/control (original)
+++ pkg/hspell/trunk/debian/control Wed Sep 2 21:16:21 2015
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Hebrew Packaging Team <debian-hebrew-package at lists.alioth.debian.org>
Uploaders: Baruch Even <baruch at debian.org>, Lior Kaplan <kaplan at debian.org>, Shachar Shemesh <shachar at debian.org>, Tzafrir Cohen <tzafrir at debian.org>
-Build-Depends: debhelper (>= 5.0.0), perl, zlib1g-dev
+Build-Depends: debhelper (>= 9), perl, zlib1g-dev
Build-Depends-Indep: dictionaries-common-dev
Standards-Version: 3.9.3
Vcs-Svn: svn://svn.debian.org/svn/debian-hebrew/pkg/hspell
Modified: pkg/hspell/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/rules?rev=1016&op=diff
==============================================================================
--- pkg/hspell/trunk/debian/rules (original)
+++ pkg/hspell/trunk/debian/rules Wed Sep 2 21:16:21 2015
@@ -1,26 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets by Bill Allombert 2001
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
CFLAGS = -Wall -g -fPIC
@@ -30,88 +12,15 @@
CFLAGS += -O2
endif
-config.status: configure
- dh_testdir
- # Add here commands to configure the package.
+%:
+ dh $@
+
+# FIXME: most of this is probably old voodoo:
+override_dh_auto_configure:
CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-linginfo --enable-fatverb
+override_dh_auto_build:
+ $(MAKE) hunspell
-#Architecture
-build: build-arch build-indep
-
-build-arch: build-arch-stamp
-build-arch-stamp: config.status
-
- $(MAKE)
- touch build-arch-stamp
-
-build-indep: build-indep-stamp
-build-indep-stamp: config.status
-
- # Add here commands to compile the indep part of the package.
- $(MAKE) hunspell
- touch build-indep-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
-
- # Add here commands to clean up after the build process.
- [ ! -f Makefile ] || $(MAKE) distclean
-
- dh_clean *.dic *.aff
-
-install: install-indep install-arch
-install-indep:
- dh_testdir
- dh_testroot
- dh_clean -k -i -X.aff -X.dic
- dh_installdirs -i
-
- # Add here commands to install the indep part of the package into
- # debian/<package>-doc.
- dh_install -i
- installdeb-myspell -pmyspell-he
-
-install-arch:
- dh_testdir
- dh_testroot
- dh_clean -k -s
- dh_installdirs -s
-
- # Add here commands to install the arch part of the package into
- # debian/tmp.
- $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
-
- dh_install -s --sourcedir=debian/tmp
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-indep
-# in another 'make' thread.
-binary-common:
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-# Build architecture independant packages using the common target.
-binary-indep: build-indep install-indep
- $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
- $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
+# Disable tests for now
+override_dh_auto_test:
More information about the Debian-hebrew-package
mailing list