Package bea-stax: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | Epoch: 0 Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: unzip # END SourceDeps(oneline) BuildRequires: /proc rpm-build-java BuildRequires: jpackage-1.8-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} # %%version is ahead of its definition. Predefining for rpm 4.0 compatibility. %define version 1.2.0 # Copyright (c) 2000-2005, JPackage Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the # distribution. # 3. Neither the name of the JPackage Project nor the names of its # contributors may be used to endorse or promote products derived # from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # %global apiver 1.0.1 Summary: Streaming API for XML URL: http://stax.codehaus.org/Home Source0: http://dist.codehaus.org/stax/distributions/stax-src-%{version}.zip Source1: http://dist.codehaus.org/stax/jars/stax-%{version}.pom Source2: http://dist.codehaus.org/stax/jars/stax-api-%{apiver}.pom Name: bea-stax Version: 1.2.0 Release: alt4_20jpp8 License: ASL 1.1 and ASL 2.0 BuildArch: noarch BuildRequires: javapackages-local BuildRequires: ant BuildRequires: xerces-j2 BuildRequires: xalan-j2 Source44: import.info Obsoletes: stax-bea <= 1.0-alt1 %description The Streaming API for XML (StAX) is a groundbreaking new Java API for parsing and writing XML easily and efficiently. %package api Group: Development/Documentation Summary: The StAX API %description api %{summary} %package javadoc Group: Development/Documentation Summary: Javadoc for %{name} BuildArch: noarch %description javadoc %{summary} %prep %setup -q -c -n %{name}-%{version} # Convert CR+LF to LF sed -i 's/\r//' ASF2.0.txt cp -p %{SOURCE1} pom.xml # Incorrectly scoped %pom_remove_dep :junit %build ant all javadoc %install %mvn_file ':{*}' bea-@1 %mvn_package :stax-api api %mvn_alias :stax-api javax.xml.stream:stax-api %mvn_artifact pom.xml build/stax-%{version}-dev.jar %mvn_artifact %{SOURCE2} build/stax-api-%{apiver}.jar %mvn_install -J build/javadoc %files -f .mfiles %doc --no-dereference ASF2.0.txt %files api -f .mfiles-api %doc --no-dereference ASF2.0.txt %files javadoc -f .mfiles-javadoc %doc --no-dereference ASF2.0.txt %changelog * Sat Feb 15 2020 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt4_20jpp8 - fc update * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt4_18jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt4_17jpp8 - fc29 update * Sun Apr 15 2018 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt4_16jpp8 - java update * Tue Nov 21 2017 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt4_15jpp8 - new version * Sat Nov 18 2017 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt4_13jpp8 - added BR: javapackages-local for javapackages 5 * Tue Oct 17 2017 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt3_13jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt3_12jpp8 - new fc release * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt3_11jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt3_8jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt3_7jpp7 - new release * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt3_4jpp7 - NMU rebuild to move poms and fragments * Mon Sep 17 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt2_4jpp7 - fc version * Mon Jan 16 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt2_0.rc1.4jpp6 - new jpp relase * Sun Feb 21 2010 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt2_0.rc1.3jpp5 - new jpackage release * Sat Sep 06 2008 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt1_0.rc1.3jpp5 - converted from JPackage by jppimport script * Fri Apr 27 2007 Igor Vlasenko <viy@altlinux.ru> 0:1.2.0-alt1_0.rc1.2jpp1.7 - converted from JPackage by jppimport script |