Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
swing-layout
swing-layout.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File swing-layout.spec of Package swing-layout
# # spec file for package swing-layout # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: swing-layout Summary: Natural layout for Swing panels License: LGPL-2.1+ Group: Development/Languages/Java Url: https://swing-layout.dev.java.net/ Version: 1.0.3 Release: 0 BuildRequires: ant # ant variable %if ! 0%{?suse_version} %define ant JAVA_HOME=/usr/lib/jvm/java ant %endif %if 0%{?centos_version} || 0%{?fedora} BuildRequires: java-devel >= 1.6.0 %else BuildRequires: java-devel BuildRequires: update-alternatives %endif BuildRequires: javapackages-tools %if 0%{?mandriva_version} BuildRequires: xml-commons-apis BuildRequires: xml-commons-jaxp-1.3-apis BuildRequires: xml-commons-resolver12 %else BuildRequires: xml-commons-apis BuildRequires: xml-commons-resolver %endif Requires: jre >= 1.5 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}-src.tar.bz2 %description Swing Layout Extensions goal is to make it easy to create professional cross platform layouts with Swing. This project has an eye towards the needs of GUI builders, such as NetBeans. This project consists of the following pieces: * Ability to get the baseline for components. * Ability to get the preferred gap between components. A new LayoutManager that utilizes both of these concepts and is tuned toward a free-form drag and drop layout model as can be provided by GUI builders. %package javadoc Summary: Natural layout for Swing panels Group: Development/Languages/Java %description javadoc Swing Layout Extensions goal is to make it easy to create professional cross platform layouts with Swing. This project has an eye towards the needs of GUI builders, such as NetBeans. This project consists of the following pieces: * Ability to get the baseline for components. * Ability to get the preferred gap between components. A new LayoutManager that utilizes both of these concepts and is tuned toward a free-form drag and drop layout model as can be provided by GUI builders. %prep %setup -q -n %{name}-%{version} # wrong end of line encoding sed -i -e 's/.$//' releaseNotes.txt COPYING %build unset CLASSPATH export CLASSPATH=%{java_home}/jre/lib/rt.jar %ant jar javadoc %install # jars %__install -dm 755 %{buildroot}%{_javadir} %__install -m 644 dist/%{name}.jar \ %{buildroot}%{_javadir}/%{name}-%{version}.jar pushd %{buildroot}%{_javadir} for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"` done popd # javadoc %__install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version} %__cp -pr dist/javadoc/* \ %{buildroot}%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # ghost symlink %clean [ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc releaseNotes.txt COPYING %{_javadir}/%{name}*.jar %files javadoc %defattr(644,root,root,755) %doc %{_javadocdir}/%{name}-%{version} %doc %{_javadocdir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor