Package apache-commons-math: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | Epoch: 0 # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-java # END SourceDeps(oneline) %filter_from_requires /^java-headless/d BuildRequires: /proc BuildRequires: jpackage-generic-compat %define fedora 23 %global short_name commons-math3 Name: apache-commons-math Version: 3.4.1 Release: alt1_2jpp8 Summary: Java library of lightweight mathematics and statistics components Group: Development/Java License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz BuildRequires: jpackage-utils BuildRequires: maven-local %if 0%{?fedora} >= 21 BuildRequires: mvn(org.jacoco:jacoco-maven-plugin) >= 0.7.0 %endif Requires: jpackage-utils BuildArch: noarch Source44: import.info %description Commons Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in the Java programming language or Commons Lang. %package javadoc Summary: Javadoc for %{name} Group: Development/Java BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{short_name}-%{version}-src # Compatibility links %mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}" %mvn_file :%{short_name} %{short_name} %{name} # Disable Jacoco Maven plugin for Fedora releases having jacoco < 0.7.0 %if 0%{?fedora} < 21 rm src/site/resources/profile.jacoco %endif # Disable maven-jgit-buildnumber-plugin plugin (not available in Fedora) %pom_remove_plugin ru.concerteza.buildnumber:maven-jgit-buildnumber-plugin %build %mvn_build %install %mvn_install %files -f .mfiles %doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt NOTICE.txt %changelog * Fri Feb 05 2016 Igor Vlasenko <viy@altlinux.ru> 0:3.4.1-alt1_2jpp8 - java 8 mass update * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:3.2-alt2_3jpp7 - new release * Thu Aug 07 2014 Igor Vlasenko <viy@altlinux.ru> 0:3.2-alt2_1jpp7 - rebuild with maven-local * Sat Jul 19 2014 Igor Vlasenko <viy@altlinux.ru> 0:3.2-alt1_1jpp7 - new version * Wed Feb 13 2013 Igor Vlasenko <viy@altlinux.ru> 0:3.1.1-alt1_1jpp7 - fc update * Thu Sep 20 2012 Igor Vlasenko <viy@altlinux.ru> 0:3.0-alt2_2jpp7 - added jpp compat symlink * Tue Sep 18 2012 Igor Vlasenko <viy@altlinux.ru> 0:3.0-alt1_2jpp7 - new version * Tue Sep 18 2012 Igor Vlasenko <viy@altlinux.ru> 0:2.0-alt4_5jpp6 - build without mojo-* plugins * Mon Mar 19 2012 Igor Vlasenko <viy@altlinux.ru> 0:2.0-alt3_5jpp6 - fixed build with maven3 * Wed Feb 02 2011 Igor Vlasenko <viy@altlinux.ru> 0:2.0-alt2_5jpp6 - fixed jakarta symlink * Tue Feb 01 2011 Igor Vlasenko <viy@altlinux.ru> 0:2.0-alt1_5jpp6 - build with maven2-plugin-shade |