[Chinese-commits] [zh-autoconvert] 01/26: Imported Debian patch 0.3.4-1

Anthony Fok foka at debian.org
Wed Nov 18 00:26:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

foka pushed a commit to branch master
in repository zh-autoconvert.

commit 5270741bbf8071c622c6659217f58503be59c0a0
Author: Anthony Fok <foka at debian.org>
Date:   Tue Dec 28 00:34:44 1999 -0700

    Imported Debian patch 0.3.4-1
---
 Makefile            |  5 +++-
 debian/changelog    | 23 +++++++++++++++++
 debian/control      | 17 +++++++++++++
 debian/copyright    | 33 ++++++++++++++++++++++++
 debian/manpage.1.ex | 41 ++++++++++++++++++++++++++++++
 debian/rules        | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/watch        |  5 ++++
 7 files changed, 195 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a6ba7c0..cf924db 100644
--- a/Makefile
+++ b/Makefile
@@ -19,10 +19,13 @@ hzlib:
 clean:
 	rm -f autob5 autogb *.o; rm *~
 	cd hzconvert;make clean
-install:
+install-home:
 	[ ! -f $(HOME)/bin ] || mkdir $(HOME)/bin
 	rm -f $(HOME)/bin/autob5
 	rm -f $(HOME)/bin/autogb
 	cp -f autogb $(HOME)/bin
 	ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5
 	chmod 755 $(HOME)/bin/autogb 
+install:
+	install -m 755 autogb $(DESTDIR)/usr/bin
+	ln -s autogb $(DESTDIR)/usr/bin/autob5
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bac35c0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,23 @@
+zh-autoconvert (0.3.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * New example files shed.big5 and shed.gb.  :-)
+
+ -- Anthony Fok <foka at debian.org>  Tue, 28 Dec 1999 00:34:44 -0700
+
+zh-autoconvert (0.3.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Standards-Version: 3.1.1--Added Build-Depends in debian/rules.
+
+ -- Anthony Fok <foka at debian.org>  Wed, 22 Dec 1999 22:49:10 -0700
+
+zh-autoconvert (0.3.2-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Anthony Fok <foka at debian.org>  Sun,  7 Nov 1999 16:13:06 -0700
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..80a9e5f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: zh-autoconvert
+Build-Depends: debhelper (>= 2.0.72)
+Section: text
+Priority: optional
+Maintainer: Anthony Fok <foka at debian.org>
+Standards-Version: 3.1.1
+
+Package: zh-autoconvert
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Chinese HZ/GB/BIG5 encodings auto-converter
+ zh-AutoConvert consists of three parts: A converter from Chinese HZ
+ encoding to GB encoding, an auto-converter from HZ/GB/BIG5 encoding to
+ GB/BIG5 encoding, and a working procmail example to auto-convert
+ incoming mail.
+ .
+  Author: YU Guanghui <ygh at dlut.edu.cn>
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5e05a55
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+This package was Debianized by Anthony Fok <foka at debian.org> on
+Sat, 30 Oct 1999 08:38:03 -0600.
+
+(Note: This file contains Chinese characters encoded in zh_CN.GB2312.)
+
+It was downloaded from
+    ftp://ftp.dlut.edu.cn/pub/PEOPLE/saka/autoconvert-0.3.4.tar.gz
+
+Upstream Author:
+    �ڹ��  YU Guanghui <ygh at dlut.edu.cn>
+
+Copyright:
+
+    AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
+    Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh at dlut.edu.cn>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or any
+    later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place - Suite 330,
+    Boston, MA  02111-1307, USA.
+
+  On Debian GNU/Linux systems, the complete text of the GNU General
+  Public License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex
new file mode 100644
index 0000000..8c25f6d
--- /dev/null
+++ b/debian/manpage.1.ex
@@ -0,0 +1,41 @@
+.TH NAME SECTION 
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+zh-autoconvert \- programs to do something
+.SH SYNOPSIS
+.B zh-autoconvert
+.I "[options] files ..."
+.br
+.B bar
+.I "[options] files ..."
+.SH DESCRIPTION
+This manual page documents briefly the
+.BR zh-autoconvert ,
+and
+.B bar
+commands.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+Instead, it has documentation in the GNU Info format; see below.
+.PP
+.B zh-autoconvert
+is a program that...
+.SH OPTIONS
+The programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options are included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+This manual page was written by Anthony Fok <foka at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d5d4e46
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 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=1
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs usr/bin
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) install DESTDIR=`pwd`/debian/tmp
+
+	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_installdebconf	
+	dh_installdocs Readme TODO
+	dh_installexamples procmailrc.example shed.big5 shed.gb hz.txt
+	dh_installmenu
+	dh_installmanpages
+#	dh_undocumented
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	# You may want to make some executables suid here.
+	dh_suidregister
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6c07320
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern				Version	Script
+ftp.dlut.edu.cn	/pub/PEOPLE/saka	autoconvert-(.*)\.tar\.gz	debian	uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/zh-autoconvert.git



More information about the Chinese-commits mailing list