forked from pool/appframework
- Do not depend on ant-nodeps.
OBS-URL: https://build.opensuse.org/package/show/Java:packages/appframework?expand=0&rev=15
This commit is contained in:
parent
56168f78f1
commit
249dab0411
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 10:59:55 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Do not depend on ant-nodeps.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 9 11:05:30 UTC 2013 - tchvatal@suse.com
|
Mon Sep 9 11:05:30 UTC 2013 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package appframework
|
# spec file for package appframework
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 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
|
||||||
@ -28,22 +28,19 @@ Patch0: %{name}-%{version}-no-local-storage.diff
|
|||||||
Patch1: %{name}-%{version}-openjdk.diff
|
Patch1: %{name}-%{version}-openjdk.diff
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
BuildRequires: ant-nodeps
|
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: swing-layout >= 1.0.3
|
BuildRequires: swing-layout >= 1.0.3
|
||||||
Requires: java
|
Requires: java
|
||||||
Requires: javapackages-tools
|
Requires: javapackages-tools
|
||||||
Requires: swing-layout >= 1.0.3
|
Requires: swing-layout >= 1.0.3
|
||||||
BuildArch: noarch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The JSR-296 Swing Application Framework prototype implementation is a
|
The JSR-296 Swing Application Framework prototype implementation is a
|
||||||
small set of Java classes that simplify building desktop applications.
|
small set of Java classes that simplify building desktop applications.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Swing Application Framework
|
Summary: Swing Application Framework
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
@ -52,12 +49,10 @@ Group: Development/Libraries/Java
|
|||||||
The JSR-296 Swing Application Framework prototype implementation is a
|
The JSR-296 Swing Application Framework prototype implementation is a
|
||||||
small set of Java classes that simplify building desktop applications.
|
small set of Java classes that simplify building desktop applications.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n AppFramework-%{version}
|
%setup -q -n AppFramework-%{version}
|
||||||
# remove all binary libs
|
# remove all binary libs
|
||||||
find . -name "*.jar" -exec %{__rm} -f {} \;
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
%patch0 -b .sav
|
%patch0 -b .sav
|
||||||
%patch1 -p1 -b .sav
|
%patch1 -p1 -b .sav
|
||||||
|
|
||||||
@ -66,12 +61,12 @@ find . -name "*.jar" -exec %{__rm} -f {} \;
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
%{__install} -d -m 755 %{buildroot}%{_javadir}
|
install -d -m 755 %{buildroot}%{_javadir}
|
||||||
%{__install} -m 644 dist/AppFramework-1.03.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
install -m 644 dist/AppFramework-1.03.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||||
%{__ln_s} %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
# javadoc
|
# javadoc
|
||||||
%{__install} -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||||
%{__cp} -pr dist/javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version}
|
cp -pr dist/javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user