Package maven-downloader: Specfile
Group: Development/Java # BEGIN SourceDeps(oneline): 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} Name: maven-downloader # Maven-shared defines maven-downloader version as 1.2 Epoch: 1 Version: 1.1 Release: alt1_15jpp8 Summary: Maven artifact downloader License: ASL 2.0 URL: http://maven.apache.org/shared/maven-downloader BuildArch: noarch # svn export http://svn.apache.org/repos/asf/maven/shared/tags/maven-downloader-1.1 maven-downloader-1.1 # tar caf maven-downloader-1.1.tar.xz maven-downloader-1.1/ Source0: %{name}-%{version}.tar.xz # ASL mandates that the licence file be included in redistributed source Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.maven:maven-artifact) BuildRequires: mvn(org.apache.maven:maven-artifact-manager) BuildRequires: mvn(org.apache.maven:maven-compat) BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) Source44: import.info %description Provide a super simple interface for downloading a single artifact. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc API documentation for %{name}. %prep %setup -q %pom_add_dep org.apache.maven:maven-compat # Replace plexus-maven-plugin with plexus-component-metadata %pom_xpath_set "pom:plugin[pom:artifactId[text()='plexus-maven-plugin']]//pom:goal[text()='descriptor']" generate-metadata %pom_xpath_set "pom:artifactId[text()='plexus-maven-plugin']" plexus-component-metadata cp %{SOURCE1} LICENSE.txt %build %mvn_build -f %install %mvn_install %files -f .mfiles %doc LICENSE.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt %changelog * Fri Jun 01 2018 Igor Vlasenko <viy@altlinux.ru> 1:1.1-alt1_15jpp8 - java fc28+ update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 1:1.1-alt1_14jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 1:1.1-alt1_13jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 1:1.1-alt1_12jpp8 - new fc release * Sun Jan 31 2016 Igor Vlasenko <viy@altlinux.ru> 1:1.1-alt1_10jpp8 - new version * Tue Aug 26 2014 Igor Vlasenko <viy@altlinux.ru> 1:1.1-alt1_4jpp7 - new release |