Package apache-commons-parent: 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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | Epoch: 0 Group: Development/Other BuildRequires: /proc rpm-build-java BuildRequires: jpackage-default # fedora bcond_with macro %define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} %define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} # redefine altlinux specific with and without %define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} %define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %bcond_with bootstrap Name: apache-commons-parent Version: 52 Release: alt1_4jpp11 Summary: Apache Commons Parent Pom License: ASL 2.0 URL: https://commons.apache.org/commons-parent-pom.html BuildArch: noarch Source0: https://github.com/apache/commons-parent/archive/rel/commons-parent-%{version}.tar.gz BuildRequires: maven-local %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else BuildRequires: mvn(org.apache:apache:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.apache:apache:pom:) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) %endif # Not generated automatically %if %{without bootstrap} BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) %endif Requires: mvn(org.codehaus.mojo:build-helper-maven-plugin) Source44: import.info %description The Project Object Model files for the apache-commons packages. %prep %setup -q -n commons-parent-rel-commons-parent-%{version} # Plugin is not in fedora %pom_remove_plugin org.apache.commons:commons-build-plugin %pom_remove_plugin org.apache.maven.plugins:maven-scm-publish-plugin # Plugins useless in package builds %pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :buildnumber-maven-plugin %pom_remove_plugin :maven-enforcer-plugin %pom_remove_plugin :maven-site-plugin %pom_remove_plugin :maven-source-plugin # Remove profiles for plugins that are useless in package builds for profile in animal-sniffer japicmp jacoco cobertura clirr; do %pom_xpath_remove "pom:profile[pom:id='$profile']" done %build %mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8 %install %mvn_install %files -f .mfiles %doc README.md RELEASE-NOTES.txt %doc --no-dereference LICENSE.txt NOTICE.txt %changelog * Wed Aug 04 2021 Igor Vlasenko <viy@altlinux.org> 0:52-alt1_4jpp11 - update * Tue Jun 01 2021 Igor Vlasenko <viy@altlinux.org> 0:52-alt1_1jpp11 - new version * Wed Jan 29 2020 Igor Vlasenko <viy@altlinux.ru> 0:47-alt1_4jpp8 - fc update * Fri May 24 2019 Igor Vlasenko <viy@altlinux.ru> 0:47-alt1_2jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0:43-alt1_3jpp8 - fc29 update * Tue May 08 2018 Igor Vlasenko <viy@altlinux.ru> 0:43-alt1_2jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:42-alt1_4jpp8 - fc27 update * Mon Oct 30 2017 Igor Vlasenko <viy@altlinux.ru> 0:42-alt1_3jpp8 - new jpp release * Fri Dec 16 2016 Igor Vlasenko <viy@altlinux.ru> 0:40-alt1_2jpp8 - new version * Fri Nov 25 2016 Igor Vlasenko <viy@altlinux.ru> 0:39-alt1_2jpp8 - new version * Wed Feb 03 2016 Igor Vlasenko <viy@altlinux.ru> 0:38-alt1_1jpp8 - new version * Fri Jan 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:38-alt0.1jpp - bootstrap pack of jars created with jppbootstrap script - temporary package to satisfy circular dependencies * Sun Sep 14 2014 Igor Vlasenko <viy@altlinux.ru> 0:32-alt1_2jpp7 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:26-alt1_5jpp7 - fc update * Thu Aug 07 2014 Igor Vlasenko <viy@altlinux.ru> 0:22-alt2_4jpp7 - rebuild with maven-local * Tue Sep 18 2012 Igor Vlasenko <viy@altlinux.ru> 0:22-alt1_4jpp7 - new version * Fri Aug 24 2012 Igor Vlasenko <viy@altlinux.ru> 0:12-alt6_2jpp6 - build with maven-jxr * Mon Apr 16 2012 Igor Vlasenko <viy@altlinux.ru> 0:12-alt5_2jpp6 - dropped commons-build-plugin dependency * Thu Sep 29 2011 Igor Vlasenko <viy@altlinux.ru> 0:12-alt4_2jpp6 - added maven-plugin-bundle as replacement for felix-maven * Wed Sep 28 2011 Igor Vlasenko <viy@altlinux.ru> 0:12-alt3_2jpp6 - removed felix-maven from requires * Wed Jan 05 2011 Igor Vlasenko <viy@altlinux.ru> 0:12-alt2_2jpp6 - removed mojo-maven2-plugin-* from requires * Fri Dec 10 2010 Igor Vlasenko <viy@altlinux.ru> 0:12-alt1_2jpp6 - new jpp release * Mon Oct 18 2010 Igor Vlasenko <viy@altlinux.ru> 0:12-alt1_1jpp6 - fixed init script |