package init
This commit is contained in:
parent
55b2e68cfd
commit
ebca9d6064
44
jetty-version-maven-plugin.spec
Normal file
44
jetty-version-maven-plugin.spec
Normal file
@ -0,0 +1,44 @@
|
||||
Name: jetty-version-maven-plugin
|
||||
Version: 1.0.7
|
||||
Release: 1
|
||||
Summary: Jetty version management Maven plugin
|
||||
License: ASL 2.0 or EPL
|
||||
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
|
||||
* Thu Jul 30 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.0.7-1
|
||||
- Package init
|
||||
5
jetty-version-maven-plugin.yaml
Normal file
5
jetty-version-maven-plugin.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/jetty-project/jetty-version-maven-plugin
|
||||
version_control: github
|
||||
src_repo: jetty-project/jetty-version-maven-plugin
|
||||
tag_prefix: "jetty-version-maven-plugin-"
|
||||
seperator: "."
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user