summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2015-05-05 15:52:55 +0200
committerAndrew Shadura <andrewsh@debian.org>2015-05-05 15:52:55 +0200
commit7429b87bce3f45ec7fdecde62edc8d42516485e7 (patch)
tree250f3b690994aefec35224ba1bc93b45aa60fc32 /debian
plantuml (8024-1) unstable; urgency=medium
* Initial upload. # imported from the archive
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/clean1
-rw-r--r--debian/compat1
-rw-r--r--debian/control28
-rw-r--r--debian/copyright44
-rw-r--r--debian/dirs1
-rw-r--r--debian/install1
-rw-r--r--debian/manpages1
-rw-r--r--debian/plantuml.181
-rw-r--r--debian/plantuml.sh29
-rwxr-xr-xdebian/rules15
-rw-r--r--debian/source/format1
12 files changed, 208 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..070f6f1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+plantuml (8024-1) unstable; urgency=medium
+
+ * Initial upload.
+
+ -- Andrew Shadura <andrewsh@debian.org> Tue, 05 May 2015 15:52:55 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..20d5925
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+plantuml.jar
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..022680b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: plantuml
+Section: graphics
+Priority: optional
+Maintainer: Andrew Shadura <andrewsh@debian.org>
+Build-Depends:
+ ant, ant-contrib,
+ javacc,
+ debhelper (>= 9),
+ default-jdk
+Standards-Version: 3.9.6
+Homepage: http://plantuml.net/
+
+Package: plantuml
+Architecture: all
+Depends:
+ default-jre | openjdk-7-jre, graphviz, ${misc:Depends}
+Description: text-to-UML converter
+ PlantUML is a program allowing to draw UML diagrams, using a simple
+ human readable text description.
+ .
+ PlantUML supports the following diagram types:
+ - sequence diagram
+ - use case diagram
+ - class diagram
+ - activity diagram
+ - component diagram
+ - state diagram
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..14e4f34
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: plantuml
+Upstream-Contact: Arnaud Roques
+
+Files: *
+Copyright: 2009-2014, Arnaud Roques
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: debian/plantuml.*
+Copyright: 2010 Ilya Paramonov <ivparamonov@gmail.com>
+License: GPL-3+
+ This script 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This script 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 Lesser General Public
+ License for more details.
+ You should have received a copy of the GNU General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ USA.
+ .
+ The full text of the GPL is distributed in
+ /usr/share/common-licenses/GPL-3 on Debian systems.
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..27b123b
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+plantuml.jar usr/share/plantuml
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..8bf3465
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/plantuml.1
diff --git a/debian/plantuml.1 b/debian/plantuml.1
new file mode 100644
index 0000000..376bfa9
--- /dev/null
+++ b/debian/plantuml.1
@@ -0,0 +1,81 @@
+.TH PLANTUML 1 "March 8, 2010"
+.SH NAME
+plantuml \- program to generate UML diagram from a text description
+.SH SYNOPSIS
+.B plantuml
+.RI [ options ] " files/dirs" ...
+.SH DESCRIPTION
+\fIPlantUML\fP is used to draw UML diagram, using a simple and human readable text description.
+.PP
+Notice that \fBgraphviz\fP is required to be installed for generation of all
+diagrams but sequence diagrams.
+.PP
+When files/directories are given, they are processed in batch mode. Otherwise GUI
+window appears. It allows user to browse directories and view diagrams generated
+from suitable files (must have one of the following extensions: \fI.txt\fP,
+\fI.tex\fP, \fI.java\fP, \fI.htm\fP, \fI.html\fP, \fI.c\fP, \fI.h\fP, \fI.cpp\fP).
+.PP
+You can use the following wildcards in files/dirs:
+.TP
+.B *
+means any characters but '/'
+.TP
+.B ?
+one and only one character but '/'
+.TP
+.B **
+means any characters (used to recurse through directories)
+.SH OPTIONS
+.TP
+.B \-tsvg
+Generate images using SVG format.
+.TP
+\fB\-output\fI dir\fP, \fB\-o\fI dir
+Generate images in the specified directory.
+.TP
+\fB\-config\fI file
+Read the provided config file before each diagram.
+.TP
+\fB\-charset\fI xxx
+Use a specific charset (default is UTF\-8).
+.TP
+\fB\-exclude\fI pattern\fP, \fB\-x\fI pattern
+Exclude files that match the provided pattern.
+.TP
+.B \-metadata
+Retrieve \fIPlantUML\fP sources from PNG images.
+.TP
+.B \-version
+Display information about \fIPlantUML\fP and Java versions.
+.TP
+\fB\-verbose\fP, \fB\-v
+Have log information.
+.TP
+.B \-keepfiles
+NOT delete temporary files after process.
+.TP
+\fB\-help\fP, \fB\-h
+Display help message.
+.TP
+.B \-testdot
+Test the installation of \fBgraphviz\fP.
+.TP
+\fB\-graphvizdot\fI path
+Specify dot path.
+.TP
+\fB\-pipe\fP, \fB\-p
+Use stdin for \fIPlantUML\fP source and stdout for PNG/SVG generation.
+.TP
+.B \-computeurl
+Compute the encoded URL of a \fIPlantUML\fP source file.
+.TP
+.B \-decodeurl
+Retrieve the \fIPlantUML\fP source from an encoded URL.
+.SH SEE ALSO
+.BR graphviz (1).
+.br
+.SH AUTHOR
+\fIPlantUML\fP was written by Arnaud Roques <plantuml@gmail.com>.
+.PP
+This manual page was written by Ilya Paramonov <ivparamonov@gmail.com>,
+for the Debian project (and may be used by others).
diff --git a/debian/plantuml.sh b/debian/plantuml.sh
new file mode 100644
index 0000000..f7788dc
--- /dev/null
+++ b/debian/plantuml.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# PlantUML Launcher
+#
+# This script 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 3 of the License, or
+# (at your option) any later version.
+#
+# This script 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 Lesser General Public
+# License for more details.
+# You should have received a copy of the GNU General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
+#
+# Copyright (C) 2010 Ilya Paramonov <ivparamonov@gmail.com>
+
+if [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] ; then
+ JAVA="${JAVA_HOME}/bin/java"
+elif [ -x /usr/bin/java ] ; then
+ JAVA=/usr/bin/java
+else
+ echo Cannot find JVM
+ exit 1
+fi
+
+$JAVA -jar /usr/share/plantuml/plantuml.jar ${@}
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bb2b2b1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ rm -rf build dist
+
+override_dh_auto_build:
+ dh_auto_build -- dist
+
+override_dh_auto_install:
+ install -m 755 $(CURDIR)/debian/plantuml.sh $(CURDIR)/debian/plantuml/usr/bin/plantuml
+
+.PHONY: override_dh_auto_clean override_dh_auto_build override_dh_auto_install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)