48 lines
1.7 KiB
RPMSpec
48 lines
1.7 KiB
RPMSpec
Name: jetty-version-maven-plugin
|
|
Version: 1.0.7
|
|
Release: 2
|
|
Summary: Jetty version management Maven plugin
|
|
License: Apache-2.0 or EPL-1.0
|
|
URL: http://www.eclipse.org/jetty/
|
|
Source0: https://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/org.eclipse.jetty.toolchain-jetty-version-maven-plugin-1.0.7.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(org.apache.commons:commons-lang3)
|
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api) mvn(org.apache.maven:maven-project)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
|
BuildRequires: mvn(org.eclipse.jetty.toolchain:jetty-toolchain:pom:)
|
|
%description
|
|
Jetty version management Maven plugin
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
%description javadoc
|
|
%{summary}.
|
|
|
|
%prep
|
|
%setup -q -n org.eclipse.jetty.toolchain-jetty-version-maven-plugin-1.0.7
|
|
cp -p jetty-distribution-remote-resources/src/main/resources/* .
|
|
sed -i 's|edu.emory.mathcs.backport.||' \
|
|
jetty-version-maven-plugin/src/main/java/org/eclipse/jetty/toolchain/version/Release.java
|
|
|
|
%build
|
|
pushd %{name}
|
|
%mvn_build -f
|
|
|
|
%install
|
|
pushd %{name}
|
|
%mvn_install
|
|
|
|
%files -f %{name}/.mfiles
|
|
%dir %{_javadir}/%{name}
|
|
%doc LICENSE-APACHE-2.0.txt LICENSE-ECLIPSE-1.0.html notice.html
|
|
|
|
%files javadoc -f %{name}/.mfiles-javadoc
|
|
%doc LICENSE-APACHE-2.0.txt LICENSE-ECLIPSE-1.0.html notice.html
|
|
|
|
%changelog
|
|
* Wed Nov 09 2022 Ge Wang <wangge20@h-partners.com> - 1.0.7-2
|
|
- Bring source file into correspondence with described in spec file
|
|
|
|
* Thu Jul 30 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.0.7-1
|
|
- Package init
|