2009-05-26 04:26:51 +02:00
|
|
|
#
|
2011-09-23 10:19:20 +02:00
|
|
|
# spec file for package appframework
|
2009-05-26 04:26:51 +02:00
|
|
|
#
|
2024-02-20 12:50:46 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2009-05-26 04:26:51 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2024-02-20 12:50:46 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-05-26 04:26:51 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: appframework
|
|
|
|
Version: 1.03
|
2013-09-10 13:37:00 +02:00
|
|
|
Release: 0
|
2009-05-26 04:26:51 +02:00
|
|
|
Summary: Swing Application Framework
|
2018-05-15 15:40:58 +02:00
|
|
|
License: LGPL-2.0-or-later
|
2009-05-26 04:26:51 +02:00
|
|
|
Group: Development/Libraries/Java
|
2024-02-20 12:50:46 +01:00
|
|
|
URL: https://appframework.dev.java.net/
|
2009-05-26 04:26:51 +02:00
|
|
|
Source0: https://appframework.dev.java.net/downloads/AppFramework-%{version}-src.tar.bz2
|
|
|
|
Patch0: %{name}-%{version}-no-local-storage.diff
|
|
|
|
Patch1: %{name}-%{version}-openjdk.diff
|
2017-09-15 09:43:40 +02:00
|
|
|
Patch2: %{name}-sourcetarget.patch
|
2009-05-26 04:26:51 +02:00
|
|
|
BuildRequires: ant
|
2017-09-15 09:43:40 +02:00
|
|
|
BuildRequires: fdupes
|
2018-05-15 15:40:58 +02:00
|
|
|
BuildRequires: java-devel >= 1.8
|
2013-09-10 13:37:00 +02:00
|
|
|
BuildRequires: javapackages-tools
|
2009-05-26 04:26:51 +02:00
|
|
|
BuildRequires: swing-layout >= 1.0.3
|
2018-05-15 15:40:58 +02:00
|
|
|
Requires: java >= 1.8
|
2009-05-26 04:26:51 +02:00
|
|
|
Requires: swing-layout >= 1.0.3
|
2014-07-08 13:00:05 +02:00
|
|
|
BuildArch: noarch
|
2009-05-26 04:26:51 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The JSR-296 Swing Application Framework prototype implementation is a
|
|
|
|
small set of Java classes that simplify building desktop applications.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Swing Application Framework
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
The JSR-296 Swing Application Framework prototype implementation is a
|
|
|
|
small set of Java classes that simplify building desktop applications.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n AppFramework-%{version}
|
|
|
|
# remove all binary libs
|
2014-07-08 13:00:05 +02:00
|
|
|
find . -name "*.jar" -exec rm -f {} \;
|
2024-02-20 12:50:46 +01:00
|
|
|
%patch -P 0 -b .sav
|
|
|
|
%patch -P 1 -p1 -b .sav
|
|
|
|
%patch -P 2 -p1 -b .sav
|
2009-05-26 04:26:51 +02:00
|
|
|
|
|
|
|
%build
|
2017-05-21 10:03:59 +02:00
|
|
|
ant -Dlibs.swing-layout.classpath=%{_javadir}/swing-layout.jar dist
|
2009-05-26 04:26:51 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
# jar
|
2014-07-08 13:00:05 +02:00
|
|
|
install -d -m 755 %{buildroot}%{_javadir}
|
|
|
|
install -m 644 dist/AppFramework-1.03.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
|
|
|
ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
2009-05-26 04:26:51 +02:00
|
|
|
# javadoc
|
2017-05-21 10:03:59 +02:00
|
|
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
cp -pr dist/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
2017-09-15 09:43:40 +02:00
|
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
2009-05-26 04:26:51 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_javadir}/*
|
|
|
|
%doc COPYING README
|
|
|
|
|
|
|
|
%files javadoc
|
2017-05-21 10:03:59 +02:00
|
|
|
%dir %{_javadocdir}/%{name}
|
|
|
|
%{_javadocdir}/%{name}/*
|
2009-05-26 04:26:51 +02:00
|
|
|
|
|
|
|
%changelog
|