73 lines
2.5 KiB
RPMSpec
73 lines
2.5 KiB
RPMSpec
%global commit_id e548f219775cf2e1ac2f6b2925feb0104ba2a039
|
|
|
|
Name: plexus-interactivity
|
|
Version: 1.0
|
|
Release: 2
|
|
Epoch: 0
|
|
Summary: Plexus Interactivity Handler Component
|
|
License: MIT
|
|
URL: https://github.com/codehaus-plexus/plexus-interactivity
|
|
Source0: https://codeload.github.com/codehaus-plexus/plexus-interactivity/zip/%{commit_id}
|
|
Source1: LICENSE.MIT
|
|
Patch0001: plexus-interactivity-dependencies.patch
|
|
Patch9001: plexus-interactivity-fix_build_error_in_jline.patch
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(org.codehaus.plexus:plexus-components:pom:)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-api) mvn(jline:jline) >= 2 maven-local
|
|
BuildArch: noarch
|
|
Provides: plexus-interactivity-api plexus-interactivity-jline plexus-interactivity-javadoc
|
|
Obsoletes: plexus-interactivity-api plexus-interactivity-jline plexus-interactivity-javadoc
|
|
|
|
%description
|
|
The Plexus project provides a full software stack for creating and executing
|
|
software projects. It provides a number of pre-built components for common
|
|
tasks and toolkits such as Jetty, Velocity, Hibernate, i18n, and many more.
|
|
However, Plexus is also able to reuse your existing components written for
|
|
other IoC frameworks such as Spring, Avalon and Pico Container unmodified,
|
|
as well as allowing you to reuse your existing code inside the Plexus
|
|
Container.
|
|
|
|
Plexus comes with an application server that can run your applications, making
|
|
it trivial to build a standalone executable distribution with common features
|
|
such as service execution if needed. However, Plexus applications can be run
|
|
in any environment by embedding the container in an existing application,
|
|
including Java EE applications or web applications.
|
|
|
|
%package help
|
|
Summary: Documentation for plexus-interactivity
|
|
|
|
%description help
|
|
Documentation for plexus-interactivity api.
|
|
|
|
%prep
|
|
unzip %{SOURCE0}
|
|
cd plexus-interactivity-%{commit_id}/
|
|
%patch1 -p1
|
|
%patch9001 -p1
|
|
cd -
|
|
cp %{SOURCE1} .
|
|
%mvn_file ":{plexus}-{*}" @1/@2
|
|
|
|
%build
|
|
cd plexus-interactivity-%{commit_id}/
|
|
%mvn_package ":plexus-interactivity"
|
|
%mvn_build -f -s
|
|
cd -
|
|
|
|
%install
|
|
cd plexus-interactivity-%{commit_id}/
|
|
%mvn_install
|
|
cd -
|
|
|
|
%files -f plexus-interactivity-%{commit_id}/.mfiles
|
|
%doc LICENSE.MIT
|
|
%{_javadir}/plexus-interactivity/*
|
|
%{_datadir}/maven-metadata/*
|
|
%{_datadir}/maven-poms/plexus-interactivity/*
|
|
|
|
%files help
|
|
%{_javadocdir}/plexus-interactivity
|
|
|
|
%changelog
|
|
* Fri Feb 14 2020 Ling Yang <lingyang2@huawei.com> - 0:1.0-2
|
|
- Package Init
|