Пакет glassfish-jaxws: 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 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 | Epoch: 0 Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: glassfish-jaxws Version: 2.2.10 Release: alt1_10jpp8 Summary: JAX-WS Reference Implementation (RI) Project # ASL 2.0 # tools/wscompile/src/com/sun/tools/ws/ant/AnnotationProcessingTask.java # tools/wscompile/src/com/sun/tools/ws/wsdl/parser/NamespaceContextImpl.java # Public Domain rt/src/com/sun/xml/ws/util/NamespaceSupport.java License: (CDDL or GPLv2 with exceptions) and ASL 2.0 and Public Domain Url: http://jax-ws.java.net/ # git clone git://java.net/jax-ws~git # (cd jax-ws~git/ && git archive --format=tar --prefix=glassfish-jaxws-2.2.10/ JAXWS_2_2_10_FCS | xz > ../glassfish-jaxws-2.2.10.tar.xz) Source0: %{name}-%{version}.tar.xz # build fix for glassfish-gmbal 3.2.0-b003 Patch0: glassfish-jaxws-2.2.10-gmbal.patch # use system xml-resolver Patch1: glassfish-jaxws-2.2.10-resolver.patch # use system asm Patch2: glassfish-jaxws-2.2.10-asm.patch # remove unavailable com.sun.tools.xjc.api.util.ToolsJarNotFoundException Patch3: glassfish-jaxws-2.2.10-jaxb-xjc.patch Patch4: glassfish-jaxws-2.2.10-deps.patch Patch5: glassfish-jaxws-2.2.10-javadoclinksdir.patch BuildRequires: maven-local BuildRequires: mvn(com.sun.istack:import-properties-plugin) BuildRequires: mvn(com.sun.istack:istack-commons-maven-plugin) BuildRequires: mvn(com.sun.xml.fastinfoset:FastInfoset) BuildRequires: mvn(com.sun.xml.messaging.saaj:saaj-impl) BuildRequires: mvn(com.sun.xml.stream.buffer:streambuffer) BuildRequires: mvn(com.sun.xml.ws:policy) BuildRequires: mvn(javax.servlet:javax.servlet-api) BuildRequires: mvn(javax.xml.bind:jaxb-api) BuildRequires: mvn(junit:junit) BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: mvn(org.apache.ant:ant) BuildRequires: mvn(org.apache.ant:ant-launcher) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin) BuildRequires: mvn(org.codehaus.woodstox:stax2-api) BuildRequires: mvn(org.codehaus.woodstox:woodstox-core-asl) BuildRequires: mvn(org.glassfish.gmbal:gmbal-api-only) BuildRequires: mvn(org.glassfish.ha:ha-api) BuildRequires: mvn(org.glassfish.jaxb:jaxb-bom:pom:) BuildRequires: mvn(org.glassfish.jaxb:jaxb-core) BuildRequires: mvn(org.glassfish.jaxb:jaxb-jxc) BuildRequires: mvn(org.glassfish.jaxb:jaxb-runtime) BuildRequires: mvn(org.glassfish.jaxb:jaxb-xjc) BuildRequires: mvn(org.glassfish.pfl:pfl-tf) BuildRequires: mvn(org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec) BuildRequires: mvn(org.jboss.spec.javax.xml.soap:jboss-saaj-api_1.3_spec) BuildRequires: mvn(org.jboss.spec.javax.xml.ws:jboss-jaxws-api_2.2_spec) BuildRequires: mvn(org.jvnet.mimepull:mimepull) BuildRequires: mvn(org.jvnet.staxex:stax-ex) BuildRequires: mvn(xml-resolver:xml-resolver) BuildRequires: objectweb-asm3 BuildRequires: glassfish-jaxb-api-javadoc BuildRequires: java-javadoc BuildRequires: jboss-jaxws-2.2-api-javadoc BuildArch: noarch Source44: import.info %description This project provides the core of Metro project, inside GlassFish community. This project develops and evolves the code base for the reference implementation of the Java API for XML Web Services (JAX-WS) specification. %package javadoc Group: Development/Java Summary: Javadoc for %{name} Obsoletes: %{name}-tools-javadoc BuildArch: noarch %description javadoc This package contains javadoc for %{name}. %package tools Group: Development/Java Summary: JAX-WS Reference Implementation Tools %description tools Open source Reference Implementation of JSR-224: Java API for XML Web Services. %package transports Group: Development/Java Summary: JAX-WS RI Transports Implementation %description transports This package provides Implementation of: - Async-Client-Transport. - Local-Transport (used mainly in tests) for JAX-WS RI. %prep %setup -q -n %{name}-%{version} mv jaxws-ri/* . rm -rf jaxws-ri %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p0 # clean up find . -name "*.jar" -print -delete find . -name "*.class" -print -delete find . -name "*.zip" -print -delete %pom_disable_module docs %pom_disable_module tests %pom_disable_module jaxws-ri bundles %pom_disable_module jaxws-ri-src bundles %pom_disable_module ../eclipselink_jaxb extras %pom_disable_module ../eclipselink_sdo extras %pom_remove_dep :jaxws-eclipselink-plugin boms/bom %pom_remove_dep :sdo-eclipselink-plugin boms/bom %pom_remove_plugin com.sun.wts.tools.ant:package-rename-task %pom_remove_plugin org.glassfish.build:gfnexus-maven-plugin %pom_remove_plugin :maven-source-plugin %pom_remove_plugin com.sun.wts.tools.ant:package-rename-task rt %pom_remove_plugin :maven-dependency-plugin rt %pom_remove_plugin :maven-assembly-plugin bundles/jaxws-rt %pom_remove_plugin :maven-assembly-plugin bundles/jaxws-tools %pom_remove_plugin org.glassfish.metro:harness-maven-plugin tests %pom_remove_plugin org.glassfish.metro:harness-maven-plugin tests/unit %pom_xpath_remove "pom:dependencies/pom:dependency[pom:classifier='sources']" boms/bom %pom_xpath_remove "pom:dependencies/pom:dependency[pom:classifier='sources']" boms/bom-ext %pom_xpath_remove "pom:dependencies/pom:dependency[pom:type='zip']" boms/bom %pom_xpath_inject "pom:dependencies/pom:dependency[pom:artifactId='rt']" '<version>${project.version}</version>' tools/wscompile %pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-dependency-plugin']/pom:executions/pom:execution/pom:configuration/pom:artifactItems/pom:artifactItem[pom:artifactId='jsr181-api']" tools/wscompile %pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-surefire-plugin']/pom:configuration/pom:systemPropertyVariables/pom:jsr181-api.version" tools/wscompile %pom_xpath_remove "pom:profiles/pom:profile/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Import-Package" transports/local %pom_xpath_inject "pom:profiles/pom:profile/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions" ' <Import-Package> com.oracle.webservices.api.message;version=${jaxws.osgiVersion}, com.sun.xml.ws.api;version=${jaxws.osgiVersion}, com.sun.xml.ws.api.message;version=${jaxws.osgiVersion}, com.sun.xml.ws.api.pipe;version=${jaxws.osgiVersion}, com.sun.xml.ws.api.pipe.helper;version=${jaxws.osgiVersion}, com.sun.xml.ws.api.server;version=${jaxws.osgiVersion}, com.sun.xml.ws.client;version=${jaxws.osgiVersion}, com.sun.xml.ws.transport.http;version=${jaxws.osgiVersion}, com.sun.xml.ws.util;version=${jaxws.osgiVersion}, org.jvnet.ws.message, javax.xml.namespace, javax.xml.ws;version=${jaxws-api.osgiVersion}, javax.xml.ws.handler;version=${jaxws-api.osgiVersion} </Import-Package>' transports/local %pom_xpath_remove pom:build/pom:finalName transports/local %pom_add_plugin org.apache.maven.plugins:maven-jar-plugin:3.0.1 transports/local ' <executions> <execution> <id>default-jar</id> <phase>skip</phase> </execution> </executions> <configuration> <finalName>${project.artifactId}</finalName> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration>' %pom_xpath_inject "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:configuration" " <excludePackageNames>*.message.*</excludePackageNames> <excludePackageNames>com.sun.xml.ws</excludePackageNames>" %pom_remove_dep javax.jws:jsr181-api %pom_remove_dep javax.jws:jsr181-api boms/bom %pom_remove_dep javax.jws:jsr181-api bundles/jaxws-rt %pom_remove_dep :ant-nodeps tools/wscompile %pom_xpath_set "pom:phase[text()='prepare-package']" package transports/async-client-transport for d in CDDL+GPLv2.html CDDL-1.0-license.txt README.md ; do iconv -f iso8859-1 -t utf-8 $d > $d.conv && mv -f $d.conv $d sed -i 's/\r//' $d done # these tests fails rm -r tools/wscompile/src/test/java/com/sun/tools/ws/ant/* \ eclipselink_jaxb/src/test/java/com/sun/xml/ws/cts/dl_swa/SwaMimeAttachmentTest.java find -name SAAJMessageTest.java -delete find -name SAAJMessageWrapperTest.java -delete # Only on ARM fails find -name ClientProxyTest.java -delete # Don't install the pom for jaxws-tools distribution bundle, instead we give the wscompile # jar the jaxws-tools alias and install that in its place %mvn_package :jaxws-tools __noinstall %mvn_package :wscompile tools %mvn_alias :wscompile :jaxws-tools %mvn_package ":jaxws-*-transport" transports %mvn_package :extras transports %mvn_alias :rt :jaxws-ri:jar: :jaxws-rt:jar: %build %mvn_build -- -P!generate-javadoc-profile %install %mvn_install %files -f .mfiles %doc README.md %doc --no-dereference CDDL+GPLv2.html CDDL-1.0-license.txt %files tools -f .mfiles-tools %doc CDDL+GPLv2.html CDDL-1.0-license.txt %files transports -f .mfiles-transports %doc --no-dereference CDDL+GPLv2.html CDDL-1.0-license.txt %files javadoc -f .mfiles-javadoc %doc --no-dereference CDDL+GPLv2.html CDDL-1.0-license.txt %changelog * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0:2.2.10-alt1_10jpp8 - fc29 update * Fri Jun 01 2018 Igor Vlasenko <viy@altlinux.ru> 0:2.2.10-alt1_9jpp8 - java fc28+ update * Tue May 08 2018 Igor Vlasenko <viy@altlinux.ru> 0:2.2.10-alt1_8jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.2.10-alt1_7jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.2.10-alt1_6jpp8 - new jpp release * Fri Dec 16 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.2.10-alt1_4jpp8 - new fc release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.2.10-alt1_3jpp8 - new fc release * Sun Feb 07 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.2.10-alt1_2jpp8 - java 8 mass update * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.2.7-alt1_2jpp7 - new release * Mon Sep 17 2012 Igor Vlasenko <viy@altlinux.ru> 0:2.1.3-alt4_8jpp6 - build with new boss * Wed Sep 12 2012 Igor Vlasenko <viy@altlinux.ru> 0:2.1.3-alt3_8jpp6 - build with glassfish-jaxb21 * Thu Feb 03 2011 Igor Vlasenko <viy@altlinux.ru> 0:2.1.3-alt2_8jpp6 - fixed components-info - hack: added saaj-api/impl.jar though jaxws is built w/o them, for jbossas compatibility * Thu Feb 03 2011 Igor Vlasenko <viy@altlinux.ru> 0:2.1.3-alt1_8jpp6 - new version * Thu Feb 03 2011 Igor Vlasenko <viy@altlinux.ru> 0:2.1.1-alt2_4jpp5 - fixed components-info * Mon Jan 05 2009 Igor Vlasenko <viy@altlinux.ru> 0:2.1.1-alt1_4jpp5 - fixed repocop warnings * Wed Nov 19 2008 Igor Vlasenko <viy@altlinux.ru> 0:2.1.1-alt1_3jpp5.1 - NMU (by repocop): the following fixes applied: * windows-thumbnail-database-in-package for glassfish-jaxws-javadoc * Sat Sep 06 2008 Igor Vlasenko <viy@altlinux.ru> 0:2.1.1-alt1_3jpp5 - converted from JPackage by jppimport script |