[DRE-commits] r2644 - packages-wip/libpdf-writer-ruby/trunk/debian

gwolf at alioth.debian.org gwolf at alioth.debian.org
Tue Apr 8 00:06:39 UTC 2008


Author: gwolf
Date: 2008-04-08 00:06:38 +0000 (Tue, 08 Apr 2008)
New Revision: 2644

Added:
   packages-wip/libpdf-writer-ruby/trunk/debian/techbook.1
Modified:
   packages-wip/libpdf-writer-ruby/trunk/debian/changelog
   packages-wip/libpdf-writer-ruby/trunk/debian/control
   packages-wip/libpdf-writer-ruby/trunk/debian/rules
Log:
Ready for first upload?


Modified: packages-wip/libpdf-writer-ruby/trunk/debian/changelog
===================================================================
--- packages-wip/libpdf-writer-ruby/trunk/debian/changelog	2008-04-07 18:28:44 UTC (rev 2643)
+++ packages-wip/libpdf-writer-ruby/trunk/debian/changelog	2008-04-08 00:06:38 UTC (rev 2644)
@@ -1,11 +1,11 @@
-libpdf-writer-ruby (1.1.3+dfsg-1) UNRELEASED; urgency=low
+libpdf-writer-ruby (1.1.7+dfsg-1) unstable; urgency=low
 
-  * NOT RELEASED YET
   * Initial upload (Closes: #442087)
   * Thanks to Arnaud Cornet for his comments regarding this packaging!
   * Weeded out some non-DFSG files (although this will mean repackaging
     upstream always as +dfsg)
   * Added a couple of checks in debian/rules to avoid us goofing up and
     _not_ repackaging the files to stay dfsg-clean ;-) )
+  * Wrote the manpage for /usr/bin/techbook
 
  -- Gunnar Wolf <gwolf at debian.org>  Thu, 06 Dec 2007 15:11:28 -0600

Modified: packages-wip/libpdf-writer-ruby/trunk/debian/control
===================================================================
--- packages-wip/libpdf-writer-ruby/trunk/debian/control	2008-04-07 18:28:44 UTC (rev 2643)
+++ packages-wip/libpdf-writer-ruby/trunk/debian/control	2008-04-08 00:06:38 UTC (rev 2644)
@@ -5,7 +5,10 @@
 Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Build-Depends: ruby-pkg-tools (>= 0.8), cdbs, debhelper (>= 5)
 Build-Depends-Indep: ruby1.8, rdoc
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
+Homepage: http://ruby-pdf.rubyforge.org/pdf-writer/
+Vcs-Svn: svn://svn.debian.org/pkg-ruby-extras/libpdf-writer-ruby/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-ruby-extras/libpdf-writer-ruby/trunk/
 
 Package: libpdf-writer-ruby
 Architecture: all

Modified: packages-wip/libpdf-writer-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libpdf-writer-ruby/trunk/debian/rules	2008-04-07 18:28:44 UTC (rev 2643)
+++ packages-wip/libpdf-writer-ruby/trunk/debian/rules	2008-04-08 00:06:38 UTC (rev 2644)
@@ -9,3 +9,14 @@
 	[ $$(md5sum images/bluesmoke.jpg | cut -f 1 -d ' ') = 0586eca5af7523ab871609eceb44724a ] || false
 	[ $$(md5sum images/chunkybacon.jpg | cut -f 1 -d ' ') = a000b1917142ce332fd3474f0722cd6f ] || false
 	[ $$(md5sum images/chunkybacon.png | cut -f 1 -d ' ') = 927feec1cbbf23c4d89a4a5ad88e6d0f ] || false
+	# In build/libpdf-writer-doc:: we are building the manual as a PDF.
+	# Remove it if it exists.
+	[ ! -f manual.pdf ] || rm manual.pdf
+
+build/libpdf-writer-ruby1.8::
+	dh_installman --package=libpdf-writer-ruby1.8 debian/techbook.1
+
+install/libpdf-writer-ruby-doc::
+	# Build the documentation PDF
+	/usr/bin/ruby -I  ./debian/libpdf-writer-ruby1.8/ ./bin/techbook -n manual.pwd
+	dh_installdocs --package=libpdf-writer-ruby-doc manual.pdf 

Added: packages-wip/libpdf-writer-ruby/trunk/debian/techbook.1
===================================================================
--- packages-wip/libpdf-writer-ruby/trunk/debian/techbook.1	                        (rev 0)
+++ packages-wip/libpdf-writer-ruby/trunk/debian/techbook.1	2008-04-08 00:06:38 UTC (rev 2644)
@@ -0,0 +1,42 @@
+.TH techbook 1
+.SH NAME
+techbook - Call the TechBook markup language interpreter
+.SH SYNOPSIS
+.B techbook
+[options] [INPUT FILE]
+.SH DESCRIPTION
+\f\ITechBook\fP is a simple markup language. This command compiles a
+TechBook document into a PDF, using Ruby's \&\fIPDF::Writer\fR\|
+module. 
+.SH OPTIONS
+\fItechbook\fP can be called using the following options:
+.TP 8
+.B  \-n, \-\-no\-cache
+By default, the techbook command will generate the PDF document and a
+cached version of the document. If the input file is "test.pwd", then
+both "test.pdf" and "test._mc" will be generated. This switch disables
+the generation of the _mc file.
+.TP 8
+.B  \-f, \-\-force\-regen
+If the input file is older than the generated cache document (if one
+exists), then the techbook command will regenerate the document. This
+option forces the cache to be regenerated.
+.TP 8
+.B  \-z, \-\-compress
+The resulting PDF is by default not compressed. Specifying this option
+compresses the PDF. It can only be applied if the document is being
+generated from the original document, not from a cached version.
+.TP 8
+.B  INPUT FILE
+Specifies the source filename to be processed. If no input file is
+specified, it defaults to \f\Imanual.pwd\fP.
+.SH SEE ALSO
+This description was basically copied over from Ruby's
+\fIPDF::Writer\fP manual, which can be found in Debian's
+\fIlibpdf-writer-ruby-doc\fP package, under
+\fI/usr/share/doc/libpdf-writer-ruby-doc/\fP
+.SH AUTHOR
+This manual page was written by Gunnar Wolf <gwolf at debian.org>, for
+the Debian GNU/linux system (but may be used by others).
+.PP
+PDF::Writer is Copyright © 2003-2005 Austin Ziegler.




More information about the Pkg-ruby-extras-commits mailing list