java-comment-preprocessor/java-comment-preprocessor.spec

58 lines
2.0 KiB
RPMSpec
Raw Normal View History

2020-03-06 21:53:07 +08:00
Name: java-comment-preprocessor
Version: 6.1.4
2020-09-04 16:04:57 +08:00
Release: 4
2020-03-06 21:53:07 +08:00
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
2020-09-04 16:04:57 +08:00
Patch0000: java-comment-preprocessor-6.1.4-revert-junit5.patch
2020-03-06 21:53:07 +08:00
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
2020-09-04 16:04:57 +08:00
* Fri Sep 4 2020 leiju<leiju4@huawei.com> - 6.1.4-4
- started migration to Junit 5
2020-03-06 21:53:07 +08:00
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 6.1.4-3
- Pakcage init