2008-03-26 15:04:44 +00:00
|
|
|
#
|
2011-09-22 08:17:10 +00:00
|
|
|
# spec file for package bea-stax
|
2008-03-26 15:04:44 +00:00
|
|
|
#
|
2018-05-15 17:35:43 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-03-26 15:04:44 +00:00
|
|
|
#
|
2008-09-12 21:22:52 +00: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.
|
|
|
|
|
2008-03-26 15:04:44 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define section free
|
2017-05-21 08:15:27 +00:00
|
|
|
Name: bea-stax
|
|
|
|
Version: 1.2.0
|
|
|
|
Release: 0
|
2008-03-26 15:04:44 +00:00
|
|
|
Summary: Streaming API for XML
|
2013-01-07 12:17:38 +00:00
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Libraries/Java
|
2008-03-26 15:04:44 +00:00
|
|
|
Url: http://dev2dev.bea.com/technologies/stax/index.jsp
|
|
|
|
Source0: stax-src-1.2.0_rc1-dev.zip
|
2018-05-15 17:35:43 +00:00
|
|
|
Patch0: bea-stax-target8.patch
|
2009-05-28 00:20:21 +00:00
|
|
|
Patch2: bea-stax-gcj-build.patch
|
2013-01-07 12:17:38 +00:00
|
|
|
BuildRequires: ant
|
2018-05-15 17:35:43 +00:00
|
|
|
BuildRequires: java-devel >= 1.8
|
2017-05-21 08:15:27 +00:00
|
|
|
BuildRequires: javapackages-tools
|
2008-03-26 15:04:44 +00:00
|
|
|
BuildRequires: unzip
|
2013-01-07 12:17:38 +00:00
|
|
|
#!BuildIgnore: xerces-j2-bootstrap
|
2017-05-21 08:15:27 +00:00
|
|
|
#!BuildIgnore: antlr antlr-java
|
|
|
|
#!BuildIgnore: xerces-j2 xml-commons xml-commons-apis xml-commons-resolver xml-commons-which
|
|
|
|
#!BuildIgnore: xml-commons-jaxp-1.3-apis
|
2008-10-06 17:38:09 +00:00
|
|
|
BuildRequires: xml-commons-apis-bootstrap
|
|
|
|
BuildRequires: xml-commons-resolver-bootstrap
|
|
|
|
BuildRequires: xml-commons-which-bootstrap
|
2008-03-26 15:04:44 +00:00
|
|
|
Requires: %{name}-api = %{version}-%{release}
|
2017-05-21 08:15:27 +00:00
|
|
|
BuildArch: noarch
|
2008-03-26 15:04:44 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Streaming API for XML (StAX) is a groundbreaking new Java API for
|
|
|
|
parsing and writing XML easily and efficiently.
|
|
|
|
|
|
|
|
%package api
|
2008-09-12 21:22:52 +00:00
|
|
|
Summary: The StAX API
|
2008-03-26 15:04:44 +00:00
|
|
|
Group: Development/Libraries/Java
|
|
|
|
|
|
|
|
%description api
|
|
|
|
Streaming API for XML
|
|
|
|
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
%prep
|
2017-05-21 08:15:27 +00:00
|
|
|
%setup -q -c
|
2008-09-12 21:22:52 +00:00
|
|
|
%patch0 -b .target15
|
2009-05-28 00:20:21 +00:00
|
|
|
%patch2 -b .gcj-build
|
2008-03-26 15:04:44 +00:00
|
|
|
|
|
|
|
%build
|
2013-08-22 12:29:21 +00:00
|
|
|
ant all
|
2008-03-26 15:04:44 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
# jar
|
2017-05-21 08:15:27 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_javadir}
|
|
|
|
install -p -m 0644 build/stax-api-1.0.jar %{buildroot}%{_javadir}/%{name}-api-%{version}.jar
|
|
|
|
install -p -m 0644 build/stax-1.2.0_rc1-dev.jar %{buildroot}%{_javadir}/%{name}-ri-%{version}.jar
|
|
|
|
ln -s %{name}-api-%{version}.jar %{buildroot}%{_javadir}/%{name}-api.jar
|
|
|
|
ln -s %{name}-ri-%{version}.jar %{buildroot}%{_javadir}/%{name}-ri.jar
|
2008-03-26 15:04:44 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_javadir}/%{name}-ri-%{version}.jar
|
|
|
|
%{_javadir}/%{name}-ri.jar
|
|
|
|
|
|
|
|
%files api
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_javadir}/%{name}-api-%{version}.jar
|
|
|
|
%{_javadir}/%{name}-api.jar
|
|
|
|
|
|
|
|
%changelog
|