!1 plexus-component-api: openEuler init
Merge pull request !1 from gu-gu-gu/pravite
This commit is contained in:
commit
33722293e4
BIN
plexus-component-api-1.0-alpha-15.tar.gz
Normal file
BIN
plexus-component-api-1.0-alpha-15.tar.gz
Normal file
Binary file not shown.
43
plexus-component-api.spec
Normal file
43
plexus-component-api.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
Name: plexus-component-api
|
||||||
|
Version: 1.0
|
||||||
|
Release: 0.25.alpha16
|
||||||
|
License: ASL 2.0
|
||||||
|
Summary: Plexus Component API
|
||||||
|
URL: https://mvnrepository.com/artifact/org.codehaus.plexus/plexus-component-api
|
||||||
|
Source0: %{name}-1.0-alpha-15.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: java-devel >= 1:1.6.0 maven-local maven-assembly-plugin maven-resources-plugin
|
||||||
|
BuildRequires: maven-plugin-plugin plexus-classworlds plexus-containers
|
||||||
|
|
||||||
|
%description
|
||||||
|
Utilities for the Plexus framework.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: This package contains help documents
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Provides: plexus-component-api-javadoc = %{version}-%{release}
|
||||||
|
Obsoletes: plexus-component-api-javadoc < %{version}-%{release}
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Files for help with plexus-component-api.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-1.0-alpha-15 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%pre help
|
||||||
|
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
|
||||||
|
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%dir %{_javadir}/%{name}
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Dec 05 2019 gulining<gulining1@huawei.com> - 1.0-0.25.alpha16
|
||||||
|
- Pakcage init
|
||||||
Loading…
x
Reference in New Issue
Block a user