java-skinlf/java-skinlf.spec

52 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: java-skinlf
Version: 6.7
Release: 2mamba
Summary: Skin Look And Feel
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/skinlf/
Source0: https://sources.archlinux.org/other/community/java-skinlf/skinlf-%{version}-20060722.zip
License: Apache Software License 1.1, Apache Software License 2.0, zlib
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: javapackages
Requires: javapackages
%description
Skin Look And Feel is a java framework that is able to read GTK (The Gimp ToolKit) and KDE (The K Desktop Environment) skins to enhance your application.
SkinLF supports GUI controls such as Buttons, Checks, Radios, Scrollbars, Progress Bar, Lists, Tables, Internal Frames, Colors, Background Textures, Regular Windows.
%prep
%setup -q -n skinlf-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D --mode=644 lib/skinlf.jar %{buildroot}%{_javadir}/skinlf-%{version}.jar
install -D --mode=644 lib/nativeskin.jar %{buildroot}%{_javadir}/nativeskin-%{version}.jar
ln -s skinlf-%{version}.jar %{buildroot}%{_javadir}/skinlf.jar
ln -s nativeskin-%{version}.jar %{buildroot}%{_javadir}/nativeskin.jar
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/skinlf-%{version}.jar
%{_javadir}/skinlf.jar
%{_javadir}/nativeskin-%{version}.jar
%{_javadir}/nativeskin.jar
%doc AUTHORS LICENSE*
%changelog
* Sun May 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.7-2mamba
- restored as requirement for scilab, use binary jars
* Wed Apr 22 2009 gil <puntogil@libero.it> 6.7-1mamba
- package created by autospec