66 lines
2.2 KiB
RPMSpec
66 lines
2.2 KiB
RPMSpec
Name: plexus-utils
|
|
Version: 3.3.0
|
|
Release: 1
|
|
Summary: Plexus Common Utilities
|
|
License: ASL 1.1 and ASL 2.0 and xpp and BSD and Public Domain
|
|
URL: https://codehaus-plexus.github.io/plexus-utils/
|
|
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
|
|
Source1: http://apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
|
|
|
%description
|
|
A collection of various utility classes to ease working with strings,
|
|
files, command lines, XML and more.
|
|
|
|
%package help
|
|
Summary: Documents for plexus-utils
|
|
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
|
|
%description help
|
|
The plexus-utils-help package contains related documents.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{name}-%{version} -p1
|
|
cp %{SOURCE1} .
|
|
|
|
%mvn_file : plexus/utils
|
|
%mvn_alias : plexus:plexus-utils
|
|
|
|
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
|
|
%pom_xpath_inject "pom:build/pom:plugins" "
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<instructions>
|
|
<_nouses>true</_nouses>
|
|
<Export-Package>org.codehaus.plexus.util.*;org.codehaus.plexus.util.cli.*;org.codehaus.plexus.util.cli.shell.*;org.codehaus.plexus.util.dag.*;org.codehaus.plexus.util.introspection.*;org.codehaus.plexus.util.io.*;org.codehaus.plexus.util.reflection.*;org.codehaus.plexus.util.xml.*;org.codehaus.plexus.util.xml.pull.*</Export-Package>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>"
|
|
|
|
%build
|
|
%mvn_build -f
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc NOTICE.txt LICENSE-2.0.txt
|
|
|
|
%files help -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Thu Dec 30 2021 yaoxin <yaoxin30@huawei.com> - 3.3.0-1
|
|
- Upgrade plexus-archiver to 4.2.6 fails and need to upgrade plexus-utils to 3.3.0 to resolve it.
|
|
|
|
* Thu Dec 05 2019 Jiangping Hu <hujiangping@huawei.com> - 3.1.0-4
|
|
- Package init
|