%global commit_hash 1dead92 %global tag_hash 2a7fb9b Name: jnr-x86asm Version: 1.0.2 Release: 19%{?dist} Summary: Pure-java port of asmjit License: MIT URL: https://github.com/jnr/%{name}/ Source0: https://github.com/jnr/%{name}/tarball/%{version}/jnr-%{name}-%{version}-0-g%{commit_hash}.tar.gz Source1: MANIFEST.MF Patch0: add-manifest.patch BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) %description Pure-java port of asmjit (http://code.google.com/p/asmjit/) %package javadoc Summary: Javadoc for %{name} %description javadoc Javadoc for %{name}. %prep %setup -q -n jnr-%{name}-%{tag_hash} %patch0 cp %{SOURCE1} . find ./ -name '*.jar' -delete find ./ -name '*.class' -delete %build %mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6 %install %mvn_install %files -f .mfiles %license LICENSE %doc README %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Wed Jun 24 2020 Roland Grunberg - 1.0.2-19 - Use source/target of 1.6 to build against Java 11. * Wed Jan 29 2020 Fedora Release Engineering - 1.0.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.0.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jun 30 2017 Mat Booth - 1.0.2-12 - Minor spec file cleanups * Fri Feb 10 2017 Fedora Release Engineering - 1.0.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 16 2016 Merlin Mathesius - 1.0.2-10 - Add missing BuildRequires to fix FTBFS (BZ#1405627). * Thu Feb 04 2016 Fedora Release Engineering - 1.0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jun 22 2015 Fedora Release Engineering - 1.0.2-8 - Add OSGi MANIFEST.MF. * Wed Jun 17 2015 Fedora Release Engineering - 1.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Apr 30 2015 Alexander Kurtakov 1.0.2-6 - Migrate to install with xmvn. * Mon Jun 16 2014 Mat Booth - 1.0.2-5 - Fix FTBFS. * Sun Jun 08 2014 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 1.0.2-3 - Use Requires: java-headless rebuild (#1067528) * Sat Aug 03 2013 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Feb 05 2013 Bohuslav Kabrda - 1.0.2-1 - Updated to version 1.0.2. - Switch from ant to maven. * Tue Oct 09 2012 gil cattaneo - 0.1-6 - add maven pom - adapt to current guideline * Thu Jul 19 2012 Fedora Release Engineering - 0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon May 24 2010 Mohammed Morsi - 0.1-2 - fixed macros for consistency - fixed Source0 url - corrected license, now LGPLv3 - require jpackage-utils in javadocs package * Mon Feb 01 2010 Mohammed Morsi - 0.1-1 - Initial package (needed for jaffl, needed for jruby)