%define shortname forms Name: jgoodies-forms Version: 1.9.0 Release: 13%{?dist} Summary: Framework to lay out and implement elegant Swing panels in Java # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://www.jgoodies.com/freeware/libraries/forms/ # Upstream no longer distributes the library under an Open Source license. Latest # Open Source release is taken from Maven Central Source0: https://repo1.maven.org/maven2/com/jgoodies/%{name}/%{version}/%{name}-%{version}-sources.jar Source1: https://repo1.maven.org/maven2/com/jgoodies/%{name}/%{version}/%{name}-%{version}.pom BuildRequires: maven-local BuildRequires: mvn(com.jgoodies:jgoodies-common) BuildArch: noarch ExclusiveArch: %{java_arches} noarch %description The JGoodies Forms framework helps you lay out and implement elegant Swing panels quickly and consistently. It makes simple things easy and the hard stuff possible, the good design easy and the bad difficult. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %autosetup -c mkdir -p src/main/java/ mv com/ src/main/java/ cp %{SOURCE1} pom.xml # Remove unnecessary dependency on parent POM %pom_remove_parent # Remove useless dependency on JUnit (no test available) %pom_remove_dep junit:junit %mvn_file :%{name} %{name} %{name} # Fix source/target version for JDK 17 %pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" "1.8" %pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" "1.8" %build %mvn_build %install %mvn_install %files -f .mfiles %files javadoc -f .mfiles-javadoc %changelog * Mon Sep 02 2024 Miroslav Suchý - 1.9.0-13 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 1.9.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Feb 27 2024 Jiri Vanek - 1.9.0-11 - Rebuilt for java-21-openjdk as system jdk * Wed Jan 24 2024 Fedora Release Engineering - 1.9.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.9.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.9.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.9.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 08 2022 Jiri Vanek - 1.9.0-5 - Rebuilt for Drop i686 JDKs * Fri Feb 18 2022 Mohamed El Morabity - 1.9.0-4 - Fix build with JDK 17 * Sat Feb 05 2022 Jiri Vanek - 1.9.0-3 - Rebuilt for java-17-openjdk as system jdk * Thu Jan 20 2022 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Mohamed El Morabity - 1.9.0-1 - Update to 1.9.0 * Thu Jul 22 2021 Fedora Release Engineering - 1.8.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.8.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 30 2020 Fabio Valentini - 1.8.0-14 - Remove unnecessary dependency on parent POM. * Tue Jul 28 2020 Fedora Release Engineering - 1.8.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Jiri Vanek - 1.8.0-12 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Wed Jan 29 2020 Fedora Release Engineering - 1.8.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.8.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.8.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.8.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.8.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.8.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 17 2017 Mohamed El Morabity - 1.8.0-5 - Add missing BR on mvn(org.sonatype.oss:oss-parent:pom:) - Spec cleanup * Fri Feb 10 2017 Fedora Release Engineering - 1.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 13 2014 Mohamed El Morabity - 1.8.0-1 - Update to 1.8.0 * Sun Jun 08 2014 Fedora Release Engineering - 1.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Feb 12 2014 Mohamed El Morabity - 1.7.2-1 - Update to 1.7.2 * Fri Aug 16 2013 Mohamed El Morabity - 1.7.1-3 - Update for newer guidelines * Sat Aug 03 2013 Fedora Release Engineering - 1.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat May 11 2013 Mohamed El Morabity - 1.7.1-1 - Update to 1.7.1 * Wed Feb 06 2013 Java SIG - 1.6.0-2 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Wed Jan 02 2013 Mohamed El Morabity - 1.6.0-1 - Update to 1.6.0 * Thu Jul 19 2012 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu May 10 2012 Mohamed El Morabity - 1.5.1-1 - Update to 1.5.1 * Wed Feb 15 2012 Mohamed El Morabity - 1.5.0-1 - Update to 1.5.0 * Fri Jan 13 2012 Fedora Release Engineering - 1.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Dec 16 2011 Mohamed El Morabity - 1.4.2-1 - Update to 1.4.2 - Spec cleanup * Wed Feb 09 2011 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon May 19 2008 Mary Ellen Foster 1.2.0-1 - Update to 1.2.0 * Tue Oct 16 2007 Mary Ellen Foster 1.1.0-2 - Fix encoding on HTML files - Use empty CLASSPATH when building - Fix indentation in spec file * Wed Sep 5 2007 Mary Ellen Foster 1.1.0-1 - Initial version for Fedora, based on JPackage spec by Eric Lavarde