java-flexdock/java-flexdock.spec

66 lines
2.0 KiB
RPMSpec

%define javahome /usr/lib/jvm/java
Name: java-flexdock
Version: 1.2.4
Release: 1mamba
Summary: A Java docking framework for use in cross-platform Swing applications
Group: System/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://forge.scilab.org/index.php/p/flexdock/
Source: http://forge.scilab.org/index.php/p/flexdock/downloads/get/flexdock-%{version}.jar
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: javapackages
%description
A Java docking framework for use in cross-platform Swing applications. It offers features you'd expect in any desktop docking framework such as:
* Tabbed and Split Layouts
* Drag-n-Drop capability (with native drag rubber band painting on some platforms)
* Floating windows
* Collapsible Containers to Save Real Estate
* Layout Persistence
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
%description javadoc
A Java docking framework for use in cross-platform Swing applications.
This package contains documentation for %{name}.
%prep
%setup -q -c -D -T
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0644 %{SOURCE0} %{buildroot}%{_javadir}/flexdock-%{version}.jar
ln -sf flexdock-%{version}.jar %{buildroot}%{_javadir}/flexdock.jar
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/flexdock-%{version}.jar
%{_javadir}/flexdock.jar
%changelog
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-1mamba
- update to 1.2.4
* Fri Feb 04 2011 gil <puntogil@libero.it> 0.5.2-1mamba
- update to 0.5.2
* Fri Feb 04 2011 gil <puntogil@libero.it> 0.5.1-2mamba
- rebuilt with openjdk support
- add sub package: javadoc
- rebuilt with system libraries
- built libRubberBand
* Fri Nov 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> src-1mamba
- package created by autospec