[1678] | 1 | # Copyright (c) 2000-2007, JPackage Project |
---|
| 2 | # All rights reserved. |
---|
| 3 | # |
---|
| 4 | # Redistribution and use in source and binary forms, with or without |
---|
| 5 | # modification, are permitted provided that the following conditions |
---|
| 6 | # are met: |
---|
| 7 | # |
---|
| 8 | # 1. Redistributions of source code must retain the above copyright |
---|
| 9 | # notice, this list of conditions and the following disclaimer. |
---|
| 10 | # 2. Redistributions in binary form must reproduce the above copyright |
---|
| 11 | # notice, this list of conditions and the following disclaimer in the |
---|
| 12 | # documentation and/or other materials provided with the |
---|
| 13 | # distribution. |
---|
| 14 | # 3. Neither the name of the JPackage Project nor the names of its |
---|
| 15 | # contributors may be used to endorse or promote products derived |
---|
| 16 | # from this software without specific prior written permission. |
---|
| 17 | # |
---|
| 18 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
---|
| 19 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
---|
| 20 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
---|
| 21 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
---|
| 22 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
---|
| 23 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
---|
| 24 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
---|
| 25 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
---|
| 26 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
---|
| 27 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
---|
| 28 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
---|
| 29 | # |
---|
| 30 | |
---|
| 31 | Name: xml-commons-apis |
---|
| 32 | Summary: APIs for DOM, SAX, and JAXP |
---|
| 33 | Version: 1.3.04 |
---|
| 34 | Release: 1%{?_dist_release} |
---|
| 35 | |
---|
| 36 | #Group: Text Processing/Markup/XML |
---|
| 37 | Group: System Environment/Libraries |
---|
| 38 | License: ASL 2.0 and W3C and Public Domain |
---|
| 39 | URL: http://xml.apache.org/commons/ |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | # using binary package for bootstrap |
---|
| 43 | Source0: xml-commons-external-%{version}-bin.tar.gz |
---|
| 44 | # svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_4_01/java/external/ |
---|
| 45 | # tar czf xml-commons-external-1.4.01-src.tar.gz external |
---|
| 46 | |
---|
| 47 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 48 | BuildArch: noarch |
---|
| 49 | BuildRequires: jpackage-utils >= 1.5 |
---|
| 50 | #BuildRequires: ant |
---|
| 51 | Requires: jpackage-utils >= 1.5 |
---|
| 52 | |
---|
| 53 | Obsoletes: xml-commons <= 1.3.02 |
---|
| 54 | Provides: xml-commons = %{version}-%{release} |
---|
| 55 | |
---|
| 56 | Provides: jaxp = 1.3 |
---|
| 57 | Provides: xml-commons-jaxp-1.3-apis = %{version}-%{release} |
---|
| 58 | |
---|
| 59 | %description |
---|
| 60 | xml-commons-apis is designed to organize and have common packaging for |
---|
| 61 | the various externally-defined standard interfaces for XML. This |
---|
| 62 | includes the DOM, SAX, and JAXP. |
---|
| 63 | |
---|
| 64 | %package manual |
---|
| 65 | Summary: Manual for %{name} |
---|
| 66 | Group: Applications/Documentation |
---|
| 67 | |
---|
| 68 | %description manual |
---|
| 69 | Manual for %{name}. |
---|
| 70 | |
---|
| 71 | # ----------------------------------------------------------------------------- |
---|
| 72 | |
---|
| 73 | %prep |
---|
| 74 | %setup -q -n xml-commons-external-%{version} |
---|
| 75 | |
---|
| 76 | # ----------------------------------------------------------------------------- |
---|
| 77 | |
---|
| 78 | %build |
---|
| 79 | |
---|
| 80 | # ----------------------------------------------------------------------------- |
---|
| 81 | |
---|
| 82 | %install |
---|
| 83 | rm -rf $RPM_BUILD_ROOT |
---|
| 84 | |
---|
| 85 | # Jars |
---|
| 86 | mkdir -p $RPM_BUILD_ROOT%{_javadir} |
---|
| 87 | cp -p xml-apis.jar \ |
---|
| 88 | $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar |
---|
| 89 | cp -p xml-apis-ext.jar \ |
---|
| 90 | $RPM_BUILD_ROOT%{_javadir}/%{name}-ext-%{version}.jar |
---|
| 91 | |
---|
| 92 | # Jar versioning |
---|
| 93 | (cd $RPM_BUILD_ROOT%{_javadir} && for jar in %{name}-%{version}.jar; do ln -sf ${jar} dom3-${jar}; done) |
---|
| 94 | (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) |
---|
| 95 | # for better interoperability with the jpp apis packages |
---|
| 96 | ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/jaxp13.jar |
---|
| 97 | ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/jaxp.jar |
---|
| 98 | ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/xml-commons-jaxp-1.3-apis.jar |
---|
| 99 | |
---|
| 100 | # ----------------------------------------------------------------------------- |
---|
| 101 | |
---|
| 102 | %clean |
---|
| 103 | rm -rf $RPM_BUILD_ROOT |
---|
| 104 | |
---|
| 105 | # ----------------------------------------------------------------------------- |
---|
| 106 | |
---|
| 107 | %files |
---|
| 108 | %defattr(-,root,root,-) |
---|
| 109 | %doc LICENSE NOTICE |
---|
| 110 | %doc LICENSE.dom-documentation.txt README.dom.txt |
---|
| 111 | %doc LICENSE.dom-software.txt |
---|
| 112 | %doc LICENSE.sax.txt README.sax.txt |
---|
| 113 | %{_javadir}/* |
---|
| 114 | |
---|
| 115 | %files manual |
---|
| 116 | %defattr(-,root,root,-) |
---|
| 117 | %doc docs/* |
---|
| 118 | |
---|
| 119 | #files javadoc |
---|
| 120 | #defattr(-,root,root,-) |
---|
| 121 | #{_javadocdir}/* |
---|
| 122 | |
---|
| 123 | # ----------------------------------------------------------------------------- |
---|
| 124 | |
---|
| 125 | %changelog |
---|
| 126 | * Fri Aug 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.04-1 |
---|
| 127 | - Initial build for Vine Linux |
---|
| 128 | - used version 1.3.04 |
---|
| 129 | |
---|
| 130 | * Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.4.01-1 |
---|
| 131 | - Update to 1.4.01. |
---|
| 132 | |
---|
| 133 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.04-3.5 |
---|
| 134 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 135 | |
---|
| 136 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.04-2.5 |
---|
| 137 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 138 | |
---|
| 139 | * Fri Feb 6 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.04-1.5 |
---|
| 140 | - Add osgi metadata to the ext jar too. |
---|
| 141 | |
---|
| 142 | * Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.04-1.4 |
---|
| 143 | - Add osgi metadata. |
---|
| 144 | |
---|
| 145 | * Fri Sep 19 2008 Matt Wringe <mwringe@redhat.com> - 0:1.3.04-1.3 |
---|
| 146 | - Remove natively compiled bits from the javadoc package (462809) |
---|
| 147 | |
---|
| 148 | * Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.3.04-1.2 |
---|
| 149 | - drop repotag |
---|
| 150 | - fix license tag |
---|
| 151 | |
---|
| 152 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.3.04-1jpp.1 |
---|
| 153 | - Autorebuild for GCC 4.3 |
---|
| 154 | |
---|
| 155 | * Tue Mar 06 2007 Matt Wringe <mwringe@redhat.com> - 0:1.3.04-0jpp.1 |
---|
| 156 | - Update to 1.3.04 |
---|
| 157 | |
---|
| 158 | * Tue Mar 06 2007 Matt Wringe <mwringe@redhat.com> - 0:1.3.03-0jpp.1 |
---|
| 159 | - Split xml-commons package up into 2 separate package: xml-commons-apis |
---|
| 160 | and xml-commons-which. |
---|
| 161 | |
---|
| 162 | * Mon Aug 21 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.3.02-0.b2.7jpp.10 |
---|
| 163 | - Add missing Requires for post and postun javadoc sections |
---|
| 164 | |
---|
| 165 | * Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.3.02-0.b2.7jpp_9fc |
---|
| 166 | - Rebuilt |
---|
| 167 | |
---|
| 168 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.3.02-0.b2.7jpp_8fc |
---|
| 169 | - rebuild |
---|
| 170 | |
---|
| 171 | * Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.3.02-0.b2.7jpp_7fc |
---|
| 172 | - stop scriptlet spew |
---|
| 173 | |
---|
| 174 | * Wed Feb 22 2006 Rafael Schloming <rafaels@redhat.com> - 0:1.3.02-0.b2.7jpp_6fc |
---|
| 175 | - Updated to 1.3 |
---|
| 176 | |
---|
| 177 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0-0.b2.7jpp_5fc |
---|
| 178 | - bump again for double-long bug on ppc(64) |
---|
| 179 | |
---|
| 180 | * Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> 0:1.0-0.b2.7jpp_4fc |
---|
| 181 | - rebuilt again |
---|
| 182 | |
---|
| 183 | * Tue Dec 13 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 184 | - rebuilt for new gcj |
---|
| 185 | |
---|
| 186 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 187 | - rebuilt |
---|
| 188 | |
---|
| 189 | * Fri Jul 15 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.7jpp_3fc |
---|
| 190 | - Build on ia64, ppc64, s390 and s390x. |
---|
| 191 | - Switch to aot-compile-rpm (also BC-compiles the which jar). |
---|
| 192 | |
---|
| 193 | * Wed Jun 15 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.7jpp_2fc |
---|
| 194 | - Remove all prebuilt stuff from the tarball. |
---|
| 195 | |
---|
| 196 | * Thu May 26 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.7jpp_1fc |
---|
| 197 | - Upgrade to 1.0-0.b2.7jpp. |
---|
| 198 | - Remove now-unnecessary workaround for #130162. |
---|
| 199 | - Rearrange how BC-compiled stuff is built and installed. |
---|
| 200 | |
---|
| 201 | * Mon May 23 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_13fc |
---|
| 202 | - Add alpha to the list of build architectures (#157522). |
---|
| 203 | - Use absolute paths for rebuild-gcj-db. |
---|
| 204 | |
---|
| 205 | * Thu May 5 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_12fc |
---|
| 206 | - Add dependencies for %%post and %%postun scriptlets (#156901). |
---|
| 207 | |
---|
| 208 | * Tue May 3 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_11fc |
---|
| 209 | - BC-compile the API jar. |
---|
| 210 | |
---|
| 211 | * Tue Apr 26 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_10fc |
---|
| 212 | - Remove gcj endorsed dir support (#155693). |
---|
| 213 | |
---|
| 214 | * Mon Apr 25 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_9fc |
---|
| 215 | - Provide a default transformer when running under libgcj. |
---|
| 216 | |
---|
| 217 | * Mon Apr 25 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_8fc |
---|
| 218 | - Provide a default DOM builder when running under libgcj (#155693). |
---|
| 219 | |
---|
| 220 | * Fri Apr 22 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_7fc |
---|
| 221 | - Provide a default SAX parser when running under libgcj (#155693). |
---|
| 222 | |
---|
| 223 | * Thu Apr 21 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_6fc |
---|
| 224 | - Add gcj endorsed dir support. |
---|
| 225 | |
---|
| 226 | * Tue Jan 11 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_5fc |
---|
| 227 | - Sync with RHAPS. |
---|
| 228 | |
---|
| 229 | * Thu Nov 4 2004 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_4fc |
---|
| 230 | - Build into Fedora. |
---|
| 231 | |
---|
| 232 | * Thu Oct 28 2004 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_3fc |
---|
| 233 | - Bootstrap into Fedora. |
---|
| 234 | |
---|
| 235 | * Fri Oct 1 2004 Andrew Overholt <overholt@redhat.com> - 0:1.0-0.b2.6jpp_3rh |
---|
| 236 | - add coreutils BuildRequires |
---|
| 237 | |
---|
| 238 | * Thu Mar 4 2004 Frank Ch. Eigler <fche@redhat.com> - 0:1.0-0.b2.6jpp_2rh |
---|
| 239 | - RH vacuuming part II |
---|
| 240 | |
---|
| 241 | * Tue Mar 2 2004 Frank Ch. Eigler <fche@redhat.com> - 0:1.0-0.b2.6jpp_1rh |
---|
| 242 | - RH vacuuming |
---|
| 243 | |
---|
| 244 | * Thu Aug 26 2003 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.b2.7jpp |
---|
| 245 | - Build with ant-1.6.2 |
---|
| 246 | |
---|
| 247 | * Mon May 5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.0-0.b2.6jpp |
---|
| 248 | - Fix non-versioned javadoc symlinking. |
---|
| 249 | |
---|
| 250 | * Mon Apr 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.0-0.b2.5jpp |
---|
| 251 | - Fix xml-which script. |
---|
| 252 | - Include non-versioned javadoc symlinks. |
---|
| 253 | - Add Epoch: 0. |
---|
| 254 | - Fix jpackage-utils dependency versions. |
---|
| 255 | |
---|
| 256 | * Thu Mar 13 2003 Nicolas Mailhot <Nicolas.Mailhot at jpackage.org> - 1.0-0.b2.4jpp |
---|
| 257 | - For jpackage-utils 1.5 |
---|
| 258 | |
---|
| 259 | * Wed Nov 13 2002 Ville Skyttä <ville.skytta at iki.fi> - 1.0-0.b2.3jpp |
---|
| 260 | - Following upstream changes, resolver is now built from its own package. |
---|
| 261 | |
---|
| 262 | * Sun Nov 3 2002 Ville Skyttä <ville.skytta at iki.fi> 1.0-0.b2.2jpp |
---|
| 263 | - Split resolver into its own subpackage. |
---|
| 264 | - Fix Group, Vendor and Distribution tags. |
---|
| 265 | - Use sed instead of bash 2 extension when symlinking jars. |
---|
| 266 | - Add resolver and which shell scripts. |
---|
| 267 | |
---|
| 268 | * Thu Jul 11 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.0-0.b2.1jpp |
---|
| 269 | - 1.0.b2 |
---|
| 270 | - get tarball from xml.apache.org |
---|
| 271 | - add macro section |
---|
| 272 | |
---|
| 273 | * Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0-0.b1.1jpp |
---|
| 274 | - first jpp release |
---|