Sync from SUSE:SLFO:Main plexus-interactivity revision 3ae27a3cf26c44bed19735571c122506
This commit is contained in:
commit
b06fef49ed
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
21
LICENSE.MIT
Normal file
21
LICENSE.MIT
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2005, The Codehaus
|
||||
|
||||
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.
|
BIN
plexus-interactivity-1.0-alpha-6-src.tar.xz
(Stored with Git LFS)
Normal file
BIN
plexus-interactivity-1.0-alpha-6-src.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
plexus-interactivity-build.tar.xz
(Stored with Git LFS)
Normal file
BIN
plexus-interactivity-build.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
16
plexus-interactivity-dependencies.patch
Normal file
16
plexus-interactivity-dependencies.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/plexus-interactivity-api/pom.xml b/plexus-interactivity-api/pom.xml
|
||||
index 84e659e..943d7e4 100644
|
||||
--- a/plexus-interactivity-api/pom.xml
|
||||
+++ b/plexus-interactivity-api/pom.xml
|
||||
@@ -11,6 +11,11 @@
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
+ <artifactId>plexus-component-api</artifactId>
|
||||
+ <version>1.0-alpha-15</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
<version>1.4</version>
|
||||
</dependency>
|
33
plexus-interactivity-jline2.patch
Normal file
33
plexus-interactivity-jline2.patch
Normal file
@ -0,0 +1,33 @@
|
||||
diff --git a/plexus-interactivity-jline/pom.xml b/plexus-interactivity-jline/pom.xml
|
||||
index fc9b185..afffd1d 100644
|
||||
--- a/plexus-interactivity-jline/pom.xml
|
||||
+++ b/plexus-interactivity-jline/pom.xml
|
||||
@@ -12,7 +12,7 @@
|
||||
<dependency>
|
||||
<groupId>jline</groupId>
|
||||
<artifactId>jline</artifactId>
|
||||
- <version>0.9.1</version>
|
||||
+ <version>2.10</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
@@ -20,4 +20,4 @@
|
||||
<version>1.0-alpha-6</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
-</project>
|
||||
\ No newline at end of file
|
||||
+</project>
|
||||
diff --git a/plexus-interactivity-jline/src/main/java/org/codehaus/plexus/components/interactivity/jline/JLineInputHandler.java b/plexus-interactivity-jline/src/main/java/org/codehaus/plexus/components/interactivity/jline/JLineInputHandler.java
|
||||
index 69e7b78..2a23942 100755
|
||||
--- a/plexus-interactivity-jline/src/main/java/org/codehaus/plexus/components/interactivity/jline/JLineInputHandler.java
|
||||
+++ b/plexus-interactivity-jline/src/main/java/org/codehaus/plexus/components/interactivity/jline/JLineInputHandler.java
|
||||
@@ -24,7 +24,7 @@ package org.codehaus.plexus.components.interactivity.jline;
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
-import jline.ConsoleReader;
|
||||
+import jline.console.ConsoleReader;
|
||||
import org.codehaus.plexus.components.interactivity.AbstractInputHandler;
|
||||
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
|
||||
import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;
|
15
plexus-interactivity.changes
Normal file
15
plexus-interactivity.changes
Normal file
@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 20 17:37:26 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 1 23:13:32 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Describe package, not the project vision.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 10:55:15 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Intial packaging of plexus-interactivity 1.0-alpha-6
|
||||
- Generate and customize ant build files
|
125
plexus-interactivity.spec
Normal file
125
plexus-interactivity.spec
Normal file
@ -0,0 +1,125 @@
|
||||
#
|
||||
# spec file for package plexus-interactivity
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# 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 base_ver 1.0
|
||||
%global alpha_ver 6
|
||||
%global namedversion %{base_ver}-alpha-%{alpha_ver}
|
||||
Name: plexus-interactivity
|
||||
Version: %{base_ver}~alpha%{alpha_ver}
|
||||
Release: 0
|
||||
Summary: Plexus Interactivity Handler Component
|
||||
License: MIT
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://github.com/codehaus-plexus/plexus-interactivity
|
||||
# svn export \
|
||||
# http://svn.codehaus.org/plexus/plexus-components/tags/plexus-interactivity-1.0-alpha-6/
|
||||
# tar caf plexus-interactivity-1.0-alpha-6-src.tar.xz \
|
||||
# plexus-interactivity-1.0-alpha-6
|
||||
Source0: %{name}-%{namedversion}-src.tar.xz
|
||||
Source1: LICENSE.MIT
|
||||
Source100: %{name}-build.tar.xz
|
||||
Patch1: %{name}-dependencies.patch
|
||||
Patch2: %{name}-jline2.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: jline >= 2
|
||||
BuildRequires: plexus-component-api
|
||||
BuildRequires: plexus-utils
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Plexus contains end-to-end developer tools for writing applications.
|
||||
At the core is the container, which can be embedded or for an
|
||||
application server. There are many reusable components for hibernate,
|
||||
form processing, jndi, i18n, velocity, etc. Plexus also includes an
|
||||
application server which is like a J2EE application server.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description javadoc
|
||||
This package provides %{summary}.
|
||||
|
||||
%package api
|
||||
Summary: API for %{name}
|
||||
Group: Development/Libraries/Java
|
||||
Requires: mvn(org.codehaus.plexus:plexus-component-api)
|
||||
Requires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
|
||||
%description api
|
||||
API module for %{name}.
|
||||
|
||||
%package jline
|
||||
Summary: jline module for %{name}
|
||||
Group: Development/Libraries/Java
|
||||
Requires: plexus-interactivity-api = %{version}
|
||||
Requires: mvn(jline:jline)
|
||||
|
||||
%description jline
|
||||
jline module for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{namedversion} -a100
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
cp %{SOURCE1} .
|
||||
|
||||
for i in api jline; do
|
||||
%pom_xpath_inject "pom:project" "<groupId>org.codehaus.plexus</groupId>" %{name}-${i}
|
||||
%pom_remove_parent %{name}-${i}
|
||||
done
|
||||
|
||||
%build
|
||||
mkdir -p lib
|
||||
build-jar-repository -s lib jline plexus-component-api plexus/utils
|
||||
%{ant} package javadoc
|
||||
|
||||
%install
|
||||
# jar
|
||||
install -dm 0755 %{buildroot}%{_javadir}/plexus
|
||||
for i in api jline; do
|
||||
install -pm 0644 %{name}-${i}/target/%{name}-${i}-%{namedversion}.jar %{buildroot}%{_javadir}/plexus/interactivity-${i}.jar
|
||||
done
|
||||
# pom
|
||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
|
||||
for i in api jline; do
|
||||
install -pm 0644 %{name}-${i}/pom.xml %{buildroot}%{_mavenpomdir}/plexus/interactivity-${i}.pom
|
||||
%add_maven_depmap plexus/interactivity-${i}.pom plexus/interactivity-${i}.jar -f ${i}
|
||||
done
|
||||
# javadoc
|
||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||
for i in api jline; do
|
||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}/${i}
|
||||
cp -pr %{name}-${i}/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/${i}/
|
||||
done
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
|
||||
%files api -f .mfiles-api
|
||||
%license LICENSE.MIT
|
||||
|
||||
%files jline -f .mfiles-jline
|
||||
%license LICENSE.MIT
|
||||
|
||||
%files javadoc
|
||||
%license LICENSE.MIT
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user