Name: glassfish-jaxrpc-api Version: 1.1.1 Release: 11%{?dist} Summary: The Java API for XML-Based RPC (JAX-RPC) License: CDDL or GPLv2 with exceptions URL: https://metro.java.net/ # svn export https://svn.java.net/svn/glassfish~svn/tags/javax.xml.rpc-api-1.1.1 glassfish-jaxrpc-api-1.1.1 # tar cJf glassfish-jaxrpc-api-1.1.1.tar.xz glassfish-jaxrpc-api-1.1.1 Source0: %{name}-%{version}.tar.xz BuildRequires: maven-local BuildRequires: mvn(javax.servlet:javax.servlet-api) BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin) BuildRequires: mvn(org.glassfish:legal) BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin) BuildArch: noarch %description Project GlassFish Enterprise JavaBean API. Java APIs for XML based RPC 1.1 Design Specification. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{version} %pom_remove_plugin :findbugs-maven-plugin %pom_remove_plugin :maven-site-plugin %pom_remove_plugin :maven-source-plugin %pom_change_dep :servlet-api :javax.servlet-api:3.1.0 . "true" # fix build failure. 'useDefaultManifestFile' has been removed from the maven-jar-plugin >= 3.0.0 %pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:configuration/pom:useDefaultManifestFile" %pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:configuration" ' ${project.build.outputDirectory}/META-INF/MANIFEST.MF ' # Make OSGi dep on soap api optional %pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions" \ "javax.xml.soap;resolution:=optional,*" %mvn_file : %{name} %build %mvn_build cp -p target/classes/META-INF/LICENSE.txt . sed -i 's/\r//' LICENSE.txt %install %mvn_install %files -f .mfiles %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Thu Jul 25 2019 Fedora Release Engineering - 1.1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Mar 17 2019 Mat Booth - 1.1.1-10 - Make the OSGi dep on javax.xml.soap optional * Thu Jan 31 2019 Fedora Release Engineering - 1.1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Aug 21 2018 Mat Booth - 1.1.1-8 - Update BRs * Fri Jul 13 2018 Fedora Release Engineering - 1.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jun 22 2016 gil cattaneo 1.1.1-3 - fix build failure * Wed Feb 03 2016 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Aug 30 2015 gil cattaneo 1.1.1-1 - initial rpm