[Debian-hebrew-package] [svn] r179 - pkg/libhdate/trunk/debian

Lior Kaplan kaplan-guest at costa.debian.org
Wed Aug 10 20:28:35 UTC 2005


Author: kaplan-guest
Date: Wed Aug 10 20:28:31 2005
New Revision: 179

Modified:
   pkg/libhdate/trunk/debian/changelog
   pkg/libhdate/trunk/debian/control
   pkg/libhdate/trunk/debian/rules
Log:
* Beginning for 1.3.0-2. 
* Fix build-dep, so libhdate will build on all archs.
* libhdate-pascal will build only on i386, powerpc & sprac, 
  which are the only archs supported by fp-compiler. 


Modified: pkg/libhdate/trunk/debian/changelog
==============================================================================
--- pkg/libhdate/trunk/debian/changelog	(original)
+++ pkg/libhdate/trunk/debian/changelog	Wed Aug 10 20:28:31 2005
@@ -1,3 +1,12 @@
+libhdate (1.3.0-2) unstable; urgency=low
+
+  * debian/control: 
+     - Limit the build dependency of fp-compiler to i386, sparc & powerpc.
+     - Build libhdate-pascl only on i386, sparc & powerpc
+     - Add -s option (short for --same-arch) to all dh_* lines.
+
+ -- Lior Kaplan <webmaster at guides.co.il>  Wed, 10 Aug 2005 23:10:05 +0300
+
 libhdate (1.3.0-1) unstable; urgency=low
 
   * Initial release. (Closes: #291581: ITP: libhdate -- small C, C++

Modified: pkg/libhdate/trunk/debian/control
==============================================================================
--- pkg/libhdate/trunk/debian/control	(original)
+++ pkg/libhdate/trunk/debian/control	Wed Aug 10 20:28:31 2005
@@ -3,7 +3,7 @@
 Section: libdevel
 Maintainer:  Debian Hebrew Packaging Team <debian-hebrew-package at lists.alioth.debian.org>
 Uploaders: Baruch Even <baruch at debian.org>, Lior Kaplan <webmaster at guides.co.il>
-Build-Depends: swig, debhelper (>= 4.0.0), python-dev, fp-compiler (>= 2.0.0)
+Build-Depends: swig, debhelper (>= 4.0.0), python-dev, fp-compiler (>= 2.0.0) [i386 powerpc sparc]
 Standards-Version: 3.6.2
 
 Package: libhdate-dev
@@ -46,7 +46,7 @@
  This package contains perl bindings to libhdate
 
 Package: libhdate-pascal
-Architecture: any
+Architecture: i386 powerpc sparc
 Depends: libhdate1 (= ${Source-Version}), fp-compiler (>= 2.0.0)
 Description: A library that help use hebrew dates
  LibHdate is a small C,C++ library for Hebrew dates,

Modified: pkg/libhdate/trunk/debian/rules
==============================================================================
--- pkg/libhdate/trunk/debian/rules	(original)
+++ pkg/libhdate/trunk/debian/rules	Wed Aug 10 20:28:31 2005
@@ -37,7 +37,7 @@
 # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
 
 config.status: configure
-	dh_testdir
+	dh_testdir -s
 	# Add here commands to configure the package.
 	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --enable-perl --enable-python  --enable-pascal --with-perl-sitelib-dir=/usr/lib/perl5 --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 	# --enable-examples
@@ -52,8 +52,10 @@
 	touch build-stamp
 
 clean:
-	dh_testdir
-	dh_testroot
+	dh_testdir -s
+
+	dh_testroot -s
+
 	rm -f build-stamp 
 
 	# Add here commands to clean up after the build process.
@@ -66,13 +68,13 @@
 endif
 
 
-	dh_clean config.log
+	dh_clean -s config.log
 
 install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
+	dh_testdir -s
+	dh_testroot -s
+	dh_clean -k -s
+	dh_installdirs -s
 
 	# Add here commands to install the package into debian/tmp
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
@@ -84,28 +86,27 @@
 
 # Build architecture-dependent files here.
 binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installexamples -XMakefile -X.libs -X.o #don't copy all the files in the example dir
-	dh_movefiles
-	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_python
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_testdir -s
+	dh_testroot -s
+	dh_installchangelogs ChangeLog -s
+
+	dh_installdocs -s
+	dh_installexamples -s -XMakefile -X.libs -X.o #don't copy all the files in the example dir
+	dh_movefiles -s
+	dh_install -s
+	dh_installman -s
+	dh_link -s
+	dh_strip -s
+	dh_compress -s
+	dh_fixperms -s
+	dh_perl -s
+	dh_python -s
+	dh_makeshlibs -s
+	dh_installdeb -s
+	dh_shlibdeps -s
+	dh_gencontrol -s
+	dh_md5sums -s
+	dh_builddeb -s
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install 



More information about the Debian-hebrew-package mailing list