58 lines
2.0 KiB
RPMSpec
58 lines
2.0 KiB
RPMSpec
Name: java-comment-preprocessor
|
|
Version: 6.1.4
|
|
Release: 4
|
|
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
|
|
Patch0000: java-comment-preprocessor-6.1.4-revert-junit5.patch
|
|
|
|
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
|
|
* Fri Sep 4 2020 leiju<leiju4@huawei.com> - 6.1.4-4
|
|
- started migration to Junit 5
|
|
|
|
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 6.1.4-3
|
|
- Pakcage init
|