44 lines
1.2 KiB
RPMSpec
44 lines
1.2 KiB
RPMSpec
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-tools 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
|