tags 454953 + patch Hi again,
Package builds and installs OK but I'm not as comfortable with it as I am the others I have sent. There was a lot of funky sed magic in the old rules files that I didn't keep, so if you can use this one, please look it over carefully. I also included a fix for #396019 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=396019> because it was just changing the suggests to depends. (May not even be correct given the new way apt deals with suggested packages?)
Hope you can use it. Thanks, Barry deFreese
diff -u libxml-parser-ruby-0.6.8/debian/changelog libxml-parser-ruby-0.6.8/debian/changelog --- libxml-parser-ruby-0.6.8/debian/changelog +++ libxml-parser-ruby-0.6.8/debian/changelog @@ -1,3 +1,14 @@ +libxml-parser-ruby (0.6.8-4) unstable; urgency=low + + * Move build system to CDBS + * Bump debhelper build-dep and compat to 5 + * Add Homepage field in control + * Move libuconv-ruby1.8 to depends from recommends (Closes: #454953) + * Add watch file + * Bump Standards Version to 3.7.3 + + -- Barry deFreese <[EMAIL PROTECTED]> Tue, 18 Dec 2007 17:27:47 -0500 + libxml-parser-ruby (0.6.8-3) unstable; urgency=low * New maintainer. diff -u libxml-parser-ruby-0.6.8/debian/control libxml-parser-ruby-0.6.8/debian/control --- libxml-parser-ruby-0.6.8/debian/control +++ libxml-parser-ruby-0.6.8/debian/control @@ -2,15 +2,15 @@ Section: interpreters Priority: optional Maintainer: Debian Ruby Extras Maintainers <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 3), libexpat1-dev (>= 1.95.1), ruby1.8, ruby1.8-dev -Standards-Version: 3.6.1 +Build-Depends: debhelper (>> 5), cdbs, ruby-pkg-tools, libexpat1-dev (>= 1.95.1), ruby1.8, ruby1.8-dev +Standards-Version: 3.7.3 Vcs-Browser: http://svn.debian.org/wsvn/pkg-ruby-extras/packages/libxml-parser-ruby/ Vcs-Svn: svn://svn.debian.org/pkg-ruby-extras/packages/libxml-parser-ruby/ +Homepage: http://www.yoshidam.net/Ruby.html Package: libxml-parser-ruby1.8 Architecture: any -Depends: ${shlibs:Depends} -Suggests: libuconv-ruby1.8 +Depends: ${shlibs:Depends}, libuconv-ruby1.8 Description: Interface of expat for the scripting language Ruby 1.8 This is the module to access to James Clark's XML Parser Toolkit "expat" <URL:http://www.jclark.com/xml/expat.html> from Ruby 1.8. diff -u libxml-parser-ruby-0.6.8/debian/compat libxml-parser-ruby-0.6.8/debian/compat --- libxml-parser-ruby-0.6.8/debian/compat +++ libxml-parser-ruby-0.6.8/debian/compat @@ -1 +1 @@ -4 +5 diff -u libxml-parser-ruby-0.6.8/debian/rules libxml-parser-ruby-0.6.8/debian/rules --- libxml-parser-ruby-0.6.8/debian/rules +++ libxml-parser-ruby-0.6.8/debian/rules @@ -3,92 +3,7 @@ -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk -# This is the debhelper compatability version to use. -#export DH_COMPAT=3 +DEB_RUBY_SETUP_ARGS = --with-perl-enc-map=/usr/lib/perl5/XML/Parser/Encodings -build: build-stamp -build-stamp: - dh_testdir - - -rm -rf build-tree-1.8 - mkdir build-tree-1.8 - cd build-tree-1.8 && ruby1.8 ../extconf.rb \ - --with-perl-enc-map=/usr/lib/perl5/XML/Parser/Encodings && \ - $(MAKE) - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp install-stamp - - -rm -rf build-tree-1.8 - - dh_clean - -install: install-stamp -install-stamp: build-stamp - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/tmp. - $(MAKE) -C build-tree-1.8 sitedir=$(CURDIR)/debian/libxml-parser-ruby1.8/usr/lib/ruby install - - touch install-stamp - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install -# dh_testversion - dh_testdir - dh_testroot - dh_installdocs -A README* - tar cf - Encodings | \ - (cd $(CURDIR)/debian/libxml-parser-ruby1.8/usr/share/doc/libxml-parser-ruby1.8 && tar xvf -) - dh_installexamples -A - install -d $(CURDIR)/debian/libxml-parser-ruby1.8/usr/share/doc/libxml-parser-ruby1.8/examples - (cd samples && tar --exclude CVS -cf - .) | \ - (cd $(CURDIR)/debian/libxml-parser-ruby1.8/usr/share/doc/libxml-parser-ruby1.8/examples && tar xvf -) - for f in `find $(CURDIR)/debian/libxml-parser-ruby*/usr/share/doc/*/examples -type f`; \ - do \ - cp -p $$f $$f.tmp; \ - sed -e '1,1s,^#![ ]*\([^ ]*\)/\(ruby\),#!/usr/bin/\2,' < $$f > $$f.tmp; \ - if ! cmp $$f $$f.tmp >/dev/null; \ - then \ - mv -f $$f.tmp $$f; \ - else \ - rm -f $$f.tmp; \ - fi; \ - done -# dh_installmenu -# dh_installemacsen -# dh_installpam -# dh_installinit -# dh_installcron -# dh_installmanpages -# dh_undocumented - dh_installchangelogs - dh_link - dh_strip - dh_compress -X.rb -X.xml -X.dtd - dh_fixperms -# dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +DEB_RUBY_INSTALL_ARGS = sitedir=$(CURDIR)/debian/libxml-parser-ruby1.8/usr/lib/ruby only in patch2: unchanged: --- libxml-parser-ruby-0.6.8.orig/debian/docs +++ libxml-parser-ruby-0.6.8/debian/docs @@ -0,0 +1 @@ +README* only in patch2: unchanged: --- libxml-parser-ruby-0.6.8.orig/debian/watch +++ libxml-parser-ruby-0.6.8/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.yoshidam.net/Ruby.html xmlparser-([\d.]+)\.tar\.gz only in patch2: unchanged: --- libxml-parser-ruby-0.6.8.orig/debian/examples +++ libxml-parser-ruby-0.6.8/debian/examples @@ -0,0 +1 @@ +samples/*