Name: swing-layout Version: 1.0.4 Release: 2%{?dist} Summary: Natural layout for Swing panels Group: Development/Libraries License: LGPLv2 URL: https://swing-layout.dev.java.net/ # Need to register to download, from url above Source0: %{name}-%{version}-src.zip BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: jpackage-utils >= 1.6 BuildRequires: java-devel >= 1.3 BuildRequires: ant BuildRequires: dos2unix Requires: java >= 1.3 BuildArch: noarch %description Extensions to Swing to create professional cross platform layout. %package javadoc Summary: Javadoc documentation for Swing Layout Group: Documentation %description javadoc Documentation for Swing Layout code. %prep %setup -q dos2unix releaseNotes.txt %build %{ant} jar javadoc dist %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_javadir} \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} install -m 644 dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir} ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar cp -pr dist/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_javadir}/%{name}*.jar %doc releaseNotes.txt %files javadoc %defattr(-,root,root) %{_javadocdir}/%{name}-%{version} %changelog * Fri Mar 5 2010 Alexander Kurtakov 1.0.4-2 - Drop gcj_support. * Tue Jan 26 2010 Victor G. Vasilyev - 1.0.4-1 - 1.0.4 * Sun Jul 26 2009 Fedora Release Engineering - 1.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Apr 03 2008 Lubomir Kundrak - 1.0.3-2 - gcj bits - no insane javadoc links * Tue Feb 19 2008 Lubomir Kundrak - 1.0.3-1 - 1.0.3 - Major specfile cleanup for Fedora * Tue Feb 19 2008 Lubomir Kundrak - 0:1.0-1jpp - Shamelessly stolen this from JPackage 1.6 without proper ChangeLog entry * Mon Nov 12 2005 Jaroslav Tulach - 0:0.9-1jpp - First packaged release.