From a77695cacf6dd4a9de15384923bc6d6bfb8f7bb010cbcdde54c4700e90d10abd Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 3 Mar 2022 05:19:55 +0000 Subject: [PATCH] Accepting request 958451 from home:alarrosa:branches:Java:packages New package Java-WebSocket 1.5.2 OBS-URL: https://build.opensuse.org/request/show/958451 OBS-URL: https://build.opensuse.org/package/show/Java:packages/Java-WebSocket?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + Java-WebSocket-1.5.2.tar.xz | 3 ++ Java-WebSocket.changes | 5 ++++ Java-WebSocket.spec | 60 +++++++++++++++++++++++++++++++++++++ LICENSE | 22 ++++++++++++++ _service | 16 ++++++++++ 7 files changed, 130 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Java-WebSocket-1.5.2.tar.xz create mode 100644 Java-WebSocket.changes create mode 100644 Java-WebSocket.spec create mode 100644 LICENSE create mode 100644 _service 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/Java-WebSocket-1.5.2.tar.xz b/Java-WebSocket-1.5.2.tar.xz new file mode 100644 index 0000000..7d38ff5 --- /dev/null +++ b/Java-WebSocket-1.5.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0956b175d94786b7588480a73c407140555a50e59440b414a37352f600661188 +size 130864 diff --git a/Java-WebSocket.changes b/Java-WebSocket.changes new file mode 100644 index 0000000..375655b --- /dev/null +++ b/Java-WebSocket.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Mar 2 13:19:43 UTC 2022 - Antonio Larrosa + +- Initial packaging of Java-WebSocket 1.5.2 + diff --git a/Java-WebSocket.spec b/Java-WebSocket.spec new file mode 100644 index 0000000..1fd829e --- /dev/null +++ b/Java-WebSocket.spec @@ -0,0 +1,60 @@ +# +# spec file for package Java-WebSocket +# +# Copyright (c) 2022 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-WebSocket +Version: 1.5.2 +Release: 0 +Summary: A barebones WebSocket client and server implementation written in Java +License: MIT +URL: https://github.com/TooTallNate/Java-WebSocket +Source0: %{name}-%{version}.tar.xz +Source1: https://raw.githubusercontent.com/TooTallNate/Java-WebSocket/master/LICENSE +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-checkstyle-plugin) +BuildArch: noarch + +%description +Capa abstracta de acceso a tarjetas inteligentes 100% java + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q +cp %{SOURCE1} . + +%build +%{mvn_build} -f + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f59a237 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ + Copyright (c) 2010-2020 Nathan Rajlich + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/_service b/_service new file mode 100644 index 0000000..06bb64b --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + git + https://github.com/TooTallNate/Java-WebSocket.git + v1.5.2 + v* + @PARENT_TAG@ + v(.*) + Java-WebSocket + + + *.tar + xz + + +