Name: glassfish-transaction-api Version: 1.2 Release: 8%{?dist} Summary: Java JTA 1.2 API Design Specification License: CDDL or GPLv2 with exceptions URL: https://java.net/projects/jta-spec/ # svn export https://svn.java.net/svn/glassfish~svn/tags/javax.transaction-api-1.2 glassfish-transaction-api-1.2 # tar cJf glassfish-transaction-api-1.2.tar.xz glassfish-transaction-api-1.2 Source0: %{name}-%{version}.tar.xz BuildRequires: maven-local BuildRequires: mvn(javax.enterprise:cdi-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 Java Transaction 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 :maven-site-plugin %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-release-plugin %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.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Feb 06 2017 Michael Simacek - 1.2-3 - Remove useless maven-release-plugin * Wed Feb 03 2016 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Aug 09 2013 gil cattaneo 1.2-1 - initial rpm