new pckg OBS-URL: https://build.opensuse.org/request/show/1116197 OBS-URL: https://build.opensuse.org/package/show/Java:packages/javapackages-cli?expand=0&rev=1
78 lines
1.9 KiB
RPMSpec
78 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package javapackages-cli
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: javapackages-cli
|
|
Version: 0.0.1
|
|
Release: 0
|
|
Summary: Command-line tools for javapackages
|
|
License: SUSE-Public-Domain
|
|
Group: Development/Tools/Building
|
|
URL: http://central.maven.org/maven2
|
|
Source0: javapackages-scripts.sh
|
|
Requires: javapackages-local
|
|
Requires: rpm
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Command-line tools corresponding to the javapackages macros
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
install -dm 755 %{buildroot}%{_bindir}
|
|
install -m 755 %{SOURCE0} %{buildroot}%{_bindir}/javapackages-scripts
|
|
pushd %{buildroot}%{_bindir}
|
|
for i in \
|
|
add_maven_depmap \
|
|
gradle_build \
|
|
mvn_alias \
|
|
mvn_artifact \
|
|
mvn_build \
|
|
mvn_compat_version \
|
|
mvn_config \
|
|
mvn_file \
|
|
mvn_install \
|
|
mvn_install_pom \
|
|
mvn_package \
|
|
mvn_subst \
|
|
pom_add_dep \
|
|
pom_add_dep_mgmt \
|
|
pom_add_parent \
|
|
pom_add_plugin \
|
|
pom_change_dep \
|
|
pom_disable_module \
|
|
pom_remove_dep \
|
|
pom_remove_parent \
|
|
pom_remove_plugin \
|
|
pom_set_parent \
|
|
pom_xpath_disable \
|
|
pom_xpath_inject \
|
|
pom_xpath_remove \
|
|
pom_xpath_replace \
|
|
pom_xpath_set ; do
|
|
ln -s javapackages-scripts $i
|
|
done
|
|
popd
|
|
|
|
%files
|
|
%{_bindir}/*
|
|
|
|
%changelog
|