[DRE-commits] r2165 - in packages/libxml-parser-ruby/trunk: . debian
lucas at alioth.debian.org
lucas at alioth.debian.org
Sat Dec 8 12:04:47 UTC 2007
Author: lucas
Date: 2007-12-08 12:04:47 +0000 (Sat, 08 Dec 2007)
New Revision: 2165
Added:
packages/libxml-parser-ruby/trunk/debian/
packages/libxml-parser-ruby/trunk/debian/changelog
packages/libxml-parser-ruby/trunk/debian/compat
packages/libxml-parser-ruby/trunk/debian/control
packages/libxml-parser-ruby/trunk/debian/copyright
packages/libxml-parser-ruby/trunk/debian/dirs
packages/libxml-parser-ruby/trunk/debian/instdocs.rb
packages/libxml-parser-ruby/trunk/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: packages/libxml-parser-ruby/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/libxml-parser-ruby/trunk/debian/changelog
===================================================================
--- packages/libxml-parser-ruby/trunk/debian/changelog (rev 0)
+++ packages/libxml-parser-ruby/trunk/debian/changelog 2007-12-08 12:04:47 UTC (rev 2165)
@@ -0,0 +1,131 @@
+libxml-parser-ruby (0.6.8-2) unstable; urgency=low
+
+ * dropped ruby1.6 support. (closes: #367909, #368512)
+
+ -- akira yamada <akira at debian.org> Tue, 23 May 2006 14:31:16 +0900
+
+libxml-parser-ruby (0.6.8-1) unstable; urgency=low
+
+ * new upstream version.
+
+ -- akira yamada <akira at debian.org> Sat, 14 Aug 2004 19:31:23 +0900
+
+libxml-parser-ruby (0.6.1-4) unstable; urgency=low
+
+ * new sub-package libxml-parser-ruby1.6.
+ - renamed from libxml-parser-ruby.
+ * new sub-package libxml-parser-ruby1.8.
+
+ -- akira yamada <akira at debian.org> Wed, 10 Sep 2003 15:47:14 +0900
+
+libxml-parser-ruby (0.6.1-3) unstable; urgency=low
+
+ * rebuild with libexpat1 1.95.2-2.1.
+ because version numbering of libexpat.so was changed.
+ closes: #117470
+
+ -- akira yamada <akira at debian.org> Mon, 29 Oct 2001 10:53:52 +0900
+
+libxml-parser-ruby (0.6.1-2) unstable; urgency=low
+
+ * --with-perl-enc-map=/usr/lib/perl5/XML/Parser/Encodings
+
+ -- akira yamada <akira at debian.org> Sat, 23 Jun 2001 19:13:59 +0900
+
+libxml-parser-ruby (0.6.1-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+ * Build with expat 1.95.
+ * Build depends: libexpat1-dev.
+
+ -- akira yamada <akira at debian.org> Fri, 02 Feb 2001 23:36:50 +0900
+
+libxml-parser-ruby (0.5.19-2) unstable; urgency=low
+
+ * rebuild with ruby_1.6.2-5.
+
+ -- akira yamada <akira at debian.org> Thu, 25 Jan 2001 23:28:12 +0900
+
+libxml-parser-ruby (0.5.19-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+ * Build with ruby_1.6.0.
+ * Updated Standards-Version to 3.2.1.
+ * Added Build-Depends field into control file.
+
+ -- akira yamada <akira at debian.org> Tue, 5 Sep 2000 01:30:33 +0900
+
+libxml-parser-ruby (0.5.16-2) unstable; urgency=low
+
+ * Rebuild with ruby_1.4.4
+
+ -- akira yamada <akira at debian.org> Tue, 4 Apr 2000 21:20:17 +0900
+
+libxml-parser-ruby (0.5.16-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+ * FHS complience.
+
+ -- akira yamada <akira at debian.org> Fri, 29 Oct 1999 15:01:48 +0900
+
+libxml-parser-ruby (0.5.14-2) unstable; urgency=low
+
+ * Build with ruby 1.4.
+
+ -- akira yamada <akira at debian.org> Wed, 18 Aug 1999 10:25:54 +0900
+
+libxml-parser-ruby (0.5.14-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira at debian.org> Tue, 6 Jul 1999 22:16:37 +0900
+
+ruby-xmlparser-module (0.5.6-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+ - class name aliasses are defined in C module.
+
+ -- akira yamada <akira at debian.org> Thu, 25 Feb 1999 17:02:58 +0900
+
+ruby-xmlparser-module (0.5.4-2) unstable-jp; urgency=low
+
+ * Build with ruby1.2_1.2.2.
+
+ -- akira yamada <akira at debian.org> Mon, 1 Feb 1999 14:58:21 +0900
+
+ruby-xmlparser-module (0.5.4-1) unstable-jp; urgency=low
+
+ * Upgraded to new upstream version.
+ * Build with ruby_1.2.2.
+
+ -- akira yamada <akira at debian.org> Fri, 22 Jan 1999 18:19:15 +0900
+
+ruby-xmlparser-module (0.4.17-1) unstable-jp; urgency=low
+
+ * Upgraded to new upstream version.
+ - mIDs are stored into static vars.
+ - change ID attribute support of XPointer.
+ - Node#trim is now xml:space-aware.
+ - fix some bugs, add class name alias.
+
+ -- akira yamada <akira at debian.org> Sat, 31 Oct 1998 09:23:51 +0900
+
+ruby-xmlparser-module (0.4.14-1) unstable-jp; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira at debian.org> Tue, 27 Oct 1998 12:22:33 +0900
+
+ruby-xmlparser-module (0.4.7-1) unstable-jp; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira at debian.org> Sat, 3 Oct 1998 00:09:44 +0900
+
+ruby-xmlparser-module (0.3.3-1) unstable-jp; urgency=low
+
+ * Initial Release.
+
+ -- akira yamada <akira at debian.org> Sat, 22 Aug 1998 13:43:46 +0900
+
+
Added: packages/libxml-parser-ruby/trunk/debian/compat
===================================================================
--- packages/libxml-parser-ruby/trunk/debian/compat (rev 0)
+++ packages/libxml-parser-ruby/trunk/debian/compat 2007-12-08 12:04:47 UTC (rev 2165)
@@ -0,0 +1 @@
+4
Added: packages/libxml-parser-ruby/trunk/debian/control
===================================================================
--- packages/libxml-parser-ruby/trunk/debian/control (rev 0)
+++ packages/libxml-parser-ruby/trunk/debian/control 2007-12-08 12:04:47 UTC (rev 2165)
@@ -0,0 +1,14 @@
+Source: libxml-parser-ruby
+Section: interpreters
+Priority: optional
+Maintainer: akira yamada <akira at debian.org>
+Build-Depends: debhelper (>> 3), libexpat1-dev (>= 1.95.1), ruby1.8, ruby1.8-dev
+Standards-Version: 3.6.1
+
+Package: libxml-parser-ruby1.8
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: 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.
Added: packages/libxml-parser-ruby/trunk/debian/copyright
===================================================================
--- packages/libxml-parser-ruby/trunk/debian/copyright (rev 0)
+++ packages/libxml-parser-ruby/trunk/debian/copyright 2007-12-08 12:04:47 UTC (rev 2165)
@@ -0,0 +1,73 @@
+This package was debianized by akira yamada akira at debian.org on
+Sat, 22 Aug 1998 13:43:46 +0900.
+
+It was downloaded from <URL:http://www.yoshidam.net/Ruby.html#xmlparser>
+
+Upstream Author: Yoshida Masato <yoshidam at yoshidam.net>
+
+Copyright: Ruby's
+
+Ruby's License:
+
+Ruby is copyrighted free software by Yukihiro Matsumoto <matz at netlab.jp>.
+You can redistribute it and/or modify it under either the terms of the GPL
+(see the file GPL), or the conditions below:
+
+ 1. You may make and give away verbatim copies of the source form of the
+ software without restriction, provided that you duplicate all of the
+ original copyright notices and associated disclaimers.
+
+ 2. You may modify your copy of the software in any way, provided that
+ you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise
+ make them Freely Available, such as by posting said
+ modifications to Usenet or an equivalent medium, or by allowing
+ the author to include your modifications in the software.
+
+ b) use the modified software only within your corporation or
+ organization.
+
+ c) give non-standard binaries non-standard names, with
+ instructions on where to get the original software distribution.
+
+ d) make other distribution arrangements with the author.
+
+ 3. You may distribute the software in object code or binary form,
+ provided that you do at least ONE of the following:
+
+ a) distribute the binaries and library files of the software,
+ together with instructions (in the manual page or equivalent)
+ on where to get the original distribution.
+
+ b) accompany the distribution with the machine-readable source of
+ the software.
+
+ c) give non-standard binaries non-standard names, with
+ instructions on where to get the original software distribution.
+
+ d) make other distribution arrangements with the author.
+
+ 4. You may modify and include the part of the software into any other
+ software (possibly commercial). But some files in the distribution
+ are not written by the author, so that they are not under these terms.
+
+ For the list of those files and their copying conditions, see the
+ file LEGAL.
+
+ 5. The scripts and library files supplied as input to or produced as
+ output from the software do not automatically fall under the
+ copyright of the software, but belong to whomever generated them,
+ and may be sold commercially, and may be aggregated with this
+ software.
+
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE.
+
+GNU General Public License:
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
Added: packages/libxml-parser-ruby/trunk/debian/dirs
===================================================================
--- packages/libxml-parser-ruby/trunk/debian/dirs (rev 0)
+++ packages/libxml-parser-ruby/trunk/debian/dirs 2007-12-08 12:04:47 UTC (rev 2165)
@@ -0,0 +1 @@
+usr/lib/ruby
Added: packages/libxml-parser-ruby/trunk/debian/instdocs.rb
===================================================================
--- packages/libxml-parser-ruby/trunk/debian/instdocs.rb (rev 0)
+++ packages/libxml-parser-ruby/trunk/debian/instdocs.rb 2007-12-08 12:04:47 UTC (rev 2165)
@@ -0,0 +1,120 @@
+# $Id: instdocs.rb,v 1.9 1999/10/21 14:06:40 akira Exp $
+if File.exist?('debian/instconf.rb')
+ require 'debian/instconf.rb'
+end
+require 'ftools'
+require 'debian/manifest.rb'
+require 'rbconfig'
+include Config
+
+%r!/([^/]+)-([^-]+)$! =~ Dir.pwd
+package_name = $1
+package_name.sub!(/^ruby[^-]*/o, CONFIG['ruby_install_name'])
+package_version = $2
+
+info = nil
+prefix = ''
+if File.exist?('MANIFEST')
+ info = Manifest::read_manifest('MANIFEST')
+else
+ Dir.foreach('.') {|x|
+ next if /^\./o =~ x
+ if File.exist?(x + '/MANIFEST')
+ info = Manifest::read_manifest(x + '/MANIFEST')
+ prefix = x + '/'
+ break
+ end
+ }
+end
+
+ruby_dir = 'debian/tmp/usr/share/doc/' + CONFIG['ruby_install_name']
+base_dir = 'debian/tmp/usr/share/doc/' + package_name
+document_dir = base_dir
+example_dir = base_dir + '/examples'
+
+unless info
+ raise 'can not find MANIFEST file'
+end
+
+
+# install docments
+
+list = []
+if info.document_dir_files.size > 0
+ list += Manifest::get_install_list2(info.document_dir_files, document_dir)
+end
+if info.document_files.size > 0
+ list += Manifest::get_install_list2(info.document_files, document_dir)
+end
+
+list.each {|x|
+ dir = File.dirname(x[1])
+ unless File.directory?(dir)
+ File.makedirs(dir, true)
+ end
+
+ next unless FileTest.file?(prefix + x[0])
+ File.install(prefix + x[0], x[1], 0444, true)
+}
+
+if list.size > 0
+ symlink_target = '../../' + package_name
+ symlink_file = ruby_dir + '/ext/' +
+ package_name.gsub(/^lib|-#{Regexp.quote(CONFIG['ruby_install_name'])}$/o, '')
+ File.makedirs(ruby_dir + '/ext')
+ File.symlink(symlink_target, symlink_file)
+end
+
+# install examples
+
+list = []
+if info.example_dir_files.size > 0
+ list += Manifest::get_install_list2(info.example_dir_files, example_dir)
+end
+if info.example_files.size > 0
+ list += Manifest::get_install_list2(info.example_files, example_dir)
+end
+
+list.each {|x|
+ dir = File.dirname(x[1])
+ unless File.directory?(dir)
+ File.makedirs(dir, true)
+ end
+
+ next unless FileTest.file?(prefix + x[0])
+ File.install(prefix + x[0], x[1], nil, true)
+
+ f = File.open(x[1] + '.tmp', 'w')
+ exec = nil
+ IO.foreach(x[1]) {|line|
+ if exec == nil
+ if line.sub!(/^\#!\s*((\S*\/)+ruby|(\S*\/)*env ruby)\S*/,
+ "#!/usr/bin/#{CONFIG['ruby_install_name']}")
+ exec = true
+ elsif line.sub!(/^\#!\s*(\S*\/)+(wish|perl|env)/,
+ '#!/usr/bin/\2')
+ exec = false
+ else
+ exec = false
+ end
+ end
+ f.print line
+ }
+ f.close
+ File.install(x[1] + '.tmp',
+ x[1], nil, false)
+ if exec
+ File.chmod(0555, x[1], true)
+ else
+ File.chmod(0444, x[1], true)
+ end
+ File.safe_unlink(x[1] + '.tmp')
+}
+
+if list.size > 0
+ symlink_target = '../../' + package_name + '/examples'
+ symlink_file = ruby_dir + '/examples/' +
+ package_name.gsub(/^lib|-#{Regexp.quote(CONFIG['ruby_install_name'])}$/o, '')
+ File.makedirs(ruby_dir + '/examples')
+ File.symlink(symlink_target, symlink_file)
+end
Added: packages/libxml-parser-ruby/trunk/debian/rules
===================================================================
--- packages/libxml-parser-ruby/trunk/debian/rules (rev 0)
+++ packages/libxml-parser-ruby/trunk/debian/rules 2007-12-08 12:04:47 UTC (rev 2165)
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; -*-
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+#export DH_COMPAT=3
+
+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
Property changes on: packages/libxml-parser-ruby/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-ruby-extras-commits
mailing list