forked from pool/swing-worker
Accepting request 241536 from Java:packages
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/241536 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/swing-worker?expand=0&rev=12
This commit is contained in:
parent
292bc52465
commit
64d333984d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 11 14:10:03 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner and do not version javadoc dir.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 15 14:12:59 CEST 2008 - mvyskocil@suse.cz
|
Mon Sep 15 14:12:59 CEST 2008 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package swing-worker (Version 1.2)
|
# spec file for package swing-worker
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,23 +15,21 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: swing-worker
|
Name: swing-worker
|
||||||
Version: 1.2
|
Version: 1.2
|
||||||
Release: 3
|
Release: 0
|
||||||
Summary: UI updates support for long running tasks
|
Summary: UI updates support for long running tasks
|
||||||
Group: Development/Libraries/Java
|
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
|
Group: Development/Libraries/Java
|
||||||
Url: https://swingworker.dev.java.net/
|
Url: https://swingworker.dev.java.net/
|
||||||
Source0: %{name}-src-%{version}.tar.bz2
|
Source0: %{name}-src-%{version}.tar.bz2
|
||||||
Source1: releasenotes.txt
|
Source1: releasenotes.txt
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: java-devel
|
||||||
|
Requires: jre >= 1.5
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: java-devel
|
|
||||||
BuildRequires: ant
|
|
||||||
Requires: jre >= 1.5
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SwingWorker is designed for situations where you need to have a long
|
SwingWorker is designed for situations where you need to have a long
|
||||||
@ -39,12 +37,9 @@ 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
|
either when done, or while processing. This project is a backport of
|
||||||
SwingWorker included into Java 1.6.
|
SwingWorker included into Java 1.6.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
License: LGPL-2.1+
|
|
||||||
Group: Development/Libraries/Java
|
|
||||||
Summary: UI updates support for long running tasks
|
Summary: UI updates support for long running tasks
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
SwingWorker is designed for situations where you need to have a long
|
SwingWorker is designed for situations where you need to have a long
|
||||||
@ -52,12 +47,9 @@ 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
|
either when done, or while processing. This project is a backport of
|
||||||
SwingWorker included into Java 1.6.
|
SwingWorker included into Java 1.6.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package demo
|
%package demo
|
||||||
License: LGPL-2.1+
|
|
||||||
Group: Development/Libraries/Java
|
|
||||||
Summary: UI updates support for long running tasks
|
Summary: UI updates support for long running tasks
|
||||||
|
Group: Development/Libraries/Java
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description demo
|
%description demo
|
||||||
@ -66,8 +58,6 @@ 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
|
either when done, or while processing. This project is a backport of
|
||||||
SwingWorker included into Java 1.6.
|
SwingWorker included into Java 1.6.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c %{name}-%{version}
|
%setup -q -c %{name}-%{version}
|
||||||
# remove all third party jars
|
# remove all third party jars
|
||||||
@ -77,24 +67,21 @@ cp %{SOURCE1} .
|
|||||||
sed -i -e 's/.$//' releasenotes.txt COPYING
|
sed -i -e 's/.$//' releasenotes.txt COPYING
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
|
ant \
|
||||||
|
-Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
|
||||||
bundles
|
bundles
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%{_javadir}
|
install -d -m 755 %{buildroot}/%{_javadir}
|
||||||
# jars
|
# jars
|
||||||
install -pm 644 dist/bundles/%{name}.jar $RPM_BUILD_ROOT/%{_javadir}/%{name}-%{version}.jar
|
install -pm 644 dist/bundles/%{name}.jar %{buildroot}/%{_javadir}/%{name}-%{version}.jar
|
||||||
(cd $RPM_BUILD_ROOT%{_javadir}/ && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done)
|
(cd %{buildroot}%{_javadir}/ && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done)
|
||||||
# javadoc
|
# javadoc
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version}
|
install -d -m 755 %{buildroot}/%{_javadocdir}/%{name}
|
||||||
cp -pr dist/javadoc/* $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version}
|
cp -pr dist/javadoc/* %{buildroot}/%{_javadocdir}/%{name}
|
||||||
ln -s %{name}-%{version} $RPM_BUILD_ROOT/%{_javadocdir}/%{name}
|
|
||||||
# demo
|
# demo
|
||||||
install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{version}
|
install -d %{buildroot}/%{_datadir}/%{name}
|
||||||
cp -pr src/demo $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{version}/
|
cp -pr src/demo %{buildroot}/%{_datadir}/%{name}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
@ -103,15 +90,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{_javadocdir}/%{name}-%{version}
|
|
||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{_datadir}/%{name}-%{version}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%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)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user