|
|
dc32f8 |
# Copyright (c) 2000-2005, JPackage Project
|
|
|
dc32f8 |
# All rights reserved.
|
|
|
dc32f8 |
#
|
|
|
dc32f8 |
# Redistribution and use in source and binary forms, with or without
|
|
|
dc32f8 |
# modification, are permitted provided that the following conditions
|
|
|
dc32f8 |
# are met:
|
|
|
dc32f8 |
#
|
|
|
dc32f8 |
# 1. Redistributions of source code must retain the above copyright
|
|
|
dc32f8 |
# notice, this list of conditions and the following disclaimer.
|
|
|
dc32f8 |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
dc32f8 |
# notice, this list of conditions and the following disclaimer in the
|
|
|
dc32f8 |
# documentation and/or other materials provided with the
|
|
|
dc32f8 |
# distribution.
|
|
|
dc32f8 |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
dc32f8 |
# contributors may be used to endorse or promote products derived
|
|
|
dc32f8 |
# from this software without specific prior written permission.
|
|
|
dc32f8 |
#
|
|
|
dc32f8 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
dc32f8 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
dc32f8 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
dc32f8 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
dc32f8 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
dc32f8 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
dc32f8 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
dc32f8 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
dc32f8 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
dc32f8 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
dc32f8 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
dc32f8 |
#
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%global apiver 1.0.1
|
|
|
dc32f8 |
|
|
|
dc32f8 |
Summary: Streaming API for XML
|
|
|
dc32f8 |
URL: http://stax.codehaus.org/Home
|
|
|
dc32f8 |
Source0: http://dist.codehaus.org/stax/distributions/stax-src-%{version}.zip
|
|
|
dc32f8 |
Source1: http://dist.codehaus.org/stax/jars/stax-%{version}.pom
|
|
|
dc32f8 |
Source2: http://dist.codehaus.org/stax/jars/stax-api-%{apiver}.pom
|
|
|
dc32f8 |
Name: bea-stax
|
|
|
dc32f8 |
Version: 1.2.0
|
|
|
dc32f8 |
Release: 16%{?dist}
|
|
|
dc32f8 |
License: ASL 1.1 and ASL 2.0
|
|
|
dc32f8 |
BuildArch: noarch
|
|
|
dc32f8 |
|
|
|
dc32f8 |
BuildRequires: javapackages-local
|
|
|
dc32f8 |
BuildRequires: ant
|
|
|
dc32f8 |
BuildRequires: xerces-j2
|
|
|
dc32f8 |
BuildRequires: xalan-j2
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%description
|
|
|
dc32f8 |
The Streaming API for XML (StAX) is a groundbreaking
|
|
|
dc32f8 |
new Java API for parsing and writing XML easily and
|
|
|
dc32f8 |
efficiently.
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%package api
|
|
|
dc32f8 |
Summary: The StAX API
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%description api
|
|
|
dc32f8 |
%{summary}
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%package javadoc
|
|
|
dc32f8 |
Summary: Javadoc for %{name}
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%description javadoc
|
|
|
dc32f8 |
%{summary}
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%prep
|
|
|
dc32f8 |
%setup -q -c -n %{name}-%{version}
|
|
|
dc32f8 |
|
|
|
dc32f8 |
# Convert CR+LF to LF
|
|
|
dc32f8 |
%{__sed} -i 's/\r//' ASF2.0.txt
|
|
|
dc32f8 |
|
|
|
dc32f8 |
cp -p %{SOURCE1} pom.xml
|
|
|
dc32f8 |
|
|
|
dc32f8 |
# Incorrectly scoped
|
|
|
dc32f8 |
%pom_remove_dep :junit
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%build
|
|
|
dc32f8 |
ant all javadoc
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%install
|
|
|
dc32f8 |
%mvn_file ':{*}' bea-@1
|
|
|
dc32f8 |
%mvn_package :stax-api api
|
|
|
dc32f8 |
%mvn_alias :stax-api javax.xml.stream:stax-api
|
|
|
dc32f8 |
%mvn_artifact pom.xml build/stax-%{version}-dev.jar
|
|
|
dc32f8 |
%mvn_artifact %{SOURCE2} build/stax-api-%{apiver}.jar
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%mvn_install -J build/javadoc
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%files -f .mfiles
|
|
|
dc32f8 |
%license ASF2.0.txt
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%files api -f .mfiles-api
|
|
|
dc32f8 |
%license ASF2.0.txt
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%files javadoc -f .mfiles-javadoc
|
|
|
dc32f8 |
%license ASF2.0.txt
|
|
|
dc32f8 |
|
|
|
dc32f8 |
%changelog
|
|
|
dc32f8 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-16
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-15
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Mar 22 2017 Michael Simacek <msimacek@redhat.com> - 1.2.0-14
|
|
|
dc32f8 |
- Install with XMvn
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-13
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-12
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-11
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-10
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-9
|
|
|
dc32f8 |
- Use .mfiles generated during build
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-8
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-7
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Nov 28 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-6
|
|
|
dc32f8 |
- Remove unneeded patch
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Nov 14 2012 Jaromir Capik <jcapik@redhat.com> - 1.2.0-5
|
|
|
dc32f8 |
- ASL 1.1 was missing
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Thu Sep 29 2011 Jaromir Capik <jcapik@redhat.com> - 1.2.0-2
|
|
|
dc32f8 |
- Symlink "-ri" created for backward compatibility
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Thu Sep 29 2011 Jaromir Capik <jcapik@redhat.com> - 1.2.0-1
|
|
|
dc32f8 |
- Update to 1.2.0
|
|
|
dc32f8 |
- Introduction of POM files and depmaps
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.0-0.8.rc1
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Thu Oct 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2.0-0.7.rc1
|
|
|
dc32f8 |
- BR java 1.6.0.
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Thu Oct 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2.0-0.6.rc1
|
|
|
dc32f8 |
- Drop gcj support.
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.0-0.5.rc1
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.0-0.4.rc1
|
|
|
dc32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.2.0-0.3.rc1
|
|
|
dc32f8 |
- drop repotag
|
|
|
dc32f8 |
- fix license
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.2.0-0.2.rc1.2jpp.1
|
|
|
dc32f8 |
- Autorebuild for GCC 4.3
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Mon Feb 12 2007 Vivek Lakshmanan <vivekl@redhat.com> 0:1.2.0-0.1.rc1.2jpp.1.fc7
|
|
|
dc32f8 |
- Use new naming convention
|
|
|
dc32f8 |
- Add ASF2.0.txt as doc for api and main package
|
|
|
dc32f8 |
- Remove post/postun magic for javadoc
|
|
|
dc32f8 |
- Add BR on ant, xerces-j2 and xalan-j2
|
|
|
dc32f8 |
- Add conditional patch to make the package build under ecj/gcj
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Jan 18 2006 Fernando Nasser <fnasser@redhat.com> 0:1.2.0-0.rc1.2jpp
|
|
|
dc32f8 |
- First JPP 1.7 build
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Jan 18 2006 Deepak Bhole <dbhole@redhat.com> 0:1.2.0-0.rc1.1jpp
|
|
|
dc32f8 |
- Change source zip, and build the ri jars
|
|
|
dc32f8 |
- Use setup macro in prep
|
|
|
dc32f8 |
- First version all under APL
|
|
|
dc32f8 |
- New package name
|
|
|
dc32f8 |
- Demo still not yet available under the APL; will be in an update
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Tue Apr 26 2005 Fernando Nasser <fnasser@redhat.com> 0:1.0-2jpp_2rh
|
|
|
dc32f8 |
- First Red Hat build
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Wed Oct 20 2004 David Walluck <david@jpackage.org> 0:1.0-2jpp
|
|
|
dc32f8 |
- fix build
|
|
|
dc32f8 |
|
|
|
dc32f8 |
* Thu Sep 09 2004 Ralph Apel <r.apel at r-apel.de> 0:1.0-1jpp
|
|
|
dc32f8 |
- First JPackage build
|
|
|
dc32f8 |
- Note: there is a stax project starting at codehaus
|