|
|
7d53fc |
Name: munge-maven-plugin
|
|
|
7d53fc |
Version: 1.0
|
|
|
7d53fc |
Release: 2%{?dist}
|
|
|
7d53fc |
Summary: Munge Maven Plugin
|
|
|
7d53fc |
License: CDDL
|
|
|
7d53fc |
URL: http://github.com/sonatype/munge-maven-plugin
|
|
|
7d53fc |
BuildArch: noarch
|
|
|
7d53fc |
|
|
|
7d53fc |
Source0: https://github.com/sonatype/munge-maven-plugin/archive/munge-maven-plugin-1.0.tar.gz
|
|
|
7d53fc |
|
|
|
7d53fc |
BuildRequires: maven-local
|
|
|
7d53fc |
BuildRequires: sonatype-plugins-parent
|
|
|
7d53fc |
|
|
|
7d53fc |
%description
|
|
|
7d53fc |
Munge is a purposely-simple Java preprocessor. It only supports
|
|
|
7d53fc |
conditional inclusion of source based on defined strings of the
|
|
|
7d53fc |
form "if[tag]", "if_not[tag]", "else[tag]", and "end[tag]".
|
|
|
7d53fc |
Unlike traditional preprocessors, comments, and formatting are all
|
|
|
7d53fc |
preserved for the included lines. This is on purpose, as the output
|
|
|
7d53fc |
of Munge will be distributed as human-readable source code.
|
|
|
7d53fc |
|
|
|
7d53fc |
To avoid creating a separate Java dialect, the conditional tags are
|
|
|
7d53fc |
contained in Java comments. This allows one build to compile the
|
|
|
7d53fc |
source files without pre-processing, to facilitate faster incremental
|
|
|
7d53fc |
development. Other builds from the same source have their code contained
|
|
|
7d53fc |
within that comment. The format of the tags is a little verbose, so
|
|
|
7d53fc |
that the tags won't accidentally be used by other comment readers
|
|
|
7d53fc |
such as javadoc. Munge tags must be in C-style comments;
|
|
|
7d53fc |
C++-style comments may be used to comment code within a comment.
|
|
|
7d53fc |
|
|
|
7d53fc |
Like any preprocessor, developers must be careful not to abuse its
|
|
|
7d53fc |
capabilities so that their code becomes unreadable. Please use it
|
|
|
7d53fc |
as little as possible.
|
|
|
7d53fc |
|
|
|
7d53fc |
%package javadoc
|
|
|
7d53fc |
Summary: API documentation for %{name}
|
|
|
7d53fc |
|
|
|
7d53fc |
%description javadoc
|
|
|
7d53fc |
This package provides %{summary}.
|
|
|
7d53fc |
|
|
|
7d53fc |
%prep
|
|
|
7d53fc |
%setup -q -n %{name}-%{name}-%{version}
|
|
|
7d53fc |
|
|
|
7d53fc |
%build
|
|
|
7d53fc |
%mvn_build
|
|
|
7d53fc |
|
|
|
7d53fc |
%install
|
|
|
7d53fc |
%mvn_install
|
|
|
7d53fc |
|
|
|
7d53fc |
%files -f .mfiles
|
|
|
7d53fc |
%doc LICENSE README
|
|
|
7d53fc |
|
|
|
7d53fc |
%files javadoc -f .mfiles-javadoc
|
|
|
7d53fc |
%doc LICENSE
|
|
|
7d53fc |
|
|
|
7d53fc |
%changelog
|
|
|
7d53fc |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-2
|
|
|
7d53fc |
- Mass rebuild 2013-12-27
|
|
|
7d53fc |
|
|
|
7d53fc |
* Tue Sep 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-1
|
|
|
7d53fc |
- Initial packaging
|