%define namedreltag .Final %define namedversion %{version}%{?namedreltag} Name: jboss-rmi-1.0-api Version: 1.0.4 Release: 17%{dist} Summary: Java Remote Method Invocation 1.0 API License: GPLv2 with exceptions URL: http://www.jboss.org # git clone https://github.com/jboss/jboss-rmi-api_spec # cd jboss-rmi-api_spec/ && git archive --format=tar --prefix=jboss-rmi-1.0-api-1.0.4.Final/ jboss-rmi-api_1.0_spec-1.0.4.Final | xz > jboss-rmi-1.0-api-1.0.4.Final.tar.xz Source0: %{name}-%{namedversion}.tar.xz # Fix the address of the FSF in the license file: Patch0: %{name}-fix-fsf-address.patch BuildRequires: maven-local BuildRequires: mvn(jacorb:jacorb) >= 2.3.1-3.20120215git BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) BuildRequires: mvn(org.jboss:jboss-parent:pom:) BuildArch: noarch %description Java Remote Method Invocation 1.0 API classes. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains the API documentation for %{name}. %prep # Unpack the sources: %setup -q -n %{name}-%{namedversion} # Apply the patches: %patch0 -p1 # Force as Requires dep %pom_xpath_remove "pom:dependency[pom:groupId = 'jacorb']/pom:scope" %mvn_file : %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %license src/main/resources/LICENSE %files javadoc -f .mfiles-javadoc %license src/main/resources/LICENSE %changelog * Wed Jul 26 2017 Fedora Release Engineering - 1.0.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.0.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Sep 02 2016 gil cattaneo 1.0.4-15 - re-generate depmap * Thu Feb 04 2016 Fedora Release Engineering - 1.0.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jul 29 2015 gil cattaneo 1.0.4-13 - fix FTBFS rhbz#1239604 - switch to xmvn - fix BR list and use BRs mvn()-like - minor changes for adapt to current guideline - introduce license macro - resolve some rpmlint problem * Wed Jun 17 2015 Fedora Release Engineering - 1.0.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 04 2014 Yaakov Selkowitz - 1.0.4-11 - Fix FTBFS due to F21 XMvn changes (#1106896) * Sat Jun 07 2014 Fedora Release Engineering - 1.0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 1.0.4-9 - Use Requires: java-headless rebuild (#1067528) * Sat Aug 03 2013 Fedora Release Engineering - 1.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 1.0.4-6 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Fri Aug 31 2012 Marek Goldmann - 1.0.4-5 - Added maven-dependency-plugin BR * Fri Aug 31 2012 Marek Goldmann - 1.0.4-4 - Added implementation to the build * Tue Jul 24 2012 Juan Hernandez - 1.0.4-3 - Added maven-enforcer-plugin build time dependency * Thu Jul 19 2012 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Mar 22 2012 Juan Hernandez 1.0.4-1 - Initial packaging