diff --git a/java-comment-preprocessor-6.1.4.tar.gz b/java-comment-preprocessor-6.1.4.tar.gz new file mode 100644 index 0000000..0221ad5 Binary files /dev/null and b/java-comment-preprocessor-6.1.4.tar.gz differ diff --git a/java-comment-preprocessor.spec b/java-comment-preprocessor.spec new file mode 100644 index 0000000..d5a5ce1 --- /dev/null +++ b/java-comment-preprocessor.spec @@ -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 - 6.1.4-3 +- Pakcage init