Name: glassfish-ejb-api Version: 3.2 Release: 9%{?dist} Summary: Java EJB 3.2 API Design Specification License: CDDL or GPLv2 with exceptions URL: https://java.net/projects/ejb-spec/ # svn export https://svn.java.net/svn/glassfish~svn/tags/javax.ejb-api-3.2 glassfish-ejb-api-3.2 # tar cJf glassfish-ejb-api-3.2.tar.xz glassfish-ejb-api-3.2 Source0: %{name}-%{version}.tar.xz BuildRequires: maven-local BuildRequires: mvn(javax.transaction:javax.transaction-api) BuildRequires: mvn(javax.xml.rpc:javax.xml.rpc-api) BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-release-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. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q %pom_remove_plugin :findbugs-maven-plugin %pom_remove_plugin :glassfishbuild-maven-plugin %pom_remove_plugin :maven-site-plugin %pom_remove_plugin :maven-source-plugin %pom_xpath_remove "pom:Embed-Dependency" # 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 ' %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 - 3.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jun 22 2016 gil cattaneo 3.2-3 - fix build failure * Wed Feb 03 2016 Fedora Release Engineering - 3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Aug 09 2013 gil cattaneo 3.2-1 - initial rpm