Accepting request 1224420 from Java:packages:test

new package

OBS-URL: https://build.opensuse.org/request/show/1224420
OBS-URL: https://build.opensuse.org/package/show/Java:packages/google-auth-library-java?expand=0&rev=1
This commit is contained in:
2024-11-15 10:47:03 +00:00
committed by Git OBS Bridge
commit 0abe8b24a2
5 changed files with 163 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Nov 14 13:36:01 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Intial packaging with version 1.30.0

View File

@@ -0,0 +1,132 @@
#
# spec file for package google-auth-library-java
#
# Copyright (c) 2024 SUSE LLC
#
# 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: google-auth-library-java
Version: 1.30.0
Release: 0
Summary: Google Auth Library for Java
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://github.com/googleapis/google-auth-library-java
Source0: https://github.com/googleapis/%{name}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
BuildRequires: mvn(com.google.auto.service:auto-service-annotations)
BuildRequires: mvn(com.google.auto.value:auto-value)
BuildRequires: mvn(com.google.auto.value:auto-value-annotations)
BuildRequires: mvn(com.google.cloud:google-cloud-shared-config:pom:)
BuildRequires: mvn(com.google.code.findbugs:jsr305)
BuildRequires: mvn(com.google.errorprone:error_prone_annotations)
BuildRequires: mvn(com.google.guava:guava)
BuildRequires: mvn(com.google.http-client:google-http-client)
BuildRequires: mvn(com.google.http-client:google-http-client-bom:pom:)
BuildRequires: mvn(com.google.http-client:google-http-client-gson)
BuildArch: noarch
%description
Client libraries providing authentication and
authorization to enable calling Google APIs.
%package credentials
Summary: Google Auth Library for Java - Credentials
Group: Development/Libraries/Java
%description credentials
Client libraries providing authentication and
authorization to enable calling Google APIs.
Google Auth Library for Java - Credentials.
%package parent
Summary: Google Auth Library for Java
Group: Development/Libraries/Java
%description parent
Client libraries providing authentication and
authorization to enable calling Google APIs.
%package oauth2-http
Summary: Google Auth Library for Java - OAuth2 HTTP
Group: Development/Libraries/Java
%description oauth2-http
Client libraries providing authentication and
authorization to enable calling Google APIs.
Google Auth Library for Java - OAuth2 HTTP.
%package bom
Summary: Google Auth Library for Java BOM
Group: Development/Libraries/Java
%description bom
Client libraries providing authentication and
authorization to enable calling Google APIs.
BOM for Google Auth Library for Java.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation/HTML
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q
%pom_remove_plugin -r :nexus-staging-maven-plugin
%pom_remove_plugin -r :maven-source-plugin
%pom_remove_plugin -r :jacoco-maven-plugin
%pom_remove_plugin -r :clirr-maven-plugin
%pom_remove_plugin -r :maven-checkstyle-plugin
%pom_remove_plugin -r :maven-javadoc-plugin
%pom_remove_plugin -r :maven-site-plugin
%pom_remove_plugin -r :fmt-maven-plugin
%pom_remove_dep -r :surefire-junit47
%pom_disable_module appengine
%build
%{mvn_build} -s -f -- \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-Dmaven.compiler.release=8 \
%endif
-Dsource=8
%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}
%files bom -f .mfiles-google-auth-library-bom
%files parent -f .mfiles-google-auth-library-parent
%doc README.md
%license LICENSE
%files credentials -f .mfiles-google-auth-library-credentials
%files oauth2-http -f .mfiles-google-auth-library-oauth2-http
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog

3
v1.30.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d283f6153a2d95df1317483ea273dc0ffd810bc39a10106f279e4f4999e836c
size 328960