commit
9adbb290f2
BIN
1.6.tar.gz
Normal file
BIN
1.6.tar.gz
Normal file
Binary file not shown.
46
replacer.spec
Normal file
46
replacer.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
Name: replacer
|
||||||
|
Version: 1.6
|
||||||
|
Release: 1
|
||||||
|
Summary: Replacer Maven Mojo
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/beiliubei/maven-replacer-plugin
|
||||||
|
Source0: https://github.com/beiliubei/maven-replacer-plugin/archive/%{version}.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(commons-io:commons-io) mvn(commons-lang:commons-lang)
|
||||||
|
BuildRequires: mvn(org.apache.ant:ant) mvn(org.apache.maven:maven-plugin-api)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) mvn(xerces:xercesImpl)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Maven plugin to replace tokens in a given file with a value.
|
||||||
|
This plugin is also used to automatically generating PackageVersion.java
|
||||||
|
in the FasterXML.com project.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n maven-replacer-plugin-%{version}
|
||||||
|
%pom_remove_plugin :dashboard-maven-plugin
|
||||||
|
%pom_remove_plugin :maven-assembly-plugin
|
||||||
|
%mvn_file :%{name} %{name}
|
||||||
|
%mvn_alias :%{name} com.google.code.maven-replacer-plugin:maven-replacer-plugin
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -f
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 30 2020 wangyue <wangyue92@huawei.com> - 1.6-1
|
||||||
|
- package init
|
||||||
5
replacer.yaml
Normal file
5
replacer.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/beiliubei/maven-replacer-plugin
|
||||||
|
version_control: github
|
||||||
|
src_repo: beiliubei/maven-replacer-plugin
|
||||||
|
tag_prefix: "^"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user