diff options
author | Pavel Kajaba <pkajaba@redhat.com> | 2016-01-12 11:36:34 +0100 |
---|---|---|
committer | Pavel Kajaba <pkajaba@redhat.com> | 2016-01-12 11:36:34 +0100 |
commit | f4a2c3e34b4f13472bb28c6eca518affbb0b2770 (patch) | |
tree | 5eb6dfd4b4e802ef33415b00ae3e88ec50008af7 | |
parent | 9cce3d40ca91d4b980e1cab1d07dba0b6f452986 (diff) | |
download | java-comment-preprocessor-f4a2c3e34b4f13472bb28c6eca518affbb0b2770.tar.gz java-comment-preprocessor-f4a2c3e34b4f13472bb28c6eca518affbb0b2770.tar.xz java-comment-preprocessor-f4a2c3e34b4f13472bb28c6eca518affbb0b2770.zip |
Edit build requirements for tests
-rw-r--r--[l---------] | java-comment-preprocessor.spec | 66 |
1 files changed, 65 insertions, 1 deletions
diff --git a/java-comment-preprocessor.spec b/java-comment-preprocessor.spec index 3b65f88..5e958b8 120000..100644 --- a/java-comment-preprocessor.spec +++ b/java-comment-preprocessor.spec @@ -1 +1,65 @@ -../../fedora/java-comment-preprocessor/java-comment-preprocessor.spec
\ No newline at end of file +%global section devel + +Summary: The Most Powerful Multi-Pass Java Preprocessor +Name: java-comment-preprocessor +Version: 6.0.1 +Release: 1%{?dist} +License: ASL 2.0 + +URL: https://github.com/raydac/java-comment-preprocessor +Source0: https://github.com/raydac/java-comment-preprocessor/archive/%{version}.tar.gz + +BuildArch: noarch +BuildRequires: jpackage-utils +BuildRequires: java-devel >= 1:1.8 +BuildRequires: maven-local +BuildRequires: exec-maven-plugin +BuildRequires: maven-shade-plugin +# Test requirements +BuildRequires: maven-shared-jar +BuildRequires: ant-testutil +BuildRequires: maven-verifier +BuildRequires: mockito +Requires: jpackage-utils +Requires: java-headless >= 1:1.8 + +%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} +Group: Documentation + +%description javadoc +This package contains the API Documentation for %{name}. + +%prep + +%setup -c -q +mv -f %{name}-%{version}/* . + +%pom_remove_plugin :animal-sniffer-maven-plugin pom.xml + +# remove any binary libs +find -name "*.jar" -or -name "*.class" | xargs rm -f + +%build +%mvn_build + +%install +%mvn_install + +%check + +%files -f .mfiles +%doc texts/LICENSE-2.0.txt texts/readme.txt + +%files javadoc +%doc texts/LICENSE-2.0.txt +%doc %{_javadocdir}/%{name} + +%changelog +* Tue Jan 5 2016 Pavel Kajaba <pkajaba@redhat.com> +- Initial creation of java-comment-preprocessor package |