commit e2cc4550ba8b7ce5648d805b8b5f6cf3b6e170344ce054331ed8e5b3467005b2 Author: Fridrich Strba Date: Thu Feb 27 09:09:25 2020 +0000 Accepting request 779836 from home:fstrba:maven new package OBS-URL: https://build.opensuse.org/request/show/779836 OBS-URL: https://build.opensuse.org/package/show/Java:packages/java-jwt?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/3.8.3.tar.gz b/3.8.3.tar.gz new file mode 100644 index 0000000..b49f2c7 --- /dev/null +++ b/3.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c92783f373c43c061a7b1aed77de11a1bcd9354bd8ff8aa1302fe2fd205bc1d0 +size 128628 diff --git a/java-jwt-3.8.3.pom b/java-jwt-3.8.3.pom new file mode 100644 index 0000000..0652778 --- /dev/null +++ b/java-jwt-3.8.3.pom @@ -0,0 +1,54 @@ + + + 4.0.0 + com.auth0 + java-jwt + 3.8.3 + jar + java jwt + Java implementation of JSON Web Token (JWT) + https://github.com/auth0/java-jwt + + + auth0 + Auth0 + oss@auth0.com + + + hzalaz + Hernan Zalazar + hernan@auth0.com + + + lbalmaceda + Luciano Balmaceda + luciano.balmaceda@auth0.com + + + + + com.fasterxml.jackson.core + jackson-databind + 2.10.0.pr3 + runtime + + + commons-codec + commons-codec + 1.12 + runtime + + + + + The MIT License (MIT) + https://raw.githubusercontent.com/auth0/java-jwt/master/LICENSE + repo + + + + scm:git@github.com:auth0/java-jwt.git + scm:git@github.com:auth0/java-jwt.git + https://github.com/auth0/java-jwt + + diff --git a/java-jwt.changes b/java-jwt.changes new file mode 100644 index 0000000..bd073df --- /dev/null +++ b/java-jwt.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Feb 27 08:53:09 UTC 2020 - Fridrich Strba + +- Initial packaging of java-jwt 3.8.3 diff --git a/java-jwt.spec b/java-jwt.spec new file mode 100644 index 0000000..8ba500f --- /dev/null +++ b/java-jwt.spec @@ -0,0 +1,72 @@ +# +# spec file for package java-jwt +# +# Copyright (c) 2020 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: java-jwt +Version: 3.8.3 +Release: 0 +Summary: Java JWT +License: MIT +Group: Development/Libraries/Java +URL: https://github.com/auth0/%{name} +Source0: https://github.com/auth0/%{name}/archive/%{version}.tar.gz +Source1: https://repo1.maven.org/maven2/com/auth0/%{name}/%{version}/%{name}-%{version}.pom +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) +BuildRequires: mvn(commons-codec:commons-codec) +BuildArch: noarch + +%description +Java implementation of JSON Web Token (JWT) + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for the Logback library + +%prep +%setup -q +cp %{SOURCE1} lib/pom.xml + +%pom_xpath_remove pom:dependency/pom:scope lib + +%build +pushd lib +%{mvn_build} -f -- \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=7 \ +%endif + -Dmaven.compiler.source=7 -Dmaven.compiler.target=7 -Dsource=7 +popd + +%install +pushd lib +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} +popd + +%files -f lib/.mfiles +%license LICENSE +%doc README.md + +%files javadoc -f lib/.mfiles-javadoc +%license LICENSE + +%changelog