Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
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 (Version 1.0.3) # # Copyright (c) 2009 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/ # # norootforbuild Name: swing-layout Summary: Natural layout for Swing panels Group: Development/Languages/Java Url: https://swing-layout.dev.java.net/ Version: 1.0.3 Release: 12 License: LGPL-2.1+ BuildRequires: ant BuildRequires: java-devel BuildRequires: jpackage-utils >= 1.5 BuildRequires: update-alternatives BuildRequires: xml-commons-apis BuildRequires: xml-commons-resolver 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 License: LGPL-2.1+ 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 * Tue Aug 19 2008 mvyskocil@suse.cz - Initial packaging of 1.0.3 (based on Packman)
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