%define debug_package %{nil} Name: nailgun Version: 0.9.1 Release: 15%{?dist} Summary: Framework for running Java from the cli without the JVM startup overhead License: ASL 2.0 URL: http://martiansoftware.com/nailgun/ # https://github.com/martylamb/nailgun/archive/nailgun-all-0.9.1.zip Source0: %{name}-%{name}-all-%{version}.zip BuildRequires: maven-local %description Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead. Programs run in the server (which is implemented in Java), and are triggered by the client (written in C), which handles all I/O. %package javadoc Summary: Javadocs for %{name} BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-all-%{version} find ./ -name '*.jar' -exec rm -f '{}' \; find ./ -name '*.class' -exec rm -f '{}' \; # drop unnecessary dependency on deprecated parent POM %pom_remove_parent %pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-source-plugin # remove maven-compiler-plugin configuration that is broken with Java 11 %pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration' %build %mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 %install %mvn_install %files -f .mfiles %doc README.md %files javadoc -f .mfiles-javadoc %changelog * Sat Jul 18 2020 Fabio Valentini - 0.9.1-15 - Drop unnecessary dependency on deprecated parent POM. - Set javac source and target to 1.8 to fix Java 11 builds. * Sat Jul 11 2020 Jiri Vanek - 0.9.1-14 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Wed Jan 29 2020 Fedora Release Engineering - 0.9.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.9.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.9.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Oct 22 2018 Mat Booth - 0.9.1-10 - Fix FTBFS rhbz#1583294, rhbz#1604919 * Fri Jul 13 2018 Fedora Release Engineering - 0.9.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.9.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.9.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Merlin Mathesius - 0.9.1-4 - Add missing BuildRequires and upstream patch to fix FTBFS (BZ#1406179). * Thu Feb 04 2016 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Dec 03 2014 Mo Morsi - 0.9.1-1 - Update to nailgun 0.9.1 * Sun Aug 17 2014 Fedora Release Engineering - 0.7.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.7.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 0.7.1-10 - Use Requires: java-headless rebuild (#1067528) * Mon Sep 02 2013 Mat Booth - 0.7.1-9 - Drop dep on ant-trax, rhbz #992319 - Adapt to newer guidelines - Fix bogus changelog date * Sat Aug 03 2013 Fedora Release Engineering - 0.7.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.7.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon May 24 2010 - 0.7.1-3 - added necessary missing java-devel >= 1:1.6.0 BR * Tue Apr 27 2010 - 0.7.1-2 - removed deprecated gcj bits - removed empty debuginfo package - marked javadoc package as noarch * Tue Jan 20 2009 - 0.7.1-1 - Initial build.