Name: miglayout Version: 4.2 Release: 17%{?dist} Summary: Versatile and flexible Swing layout manager URL: http://www.miglayout.com/ License: BSD # Hidden in maven.org labyrinth, so no download URL's Source0: miglayout-core-4.2-sources.jar Source1: miglayout-swing-4.2-sources.jar BuildArch: noarch BuildRequires: java-devel Requires: java # We no longer have an examples sub-package, note no provides as the examples # are no longer packaged, so we do not provide them Obsoletes: %{name}-examples < %{version}-%{release} %description MiGLayout is a versatile Swing layout manager. It uses String or API type-checked constraints to format the layout. MiGLayout can produce flowing, grid based, absolute (with links), grouped and docking layouts. MiGLayout is created to be to manually coded layouts what Matisse/GroupLayout is to IDE supported visual layouts. %package javadoc Summary: Javadocs for MiGLayout %description javadoc This package contains the API documentation for MiGLayout. %prep %setup -q -c %{name} unzip -oq %{SOURCE1} %build javac -encoding utf8 net/miginfocom/{layout,swing}/*.java jar cmf META-INF/MANIFEST.MF %{name}-core.jar net/miginfocom/layout/*.class jar cmf META-INF/MANIFEST.MF %{name}-swing.jar net/miginfocom/swing/*.class javadoc -Xdoclint:none -d doc net.miginfocom.{layout,swing} %install mkdir -p %{buildroot}%{_javadir} mkdir -p %{buildroot}%{_javadocdir} cp -a %{name}-*.jar %{buildroot}%{_javadir} cp -a doc %{buildroot}%{_javadocdir}/%{name} %files %{_javadir}/*.jar %files javadoc %doc %{_javadocdir}/%{name} %changelog * Thu Jan 20 2022 Fedora Release Engineering - 4.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 4.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 4.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 4.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 11 2020 Jiri Vanek - 4.2-13 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Wed Jan 29 2020 Fedora Release Engineering - 4.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 4.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 4.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 4.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 4.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 4.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 4.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jul 07 2015 Mat Booth - 4.2-4 - Fix FTBFS due to strict javadoc linting * Wed Jun 17 2015 Fedora Release Engineering - 4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jan 16 2015 Hans de Goede - 4.2-2 - Properly obsolete the no longer existing miglayout-examples package * Wed Oct 22 2014 Hans de Goede - 4.2-1 - Update to 4.2 release - Drop SWT support, as it is split out into a separate sources jar upstream - Drop examples, as they are split out into a separate sources jar upstream * Sat Jun 07 2014 Fedora Release Engineering - 4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 21 2014 Michael Simacek - 4.0-6 - Remove version from JAR name * Sat Aug 03 2013 Fedora Release Engineering - 4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Oct 08 2011 Eric Smith - 4.0-1 - Update to latest upstream. - Removed BuildRoot, clean, defattr, etc. * Tue Feb 08 2011 Fedora Release Engineering - 3.7.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Oct 18 2010 Eric Smith - 3.7.3.1-1 - initial version