Package apache-commons-lang: 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 | Epoch: 0 # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java # END SourceDeps(oneline) AutoReq: yes,noosgi BuildRequires: rpm-build-java-osgi BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %global base_name lang %global short_name commons-%{base_name} Name: apache-%{short_name} Version: 2.6 Release: alt5_22jpp8 Summary: Provides a host of helper utilities for the java.lang API License: ASL 2.0 Group: Development/Other URL: http://commons.apache.org/%{base_name} Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz Patch1: 0002-Fix-FastDateFormat-for-Java-7-behaviour.patch BuildArch: noarch BuildRequires: maven-local BuildRequires: apache-commons-parent BuildRequires: maven-surefire-provider-junit Source44: import.info Provides: %{short_name} = %{epoch}:%{version}-%{release} Provides: jakarta-%{short_name} = %{epoch}:%{version}-%{release} %description The standard Java libraries fail to provide enough methods for manipulation of its core classes. The Commons Lang Component provides these extra methods. The Commons Lang Component provides a host of helper utilities for the java.lang API, notably String manipulation methods, basic numerical methods, object reflection, creation and serialization, and System properties. Additionally it contains an inheritable enum type, an exception structure that supports multiple types of nested-Exceptions and a series of utilities dedicated to help with building methods, such as hashCode, toString and equals. %package javadoc Summary: API documentation for %{name} Group: Development/Java BuildArch: noarch %description javadoc %{summary}. %prep %setup -q -n %{short_name}-%{version}-src %patch1 -p1 sed -i 's/\r//' *.txt *.html # "enum" is used as a Java identifier, which is prohibited in Java >= 1.5 %pom_add_plugin org.apache.maven.plugins:maven-javadoc-plugin . " <configuration><source>1.3</source></configuration>" %mvn_file : %{name} %{short_name} %mvn_alias : org.apache.commons: %{base_name}:%{base_name} # this package needs to be compiled with -source 1.3 option %mvn_config buildSettings/compilerSource 1.3 %build %mvn_build %install %mvn_install %files -f .mfiles %doc PROPOSAL.html LICENSE.txt RELEASE-NOTES.txt NOTICE.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt NOTICE.txt %changelog * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt5_22jpp8 - fc29 update * Sun Apr 15 2018 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt5_21jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt5_20jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt5_19jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt5_18jpp8 - new fc release * Wed Feb 03 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt5_17jpp8 - new version * Fri Jan 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt4jpp - bootstrap pack of jars created with jppbootstrap script - temporary package to satisfy circular dependencies * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt3_13jpp7 - new release * Sat Aug 23 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt3_12jpp7 - new release * Thu Aug 07 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt3_7jpp7 - rebuild with maven-local * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt2_7jpp7 - NMU rebuild to move poms and fragments * Wed Sep 05 2012 Igor Vlasenko <viy@altlinux.ru> 0:2.6-alt1_7jpp7 - new version * Mon Mar 26 2012 Igor Vlasenko <viy@altlinux.ru> 0:2.4-alt3_7jpp6 - restored javadoc * Sat Mar 24 2012 Igor Vlasenko <viy@altlinux.ru> 0:2.4-alt2_7jpp6 - fixed build * Wed Jan 05 2011 Igor Vlasenko <viy@altlinux.ru> 0:2.4-alt1_7jpp6 - renamed |