freepwing (1.5-1) debian-dir only changes

Summary

 debian/changelog |   59 ++++++++++++++++++++++++++++++
 debian/compat    |    1 
 debian/control   |   17 ++++++++
 debian/copyright |   26 +++++++++++++
 debian/dirs      |    2 +
 debian/docs      |    2 +
 debian/fpwmake.1 |   34 +++++++++++++++++
 debian/rules     |  108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 249 insertions(+)

    
download this patch

Patch contents

--- freepwing-1.5.orig/debian/copyright
+++ freepwing-1.5/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Masayuki Hatta (mhatta) <mhatta@debian.org> on
+Sat,  7 Feb 2004 23:12:29 +0900.
+
+It was downloaded from ftp://ftp.sra.co.jp/pub/misc/freepwing/
+
+Upstream Author: Motoyuki Kasahara <m-kasahr@sra.co.jp>
+
+Copyright: Copyright (c) 1999- Motoyuki Kasahara, All Rights Reserved. 
+
+   This package 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; version 2 dated June, 1991.
+
+   This package 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 package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+   02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- freepwing-1.5.orig/debian/docs
+++ freepwing-1.5/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- freepwing-1.5.orig/debian/changelog
+++ freepwing-1.5/debian/changelog
@@ -0,0 +1,59 @@
+freepwing (1.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Bumped to Standards-Version: 3.8.0.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Thu, 17 Jul 2008 08:34:27 +0900
+
+freepwing (1.4.4-3) unstable; urgency=low
+
+  * Bumped to Standards-Version: 3.7.3.
+  * Fixed various lintian warnings.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Fri, 07 Dec 2007 05:37:13 +0900
+
+freepwing (1.4.4-2) unstable; urgency=low
+
+  * Oops, I really fixed a typo this time.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Sat, 14 Oct 2006 12:47:19 +0900
+
+freepwing (1.4.4-1) unstable; urgency=low
+
+  * New upstream release - closes: #356376
+  * Fixed a typo in description - closes: #363459
+  * Bumped to Standards-Version: 3.7.2.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Sat, 14 Oct 2006 12:40:39 +0900
+
+freepwing (1.4.3-1) unstable; urgency=low
+
+  * New maintainer.
+  * New upstream release - closes: #144467
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Sat,  7 Feb 2004 23:12:29 +0900
+
+freepwing (1.3.1-1) unstable; urgency=low
+
+  * New upstream release (closes: #93300)
+  * Rebuilt to update perl dependencies (closes: #80726)
+  * Added doc-base.
+
+ -- Masato Taruishi <taru@debian.org>  Mon,  9 Apr 2001 14:26:15 +0900
+
+freepwing (1.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Masato Taruishi <taru@debian.org>  Tue, 24 Oct 2000 19:39:22 +0900
+
+freepwing (1.2.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Masato Taruishi <taru@debian.org>  Sun, 15 Oct 2000 23:19:57 +0900
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address "taru@debian.org"
+End:
--- freepwing-1.5.orig/debian/compat
+++ freepwing-1.5/debian/compat
@@ -0,0 +1 @@
+4
--- freepwing-1.5.orig/debian/control
+++ freepwing-1.5/debian/control
@@ -0,0 +1,17 @@
+Source: freepwing
+Section: utils
+Priority: optional
+Maintainer: Masayuki Hatta (mhatta) <mhatta@debian.org>
+Build-Depends: debhelper (>= 4.0.0), perl
+Standards-Version: 3.8.0
+
+Package: freepwing
+Architecture: all
+Depends: make, perl
+Description: EB to JIS X 4081 converter
+ This program translates data in various "Electric Book" (popular in
+ Japan) formats into a single JIS X 4081 format.  JIS X 4081 is a
+ subset of the EPWING V1, which is the standardized format for electric
+ publishing.  Thus after conversion, you can read such data with your
+ favorite EPWING viewer without worrying which formats your data
+ originally were.
--- freepwing-1.5.orig/debian/fpwmake.1
+++ freepwing-1.5/debian/fpwmake.1
@@ -0,0 +1,34 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREEPWING 1 "2·î  7, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+fpwmake \- a wrapper for FreePWING
+.SH SYNOPSIS
+.B fpwmake
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B fpwmake
+and
+.B bar
+commands.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+Instead, it has documentation in HTML format; see /usr/share/doc/freepwing/.
+.SH AUTHOR
+This manual page was written by Masayuki Hatta (mhatta) <mhatta@debian.org>,
+for the Debian project (but may be used by others).
--- freepwing-1.5.orig/debian/dirs
+++ freepwing-1.5/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+
--- freepwing-1.5.orig/debian/rules
+++ freepwing-1.5/debian/rules
@@ -0,0 +1,108 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# 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
+
+
+# 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
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
+	--libexecdir=/usr/share --with-perllibdir=/usr/share/perl5
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/freepwing.sgml > freepwing.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/freepwing.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/freepwing
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i ChangeLog
+	dh_installdocs -i
+	dh_installexamples -i
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman -i debian/fpwmake.1
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install