commit 0abe8b24a283ca025db9ae5a4351d2b61e67cff08125e7ead0f3cbbc297b2d7c Author: Fridrich Strba Date: Fri Nov 15 10:47:03 2024 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/google-auth-library-java.changes b/google-auth-library-java.changes new file mode 100644 index 0000000..0a6a06a --- /dev/null +++ b/google-auth-library-java.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Nov 14 13:36:01 UTC 2024 - Fridrich Strba + +- Intial packaging with version 1.30.0 diff --git a/google-auth-library-java.spec b/google-auth-library-java.spec new file mode 100644 index 0000000..8f2d2a8 --- /dev/null +++ b/google-auth-library-java.spec @@ -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 diff --git a/v1.30.0.tar.gz b/v1.30.0.tar.gz new file mode 100644 index 0000000..ffeb96d --- /dev/null +++ b/v1.30.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d283f6153a2d95df1317483ea273dc0ffd810bc39a10106f279e4f4999e836c +size 328960