SHA256
1
0
forked from pool/swing-worker
OBS User unknown 2008-09-18 02:48:35 +00:00 committed by Git OBS Bridge
commit 1eeb73e212
7 changed files with 164 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

0
ready Normal file
View File

10
releasenotes.txt Normal file
View File

@ -0,0 +1,10 @@
Release notes for swingworker (http://swingworker.dev.java.net)
1.2 Release (2008/07/025)
--------------------------
issue 5 (6557137 [SwingWorker does not change the state to DONE on exception in done])
1.1 Release (2007/03/01)
--------------------------
issue 4 [SwingWorker in Applets, Reload problems]
backport 6493680 [SwingWorker notifications might be out of order]

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2158d524acf5a1015186382ec857635b159cafdca3dfbad79b79e19cd2f2aba6
size 20089

10
swing-worker.changes Normal file
View File

@ -0,0 +1,10 @@
-------------------------------------------------------------------
Mon Sep 15 14:12:59 CEST 2008 - mvyskocil@suse.cz
- -target=1.5 -source=1.5
-------------------------------------------------------------------
Thu Aug 21 11:31:43 CEST 2008 - mvyskocil@suse.cz
- Initial packaging (version 1.2)

117
swing-worker.spec Normal file
View File

@ -0,0 +1,117 @@
#
# spec file for package swing-worker (Version 1.2)
#
# Copyright (c) 2008 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-worker
Version: 1.2
Release: 3
Summary: UI updates support for long running tasks
Group: Development/Libraries/Java
License: LGPL v2.1 or later
Url: https://swingworker.dev.java.net/
Source0: %{name}-src-%{version}.tar.bz2
Source1: releasenotes.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: java-devel
BuildRequires: ant
Requires: jre >= 1.5
%description
SwingWorker is designed for situations where you need to have a long
running task run in a background thread and provide updates to the UI
either when done, or while processing. This project is a backport of
SwingWorker included into Java 1.6.
%package javadoc
License: LGPL v2.1 or later
Group: Development/Libraries/Java
Summary: UI updates support for long running tasks
%description javadoc
SwingWorker is designed for situations where you need to have a long
running task run in a background thread and provide updates to the UI
either when done, or while processing. This project is a backport of
SwingWorker included into Java 1.6.
%package demo
License: LGPL v2.1 or later
Group: Development/Libraries/Java
Summary: UI updates support for long running tasks
Requires: %{name} = %{version}-%{release}
%description demo
SwingWorker is designed for situations where you need to have a long
running task run in a background thread and provide updates to the UI
either when done, or while processing. This project is a backport of
SwingWorker included into Java 1.6.
%prep
%setup -q -c %{name}-%{version}
# remove all third party jars
find . -iname '*.jar' | xargs rm -rf
cp %{SOURCE1} .
# wrong end of line encoding
sed -i -e 's/.$//' releasenotes.txt COPYING
%build
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
bundles
%install
install -d -m 755 $RPM_BUILD_ROOT/%{_javadir}
# jars
install -pm 644 dist/bundles/%{name}.jar $RPM_BUILD_ROOT/%{_javadir}/%{name}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir}/ && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done)
# javadoc
install -d -m 755 $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version}
cp -pr dist/javadoc/* $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT/%{_javadocdir}/%{name}
# demo
install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{version}
cp -pr src/demo $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{version}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0644,root,root,0755)
%doc COPYING releasenotes.txt
%{_javadir}/*.jar
%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}
%files demo
%defattr(0644,root,root,0755)
%{_datadir}/%{name}-%{version}
%changelog
* Mon Sep 15 2008 mvyskocil@suse.cz
- -target=1.5 -source=1.5
* Thu Aug 21 2008 mvyskocil@suse.cz
- Initial packaging (version 1.2)