Package maven-wagon: 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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-macros-java BuildRequires: rpm-build-java unzip # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # 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_without scm %bcond_without ssh Name: maven-wagon Epoch: 0 Version: 3.0.0 Release: alt1_1jpp8 Summary: Tools to manage artifacts and deployment License: ASL 2.0 URL: http://maven.apache.org/wagon BuildArch: noarch Source0: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/%{version}/wagon-%{version}-source-release.zip BuildRequires: maven-local %if %{with ssh} BuildRequires: mvn(com.jcraft:jsch) BuildRequires: mvn(com.jcraft:jsch.agentproxy.connector-factory) BuildRequires: mvn(com.jcraft:jsch.agentproxy.jsch) %endif BuildRequires: mvn(commons-io:commons-io) BuildRequires: mvn(commons-net:commons-net) BuildRequires: mvn(org.apache.httpcomponents:httpclient) BuildRequires: mvn(org.apache.httpcomponents:httpcore) BuildRequires: mvn(org.apache.maven:maven-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) %if %{with scm} BuildRequires: mvn(org.apache.maven.scm:maven-scm-api) BuildRequires: mvn(org.apache.maven.scm:maven-scm-manager-plexus) %endif BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) BuildRequires: mvn(org.codehaus.plexus:plexus-interactivity-api) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(org.jsoup:jsoup) BuildRequires: mvn(org.slf4j:jcl-over-slf4j) BuildRequires: mvn(org.slf4j:slf4j-api) Obsoletes: %{name}-manual < %{epoch}:%{version}-%{release} Obsoletes: %{name}-provider-test < %{epoch}:%{version}-%{release} Source44: import.info %description Maven Wagon is a transport abstraction that is used in Maven's artifact and repository handling code. Currently wagon has the following providers: * File * HTTP * FTP * SSH/SCP * WebDAV * SCM (in progress) %package provider-api Group: Development/Java Summary: provider-api module for %{name} Obsoletes: %{name} < 2.6-4 Obsoletes: %{name}-webdav-jackrabbit < 2.9-2 %description provider-api provider-api module for %{name}. %package providers Group: Development/Java Summary: providers module for %{name} %description providers providers module for %{name} %package file Group: Development/Java Summary: file module for %{name} %description file file module for %{name}. %package ftp Group: Development/Java Summary: ftp module for %{name} %description ftp ftp module for %{name}. %package http Group: Development/Java Summary: http module for %{name} %description http http module for %{name}. %package http-shared Group: Development/Java Summary: http-shared module for %{name} %description http-shared http-shared module for %{name}. %package http-lightweight Group: Development/Java Summary: http-lightweight module for %{name} %description http-lightweight http-lightweight module for %{name}. %if %{with scm} %package scm Group: Development/Java Summary: scm module for %{name} %description scm scm module for %{name}. %endif %if %{with ssh} %package ssh-external Group: Development/Java Summary: ssh-external module for %{name} %description ssh-external ssh-external module for %{name}. %package ssh-common Group: Development/Java Summary: ssh-common module for %{name} %description ssh-common ssh-common module for %{name}. %package ssh Group: Development/Java Summary: ssh module for %{name} %description ssh ssh module for %{name}. %endif %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc Javadoc for %{name}. %prep %setup -q -n wagon-%{version} %pom_remove_plugin :animal-sniffer-maven-plugin %pom_remove_plugin :maven-enforcer-plugin %pom_remove_dep :wagon-tck-http wagon-providers/wagon-http # disable tests, missing dependencies %pom_disable_module wagon-tcks %pom_disable_module wagon-ssh-common-test wagon-providers/pom.xml %pom_disable_module wagon-provider-test %pom_remove_dep :wagon-provider-test %pom_remove_dep :wagon-provider-test wagon-providers # missing dependencies %pom_disable_module wagon-webdav-jackrabbit wagon-providers %if %{without scm} %pom_disable_module wagon-scm wagon-providers %endif %if %{without ssh} %pom_disable_module wagon-ssh wagon-providers %pom_disable_module wagon-ssh-common wagon-providers %pom_disable_module wagon-ssh-external wagon-providers %endif %build %mvn_file ":wagon-{*}" %{name}/@1 %mvn_package ":wagon" # tests are disabled because of missing dependencies %mvn_build -f -s # Maven requires Wagon HTTP with classifier "shaded" %mvn_alias :wagon-http :::shaded: %install %mvn_install %files -f .mfiles %doc LICENSE NOTICE DEPENDENCIES %files provider-api -f .mfiles-wagon-provider-api %dir %{_javadir}/%{name} %files providers -f .mfiles-wagon-providers %files file -f .mfiles-wagon-file %files ftp -f .mfiles-wagon-ftp %files http -f .mfiles-wagon-http %files http-shared -f .mfiles-wagon-http-shared %files http-lightweight -f .mfiles-wagon-http-lightweight %if %{with scm} %files scm -f .mfiles-wagon-scm %endif %if %{with ssh} %files ssh-external -f .mfiles-wagon-ssh-external %files ssh-common -f .mfiles-wagon-ssh-common %files ssh -f .mfiles-wagon-ssh %endif %files javadoc -f .mfiles-javadoc %doc LICENSE NOTICE DEPENDENCIES %changelog * Wed Nov 22 2017 Igor Vlasenko <viy@altlinux.ru> 0:3.0.0-alt1_1jpp8 - new version * Tue Nov 14 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.10-alt1_4jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.10-alt1_3jpp8 - new jpp release * Tue Nov 29 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.10-alt1_2jpp8 - new version * Fri Feb 05 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.9-alt1_4jpp8 - java 8 mass update * Wed Jan 20 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.9-alt0.1jpp - bootstrap pack of jars created with jppbootstrap script - temporary package to satisfy circular dependencies * Tue Aug 26 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.5-alt1_2jpp7 - new release * Sat Aug 23 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.4-alt0.2jpp - rebuild to add provides * Fri Aug 22 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.4-alt0.1jpp - bootstrap pack of jars created with jppbootstrap script - temporary package to satisfy circular dependencies * Thu Aug 21 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.0-alt10_6jpp7 - added maven-local BR: * Mon Oct 01 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.0-alt9_6jpp7 - new fc release * Fri Mar 30 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.0-alt9_3jpp7 - complete build * Sun Mar 11 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.0-alt8jpp - bootstrap pack of jars created with jppbootstrap script - temporary package to satisfy circular dependencies |