diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a60749b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/munge-maven-plugin-1.0.tar.gz diff --git a/.rh-maven35-munge-maven-plugin.metadata b/.rh-maven35-munge-maven-plugin.metadata new file mode 100644 index 0000000..273ecd6 --- /dev/null +++ b/.rh-maven35-munge-maven-plugin.metadata @@ -0,0 +1 @@ +fa2f7ba99156f241fa44cf756ed53725093242a1 SOURCES/munge-maven-plugin-1.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/munge-maven-plugin.spec b/SPECS/munge-maven-plugin.spec new file mode 100644 index 0000000..b52f66c --- /dev/null +++ b/SPECS/munge-maven-plugin.spec @@ -0,0 +1,94 @@ +%{?scl:%scl_package munge-maven-plugin} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}munge-maven-plugin +Version: 1.0 +Release: 8.2%{?dist} +Summary: Munge Maven Plugin +License: CDDL +URL: http://github.com/sonatype/munge-maven-plugin +BuildArch: noarch + +Source0: https://github.com/sonatype/munge-maven-plugin/archive/munge-maven-plugin-1.0.tar.gz + +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix}mvn(junit:junit) +BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-core) +BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api) +BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugins:maven-source-plugin) +BuildRequires: %{?scl_prefix}mvn(org.sonatype.plugins:plugins-parent:pom:) +BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugins:maven-plugin-plugin) + +%description +Munge is a purposely-simple Java preprocessor. It only supports +conditional inclusion of source based on defined strings of the +form "if[tag]", "if_not[tag]", "else[tag]", and "end[tag]". +Unlike traditional preprocessors, comments, and formatting are all +preserved for the included lines. This is on purpose, as the output +of Munge will be distributed as human-readable source code. + +To avoid creating a separate Java dialect, the conditional tags are +contained in Java comments. This allows one build to compile the +source files without pre-processing, to facilitate faster incremental +development. Other builds from the same source have their code contained +within that comment. The format of the tags is a little verbose, so +that the tags won't accidentally be used by other comment readers +such as javadoc. Munge tags must be in C-style comments; +C++-style comments may be used to comment code within a comment. + +Like any preprocessor, developers must be careful not to abuse its +capabilities so that their code becomes unreadable. Please use it +as little as possible. + +%package javadoc +Summary: API documentation for %{pkg_name} + +%description javadoc +This package provides %{summary}. + +%prep +%setup -q -n %{pkg_name}-%{pkg_name}-%{version} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%dir %{_javadir}/%{pkg_name} +%doc LICENSE README + +%files javadoc -f .mfiles-javadoc +%doc LICENSE + +%changelog +* Thu Jun 22 2017 Michael Simacek - 1.0-8.2 +- Mass rebuild 2017-06-22 + +* Wed Jun 21 2017 Java Maintainers - 1.0-8.1 +- Automated package import and SCL-ization + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jun 15 2016 Mikolaj Izdebski - 1.0-7 +- Regenerate build-requires + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 04 2014 Stanislav Ochotnicky - 1.0-3 +- Use Requires: java-headless rebuild (#1067528) + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.0-2 +- Fix unowned directory + +* Tue Sep 10 2013 Mikolaj Izdebski - 1.0-1 +- Initial packaging