commit 336de7f2b16736e86dbb6282e22dfe5a5bd943ec3ed7350ebe93a28313156c44 Author: Fridrich Strba Date: Thu Aug 27 15:01:04 2020 +0000 OBS-URL: https://build.opensuse.org/package/show/Java:packages/java-comment-preprocessor?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc 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..1c58d8e --- /dev/null +++ b/java-comment-preprocessor-6.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5763b6a84987e7587c1ea138b1b7dd8b9111a82e79756c7e4d16e7df4dbfa53a +size 2643139 diff --git a/java-comment-preprocessor.changes b/java-comment-preprocessor.changes new file mode 100644 index 0000000..e964207 --- /dev/null +++ b/java-comment-preprocessor.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Aug 27 14:58:02 UTC 2020 - Fridrich Strba + +- Initial packaging of java-comment-preprocessor 6.1.4 diff --git a/java-comment-preprocessor.spec b/java-comment-preprocessor.spec new file mode 100644 index 0000000..6c965c9 --- /dev/null +++ b/java-comment-preprocessor.spec @@ -0,0 +1,77 @@ +# +# spec file for package java-comment-preprocessor +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: java-comment-preprocessor +Version: 6.1.4 +Release: 0 +Summary: The Most Powerful Multi-Pass Java Preprocessor +License: Apache-2.0 +URL: https://github.com/raydac/java-comment-preprocessor +Source0: https://github.com/raydac/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: maven-local fdupes +BuildRequires: mvn(commons-codec:commons-codec) +BuildRequires: mvn(commons-io:commons-io) +BuildRequires: mvn(org.apache.ant:ant) +BuildRequires: mvn(org.apache.commons:commons-lang3) +BuildRequires: mvn(org.apache.maven:maven-core) +BuildRequires: mvn(org.apache.maven:maven-plugin-api) +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) +BuildArch: noarch + +%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 javadoc +Summary: API docs for %{name} + +%description javadoc +This package contains the API Documentation for %{name}. + +%prep +%setup -q + +# remove unpackaged and dangerous deps +%pom_remove_plugin :animal-sniffer-maven-plugin +%pom_remove_plugin :maven-shade-plugin +%pom_remove_plugin :maven-enforcer-plugin +%pom_remove_plugin :maven-surefire-plugin + +# remove any binary libs +find -name "*.jar" -or -name "*.class" | xargs rm -f + +%build +%{mvn_build} -f -- -P'!metacheck' -Dsource=8 + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license texts/LICENSE-2.0.txt +%doc texts/readme.txt + +%files javadoc -f .mfiles-javadoc +%license texts/LICENSE-2.0.txt + +%changelog