commit 1c775476386593c47b09f77e9f8178d70e476571afbf37e28101f34a6e0adfb1 Author: OBS User unknown Date: Mon May 11 02:34:49 2009 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jline?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/CatalogManager.properties b/CatalogManager.properties new file mode 100644 index 0000000..6bca415 --- /dev/null +++ b/CatalogManager.properties @@ -0,0 +1,61 @@ +######################################################################## +# CatalogManager provides an interface to the catalog properties. +# Properties can come from two places: from system properties or +# from a CatalogManager.properties file. This class provides a +# transparent interface to both, with system properties preferred +# over property file values. + +####################################################################### +# Catalog Files: +# The semicolon-delimited list of catalog files. +# Example: catalogs=./xcatalog;/share/doctypes/catalog + +catalogs=/etc/xml/catalog;/etc/sgml/catalog + +####################################################################### +# Relative Catalogs: +# If false, relative catalog URIs are made absolute with respect to the +# base URI of the CatalogManager.properties file. This setting only +# applies to catalog URIs obtained from the catalogs property in the +# CatalogManager.properties file +# Example: relative-catalogs = [yes|no] + +relative-catalogs=yes + +####################################################################### +# Verbosity: +# If non-zero, the Catalog classes will print informative and debugging +# messages. The higher the number, the more messages. +# Example: verbosity = [0..99] + +verbosity=0 + +####################################################################### +# Prefer: +# Which identifier is preferred, "public" or "system"? +# Example: xml.catalog.prefer = [public|system] + +prefer=system + +####################################################################### +# Static-catalog: +# Should a single catalog be constructed for all parsing, or should a +# different catalog be created for each parser? +# Example: static-catalog = [yes|no] + +static-catalog=yes + +####################################################################### +# Allow-oasis-xml-catalog-pi +# If the source document contains "oasis-xml-catalog" processing +# instructions, should they be used? +# Example: allow-oasis-xml-catalog-pi = [yes|no] + +allow-oasis-xml-catalog-pi=yes + +####################################################################### +# catalog-class-name +# If you're using the convenience classes +# org.apache.xml.resolver.tools.*, this setting allows you to specify +# an alternate class name to use for the underlying catalog. +# Example: catalog-class-name=org.apache.xml.resolver.Resolver diff --git a/jline-0.9.94.pom b/jline-0.9.94.pom new file mode 100644 index 0000000..3050761 --- /dev/null +++ b/jline-0.9.94.pom @@ -0,0 +1,221 @@ + + + + + 4.0.0 + jline + jline + jar + JLine + 0.9.94 + JLine is a java library for reading and editing user input in console applications. It features tab-completion, command history, password masking, customizable keybindings, and pass-through handlers to use to chain to other console applications. + http://jline.sourceforge.net + + sourceforge + http://sourceforge.net/tracker/?group_id=64033&atid=506056 + + 2002 + + + JLine users + https://lists.sourceforge.net/lists/listinfo/jline-users + jline-users@lists.sourceforge.net + http://sourceforge.net/mailarchive/forum.php?forum=jline-users + + + + + + mprudhom + Marc Prud'hommeaux + mwp1@cornell.edu + + + + + BSD + LICENSE.txt + + + + scm:cvs:pserver:anonymous@jline.cvs.sourceforge.net:/cvsroot/jline:jline + scm:cvs:ext:${maven.username}@jline.cvs.sourceforge.net:/cvsroot/jline:jline + http://jline.cvs.sourceforge.net/jline + + + + junit + junit + 3.8.1 + compile + + + + + + + maven-surefire-plugin + + + false + false + + + + maven-compiler-plugin + + 1.3 + 1.3 + + + + maven-site-plugin + + ../site-staging + + + + maven-assembly-plugin + + + src/assembly/assembly.xml + + + + + + + + + Maven Snapshots + http://snapshots.repository.codehaus.org + true + false + + + + + + + org.codehaus.mojo + jxr-maven-plugin + + true + + + + org.apache.maven.plugins + maven-javadoc-plugin + + true + true + + http://java.sun.com/j2se/1.5.0/docs/api + + + + + maven-pmd-plugin + + + maven-project-info-reports-plugin + + + + + + + project-team + mailing-list + issue-tracking + license + scm + + + + + + org.codehaus.mojo + surefire-report-maven-plugin + + + + + + jline + scp://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/m2repo + + + jline + scp://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/m2snapshot + + + jline + jline + scpexe://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/ + + + diff --git a/jline-0.9.94.zip b/jline-0.9.94.zip new file mode 100644 index 0000000..024afee --- /dev/null +++ b/jline-0.9.94.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61488e908c3afa80833f262ba17df6199f3ea858862fd354e04aebc7433c1ed6 +size 771980 diff --git a/jline-build.xml b/jline-build.xml new file mode 100644 index 0000000..da9f4df --- /dev/null +++ b/jline-build.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ================================= WARNING ================================ + Junit isn't present in your $ANT_HOME/lib directory. Tests not executed. + ========================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jline.changes b/jline.changes new file mode 100644 index 0000000..3ca109c --- /dev/null +++ b/jline.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu May 7 11:04:53 CEST 2009 - mvyskocil@suse.cz + +- Initial SUSE packaging 0.9.94 from jpp 5.0 + diff --git a/jline.spec b/jline.spec new file mode 100644 index 0000000..4d30911 --- /dev/null +++ b/jline.spec @@ -0,0 +1,166 @@ +# +# spec file for package jline (Version 0.9.94) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} +%define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} +%define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} +%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} +%define _without_maven 1 +%bcond_without maven +%define section free +%define repo_dir .m2/repository + +Name: jline +Version: 0.9.94 +Release: 2 +Summary: Java library for reading and editing user input in console applications +License: BSD 3-Clause +Url: http://jline.sourceforge.net/ +Group: Development/Libraries/Java +Source0: http://download.sourceforge.net/sourceforge/jline/jline-0.9.94.zip +Source1: CatalogManager.properties +Source2: jline-build.xml +Source3: jline-0.9.94.pom +Requires: /bin/sh +Requires: /bin/stty +Requires(post): jpackage-utils +Requires(postun): jpackage-utils +BuildRequires: jpackage-utils >= 1.7.2 +BuildRequires: xml-commons-resolver +%if %with maven +BuildRequires: maven2 +BuildRequires: maven2-plugin-assembly +BuildRequires: maven2-plugin-compiler +BuildRequires: maven2-plugin-install +BuildRequires: maven2-plugin-jar +BuildRequires: maven2-plugin-javadoc +BuildRequires: maven2-plugin-resources +BuildRequires: maven2-plugin-site +BuildRequires: maven-release +BuildRequires: maven-surefire-plugin +%endif +BuildRequires: unzip +BuildRequires: ant +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +JLine is a java library for reading and editing user input in console +applications. It features tab-completion, command history, password +masking, customizable keybindings, and pass-through handlers to use to +chain to other console applications. + + + +%package demo +License: BSD 3-Clause +Summary: Java library for reading and editing user input in console applications +Group: Development/Libraries/Java + +%description demo +JLine is a java library for reading and editing user input in console +applications. It features tab-completion, command history, password +masking, customizable keybindings, and pass-through handlers to use to +chain to other console applications. + + + +%package javadoc +License: BSD 3-Clause +Summary: Java library for reading and editing user input in console applications +Group: Development/Libraries/Java + +%description javadoc +JLine is a java library for reading and editing user input in console +applications. It features tab-completion, command history, password +masking, customizable keybindings, and pass-through handlers to use to +chain to other console applications. + + + +%prep +# BEWARE: The jar file META-INF is not under the subdir +%setup -q -c +cp -pr %{name}-%{version}/* . +rm -r %{name}-%{version} +find -type f -name '*.jar' | xargs -t rm +# Use locally installed DTDs +mkdir -p build +cp -p %{SOURCE1} build/CatalogManager.properties +cp -p %{SOURCE2} src/build.xml +%if %without maven +perl -p -i -e 's|^.*