forked from pool/java-jwt
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
This commit is contained in:
commit
e2cc4550ba
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
3.8.3.tar.gz
Normal file
3
3.8.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c92783f373c43c061a7b1aed77de11a1bcd9354bd8ff8aa1302fe2fd205bc1d0
|
||||
size 128628
|
54
java-jwt-3.8.3.pom
Normal file
54
java-jwt-3.8.3.pom
Normal file
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.auth0</groupId>
|
||||
<artifactId>java-jwt</artifactId>
|
||||
<version>3.8.3</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>java jwt</name>
|
||||
<description>Java implementation of JSON Web Token (JWT)</description>
|
||||
<url>https://github.com/auth0/java-jwt</url>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>auth0</id>
|
||||
<name>Auth0</name>
|
||||
<email>oss@auth0.com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>hzalaz</id>
|
||||
<name>Hernan Zalazar</name>
|
||||
<email>hernan@auth0.com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>lbalmaceda</id>
|
||||
<name>Luciano Balmaceda</name>
|
||||
<email>luciano.balmaceda@auth0.com</email>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>2.10.0.pr3</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-codec</groupId>
|
||||
<artifactId>commons-codec</artifactId>
|
||||
<version>1.12</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The MIT License (MIT)</name>
|
||||
<url>https://raw.githubusercontent.com/auth0/java-jwt/master/LICENSE</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<connection>scm:git@github.com:auth0/java-jwt.git</connection>
|
||||
<developerConnection>scm:git@github.com:auth0/java-jwt.git</developerConnection>
|
||||
<url>https://github.com/auth0/java-jwt</url>
|
||||
</scm>
|
||||
</project>
|
4
java-jwt.changes
Normal file
4
java-jwt.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 08:53:09 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Initial packaging of java-jwt 3.8.3
|
72
java-jwt.spec
Normal file
72
java-jwt.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user