diff --git a/jline-0.9.94.pom b/jline-0.9.94.pom deleted file mode 100644 index 3050761..0000000 --- a/jline-0.9.94.pom +++ /dev/null @@ -1,221 +0,0 @@ - - - - - 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 deleted file mode 100644 index 024afee..0000000 --- a/jline-0.9.94.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61488e908c3afa80833f262ba17df6199f3ea858862fd354e04aebc7433c1ed6 -size 771980 diff --git a/jline-1.0.zip b/jline-1.0.zip new file mode 100644 index 0000000..c58a838 --- /dev/null +++ b/jline-1.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:761458d1541a44e678b3847917116a90001cf5cd22287c24c55dcf2c69ec73ca +size 463082 diff --git a/jline-build.xml b/jline-build.xml deleted file mode 100644 index da9f4df..0000000 --- a/jline-build.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ================================= WARNING ================================ - Junit isn't present in your $ANT_HOME/lib directory. Tests not executed. - ========================================================================== - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jline.spec b/jline.spec deleted file mode 100644 index 2579a9f..0000000 --- a/jline.spec +++ /dev/null @@ -1,86 +0,0 @@ -# -# spec file for package jline -# -# Copyright (c) 2017 SUSE LINUX 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/ -# - - -Name: jline -Version: 0.9.94 -Release: 0 -Summary: Java library for reading and editing user input in console applications -License: BSD-3-Clause -Group: Development/Libraries/Java -Url: http://jline.sourceforge.net/ -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 -BuildRequires: ant -BuildRequires: java-devel -BuildRequires: javapackages-tools -BuildRequires: unzip -BuildRequires: xml-commons-resolver -#!BuildIgnore: antlr -#!BuildIgnore: antlr-java -BuildArch: noarch - -%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 -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. - -%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 -perl -p -i -e 's|^.* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jline.changes b/jline1.changes similarity index 89% rename from jline.changes rename to jline1.changes index e55ad83..a15fcda 100644 --- a/jline.changes +++ b/jline1.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 12 13:31:09 UTC 2019 - Fridrich Strba + +- Rename to jline1 and upgrade to 1.0 +- Package it as a compatibility version + ------------------------------------------------------------------- Wed Sep 27 16:55:31 UTC 2017 - fstrba@suse.com diff --git a/jline1.spec b/jline1.spec new file mode 100644 index 0000000..b075e1f --- /dev/null +++ b/jline1.spec @@ -0,0 +1,98 @@ +# +# spec file for package jline1 +# +# Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ +# + + +%global artifactId jline +Name: %{artifactId}1 +Version: 1.0 +Release: 0 +Summary: Java library for reading and editing user input in console applications +License: BSD-3-Clause +Group: Development/Libraries/Java +URL: http://jline.sourceforge.net/ +Source0: http://download.sourceforge.net/sourceforge/%{artifactId}/%{artifactId}-%{version}.zip +Source1: CatalogManager.properties +Source2: %{name}-build.xml +BuildRequires: ant +BuildRequires: ant-junit +BuildRequires: fdupes +BuildRequires: javapackages-local +BuildRequires: unzip +BuildRequires: xml-commons-resolver +#!BuildIgnore: antlr +#!BuildIgnore: antlr-java + +%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 javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML +BuildArch: noarch + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n %{artifactId}-%{version} + +# Make sure upstream hasn't sneaked in any jars we don't know about +find -name '*.class' -exec rm -f '{}' \; +find -name '*.jar' -exec rm -f '{}' \; + +# Remove pre-built Windows-only binary artifacts +rm src/src/main/resources/jline/jline*.dll + +# Use locally installed DTDs +mkdir build +cp -p %{SOURCE1} build/ + +cp -p %{SOURCE2} src/build.xml + +%build +# Use locally installed DTDs +export CLASSPATH=%{_builddir}/%{name}-%{version}/build + +mv src tmp +mv tmp/* . + +%{ant} jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_jnidir}/%{name} +install -pm 0644 target/%{artifactId}-%{version}.jar %{buildroot}%{_jnidir}/%{name}/%{artifactId}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifactId}.pom +%add_maven_depmap %{name}/%{artifactId}.pom %{name}/%{artifactId}.jar -v %{version},1 +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} + + +%files -f .mfiles +%license LICENSE.txt + +%files javadoc +%{_javadocdir} + +%changelog