2019-03-12 11:56:28 +01:00
|
|
|
#
|
|
|
|
# spec file for package plexus-interactivity
|
|
|
|
#
|
2024-02-20 16:00:58 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2019-03-12 11:56:28 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: plexus-interactivity
|
2024-06-13 11:11:11 +02:00
|
|
|
Version: 1.3
|
2019-03-12 11:56:28 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Plexus Interactivity Handler Component
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
URL: https://github.com/codehaus-plexus/plexus-interactivity
|
2024-06-13 11:11:11 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2019-03-12 11:56:28 +01:00
|
|
|
Source1: LICENSE.MIT
|
|
|
|
Source100: %{name}-build.tar.xz
|
|
|
|
BuildRequires: ant
|
2024-06-13 11:11:11 +02:00
|
|
|
BuildRequires: atinject
|
2019-03-12 11:56:28 +01:00
|
|
|
BuildRequires: fdupes
|
2024-02-20 16:00:58 +01:00
|
|
|
BuildRequires: javapackages-local >= 6
|
2019-03-12 11:56:28 +01:00
|
|
|
BuildRequires: plexus-utils
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2019-04-02 07:02:56 +02:00
|
|
|
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.
|
2019-03-12 11:56:28 +01:00
|
|
|
|
|
|
|
%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
|
2024-06-13 11:11:11 +02:00
|
|
|
Obsoletes: %{name}-jline
|
2019-03-12 11:56:28 +01:00
|
|
|
|
|
|
|
%description api
|
|
|
|
API module for %{name}.
|
|
|
|
|
2024-06-13 11:11:11 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -a100
|
2019-03-12 11:56:28 +01:00
|
|
|
|
2024-06-13 11:11:11 +02:00
|
|
|
%pom_add_dep org.eclipse.sisu:org.eclipse.sisu.plexus:0.9.0.M3 %{name}-api
|
2019-03-12 11:56:28 +01:00
|
|
|
|
2024-06-13 11:11:11 +02:00
|
|
|
%pom_remove_dep :jline-reader %{name}-api
|
|
|
|
rm -rf %{name}-api/src/main/java/org/codehaus/plexus/components/interactivity/jline
|
2019-03-12 11:56:28 +01:00
|
|
|
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir -p lib
|
2024-06-13 11:11:11 +02:00
|
|
|
build-jar-repository -s lib atinject plexus/utils
|
2019-03-12 11:56:28 +01:00
|
|
|
%{ant} package javadoc
|
|
|
|
|
|
|
|
%install
|
2024-06-13 11:11:11 +02:00
|
|
|
|
2019-03-12 11:56:28 +01:00
|
|
|
# jar
|
|
|
|
install -dm 0755 %{buildroot}%{_javadir}/plexus
|
2024-06-13 11:11:11 +02:00
|
|
|
install -pm 0644 %{name}-api/target/%{name}-api-%{version}.jar %{buildroot}%{_javadir}/plexus/interactivity-api.jar
|
|
|
|
|
2019-03-12 11:56:28 +01:00
|
|
|
# pom
|
|
|
|
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
|
2024-06-13 11:11:11 +02:00
|
|
|
%{mvn_install_pom} %{name}-api/pom.xml %{buildroot}%{_mavenpomdir}/plexus/interactivity-api.pom
|
|
|
|
%add_maven_depmap plexus/interactivity-api.pom plexus/interactivity-api.jar -f api
|
|
|
|
|
2019-03-12 11:56:28 +01:00
|
|
|
# javadoc
|
|
|
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
2024-06-13 11:11:11 +02:00
|
|
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}/api
|
|
|
|
cp -pr %{name}-api/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/api/
|
|
|
|
|
2019-03-12 11:56:28 +01:00
|
|
|
%fdupes -s %{buildroot}%{_javadocdir}
|
|
|
|
|
|
|
|
%files api -f .mfiles-api
|
|
|
|
%license LICENSE.MIT
|
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%license LICENSE.MIT
|
|
|
|
%{_javadocdir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|