|
|
ee40b0 |
# Copyright (c) 2000-2007, JPackage Project
|
|
|
ee40b0 |
# All rights reserved.
|
|
|
ee40b0 |
#
|
|
|
ee40b0 |
# Redistribution and use in source and binary forms, with or without
|
|
|
ee40b0 |
# modification, are permitted provided that the following conditions
|
|
|
ee40b0 |
# are met:
|
|
|
ee40b0 |
#
|
|
|
ee40b0 |
# 1. Redistributions of source code must retain the above copyright
|
|
|
ee40b0 |
# notice, this list of conditions and the following disclaimer.
|
|
|
ee40b0 |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
ee40b0 |
# notice, this list of conditions and the following disclaimer in the
|
|
|
ee40b0 |
# documentation and/or other materials provided with the
|
|
|
ee40b0 |
# distribution.
|
|
|
ee40b0 |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
ee40b0 |
# contributors may be used to endorse or promote products derived
|
|
|
ee40b0 |
# from this software without specific prior written permission.
|
|
|
ee40b0 |
#
|
|
|
ee40b0 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
ee40b0 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
ee40b0 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
ee40b0 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
ee40b0 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
ee40b0 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
ee40b0 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
ee40b0 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
ee40b0 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
ee40b0 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
ee40b0 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
ee40b0 |
#
|
|
|
ee40b0 |
|
|
|
ee40b0 |
Name: xml-commons-apis12
|
|
|
ee40b0 |
Epoch: 0
|
|
|
ee40b0 |
Version: 1.2.04
|
|
|
489c3e |
Release: 10%{?dist}
|
|
|
ee40b0 |
Summary: JAXP 1.2, DOM 2, SAX 2.0.1, SAX2-ext 1.0 apis
|
|
|
ee40b0 |
Group: System Environment/Libraries
|
|
|
ee40b0 |
URL: http://xml.apache.org/commons/
|
|
|
ee40b0 |
# src/org/xml/sax/helpers/SecuritySupport* is ASL 1.1
|
|
|
ee40b0 |
# java/external/src/javax/xml/parsers/ and transform/ is ASL 2.0
|
|
|
ee40b0 |
License: ASL 2.0 and W3C and Public Domain and ASL 1.1
|
|
|
ee40b0 |
Source0: xml-commons-external-1.2.04.tar.gz
|
|
|
ee40b0 |
# svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_2_04/
|
|
|
ee40b0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ee40b0 |
|
|
|
ee40b0 |
Provides: jaxp = 1.2
|
|
|
ee40b0 |
Provides: dom = 2
|
|
|
ee40b0 |
Provides: sax = 2.0.1
|
|
|
ee40b0 |
Provides: xslt = 1.0
|
|
|
ee40b0 |
|
|
|
ee40b0 |
Requires: jpackage-utils >= 0:1.6
|
|
|
ee40b0 |
|
|
|
ee40b0 |
BuildRequires: ant
|
|
|
ee40b0 |
BuildRequires: jpackage-utils >= 0:1.6
|
|
|
ee40b0 |
BuildArch: noarch
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%description
|
|
|
ee40b0 |
DOM 2 org.w3c.dom and SAX XML 2.0 org.xml.sax processor apis used
|
|
|
ee40b0 |
by several pieces of Apache software. XSLT 1.0.
|
|
|
ee40b0 |
This version includes the JAXP 1.2 APIs -- Java API for XML
|
|
|
ee40b0 |
Processing 1.2, i.e. javax.xml{.parsers,.transform}
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%package javadoc
|
|
|
ee40b0 |
Group: Documentation
|
|
|
ee40b0 |
Summary: Javadoc for %{name}
|
|
|
ee40b0 |
Provides: %{name}-apis-javadoc = %{epoch}:%{version}-%{release}
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%description javadoc
|
|
|
ee40b0 |
%{summary}.
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%package manual
|
|
|
ee40b0 |
Group: Documentation
|
|
|
ee40b0 |
Summary: Documents for %{name}
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%description manual
|
|
|
ee40b0 |
%{summary}.
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%prep
|
|
|
ee40b0 |
%setup -q -c
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%build
|
|
|
ee40b0 |
ant -f xml-commons-external-1_2_04/java/external/build.xml jar javadoc
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%install
|
|
|
ee40b0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ee40b0 |
|
|
|
ee40b0 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
|
|
ee40b0 |
install -m 644 xml-commons-external-1_2_04/java/external/build/xml-apis.jar \
|
|
|
ee40b0 |
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
|
|
ee40b0 |
|
|
|
ee40b0 |
pushd $RPM_BUILD_ROOT%{_javadir}
|
|
|
ee40b0 |
for jar in *-%{version}*; do
|
|
|
ee40b0 |
ln -sf ${jar} $(echo $jar | sed -e 's|-%{version}\.jar|.jar|');
|
|
|
ee40b0 |
done
|
|
|
ee40b0 |
|
|
|
ee40b0 |
ln -sf %{name}.jar xml-commons-jaxp-1.2-apis.jar
|
|
|
ee40b0 |
ln -sf %{name}.jar jaxp12.jar
|
|
|
ee40b0 |
ln -sf %{name}.jar dom2.jar
|
|
|
ee40b0 |
popd
|
|
|
ee40b0 |
|
|
|
ee40b0 |
|
|
|
ee40b0 |
# javadoc
|
|
|
ee40b0 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
|
ee40b0 |
cp -pr xml-commons-external-1_2_04/java/external/build/docs/javadoc/* \
|
|
|
ee40b0 |
$RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
|
ee40b0 |
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
ee40b0 |
rm -rf xml-commons-external-1_2_04/java/external/build/docs/javadoc
|
|
|
ee40b0 |
|
|
|
ee40b0 |
# manuals
|
|
|
ee40b0 |
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
|
|
ee40b0 |
cp -pr xml-commons-external-1_2_04/java/external/build/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
|
|
ee40b0 |
|
|
|
ee40b0 |
# -----------------------------------------------------------------------------
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%clean
|
|
|
ee40b0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ee40b0 |
|
|
|
ee40b0 |
# -----------------------------------------------------------------------------
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%files
|
|
|
ee40b0 |
%defattr(0644,root,root,0755)
|
|
|
ee40b0 |
%{_javadir}/%{name}*.jar
|
|
|
ee40b0 |
%{_javadir}/jaxp12.jar
|
|
|
ee40b0 |
%{_javadir}/dom2.jar
|
|
|
ee40b0 |
%{_javadir}/xml-commons-jaxp-1.2-apis.jar
|
|
|
ee40b0 |
%doc xml-commons-external-1_2_04/java/external/LICENSE
|
|
|
ee40b0 |
%doc xml-commons-external-1_2_04/java/external/LICENSE.dom-documentation.txt
|
|
|
ee40b0 |
%doc xml-commons-external-1_2_04/java/external/LICENSE.dom-software.txt
|
|
|
ee40b0 |
%doc xml-commons-external-1_2_04/java/external/LICENSE.sax.txt
|
|
|
ee40b0 |
%doc xml-commons-external-1_2_04/java/external/README.dom.txt
|
|
|
ee40b0 |
%doc xml-commons-external-1_2_04/java/external/README-sax
|
|
|
ee40b0 |
%doc xml-commons-external-1_2_04/java/external/README.sax.txt
|
|
|
ee40b0 |
%doc xml-commons-external-1_2_04/java/external/NOTICE
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%files javadoc
|
|
|
ee40b0 |
%defattr(0644,root,root,0755)
|
|
|
ee40b0 |
%{_javadocdir}/%{name}-%{version}
|
|
|
ee40b0 |
%{_javadocdir}/%{name}
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%files manual
|
|
|
ee40b0 |
%defattr(0644,root,root,0755)
|
|
|
ee40b0 |
%{_docdir}/%{name}-%{version}
|
|
|
ee40b0 |
|
|
|
ee40b0 |
# -----------------------------------------------------------------------------
|
|
|
ee40b0 |
|
|
|
ee40b0 |
%changelog
|
|
|
489c3e |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.2.04-10
|
|
|
489c3e |
- Mass rebuild 2013-12-27
|
|
|
489c3e |
|
|
|
ee40b0 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.04-9
|
|
|
ee40b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Fri Nov 16 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.2.04-8
|
|
|
ee40b0 |
- Fix up license tag
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.04-7
|
|
|
ee40b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.04-6
|
|
|
ee40b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.04-5
|
|
|
ee40b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Thu Dec 30 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2.04-4
|
|
|
ee40b0 |
- Drop gcj.
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.04-3.5
|
|
|
ee40b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.04-2.5
|
|
|
ee40b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.2.04-1.5
|
|
|
ee40b0 |
- drop repotag
|
|
|
ee40b0 |
- fix license tag
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.2.04-1jpp.4
|
|
|
ee40b0 |
- Autorebuild for GCC 4.3
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Sun Jun 03 2007 Florian La Roche <laroche@redhat.com> - 0:1.2.04-0jpp.4
|
|
|
ee40b0 |
- the javadoc subrpm used an undefined macro
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Tue Apr 12 2007 Matt Wringe <mwringe@redhat.com> - 0:1.2.04-0jpp.3
|
|
|
ee40b0 |
- Remove the provides on xml-commons-apis = 1.2 since this will not
|
|
|
ee40b0 |
work properly with our other xml-commons-apis package.
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Tue Mar 13 2007 Matt Wringe <mwringe@redhat.com> - 0:1.2.04-0jpp.2
|
|
|
ee40b0 |
- Enable gcj option
|
|
|
ee40b0 |
|
|
|
ee40b0 |
* Thu Feb 16 2007 Matt Wringe <mwringe@redhat.com> - 0:1.2.04-0jpp.1
|
|
|
ee40b0 |
- Initial build. Based heavily on the xml-commons 1.3.03-7jpp spec file.
|