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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | Epoch: 0 # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-macros-java BuildRequires: rpm-build-java # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %global short_name commons-math3 Name: apache-commons-math Version: 3.4.1 Release: alt2_9jpp8 Summary: Java library of lightweight mathematics and statistics components Group: Development/Other 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 # Fix random build self-test failures reported on RHBZ #1402145 (see # https://git1-us-west.apache.org/repos/asf?p=commons-math.git;a=commit;h=a9006aa) Patch1: %{name}-3.4.1-RHBZ1402145.patch BuildRequires: java-devel >= 1.6.0 BuildRequires: jpackage-utils BuildRequires: maven-local BuildRequires: mvn(org.apache.commons:commons-parent:pom:) 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 %patch1 -p1 # Compatibility links %mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}" %mvn_file :%{short_name} %{short_name} %{name} # 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 * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0:3.4.1-alt2_9jpp8 - fc29 update * Tue Jun 05 2018 Igor Vlasenko <viy@altlinux.ru> 0:3.4.1-alt2_8jpp8 - fixed build * Sun Apr 15 2018 Igor Vlasenko <viy@altlinux.ru> 0:3.4.1-alt1_8jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:3.4.1-alt1_7jpp8 - fc27 update * Wed Nov 01 2017 Igor Vlasenko <viy@altlinux.ru> 0:3.4.1-alt1_6jpp8 - new jpp release * Tue Nov 29 2016 Igor Vlasenko <viy@altlinux.ru> 0:3.4.1-alt1_3jpp8 - new fc release * 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 |