commit
ee9498861b
BIN
java-comment-preprocessor-6.1.4.tar.gz
Normal file
BIN
java-comment-preprocessor-6.1.4.tar.gz
Normal file
Binary file not shown.
54
java-comment-preprocessor.spec
Normal file
54
java-comment-preprocessor.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
Name: java-comment-preprocessor
|
||||||
|
Version: 6.1.4
|
||||||
|
Release: 3
|
||||||
|
Summary: The Most Powerful Multi-Pass Java Preprocessor
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/raydac/java-comment-preprocessor
|
||||||
|
Source0: https://github.com/raydac/%name/archive/%version/%name-%version.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: maven-local mvn(commons-io:commons-io) mvn(org.apache.ant:ant)
|
||||||
|
BuildRequires: mvn(org.apache.commons:commons-lang3) mvn(org.apache.maven:maven-core)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||||
|
BuildRequires: mvn(org.apache.maven.shared:file-management)
|
||||||
|
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
|
||||||
|
|
||||||
|
%description
|
||||||
|
It is the most powerful multi-pass preprocessor for Java but also it can be used everywhere for
|
||||||
|
text processing if the destination technology supports Java like comment definitions.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: API docs for %{name}
|
||||||
|
Provides: %{name}-javadoc = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||||
|
|
||||||
|
%description help
|
||||||
|
The package provides API documents for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%pom_remove_plugin :animal-sniffer-maven-plugin pom.xml
|
||||||
|
%pom_remove_plugin :maven-shade-plugin pom.xml
|
||||||
|
find -name "*.jar" -or -name "*.class" -delete
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -f -- -P'!metacheck'
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license texts/LICENSE-2.0.txt
|
||||||
|
%doc texts/readme.txt
|
||||||
|
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 6.1.4-3
|
||||||
|
- Pakcage init
|
||||||
Loading…
x
Reference in New Issue
Block a user