Accepting request 1110133 from home:urbic:java

Submitting a new package

OBS-URL: https://build.opensuse.org/request/show/1110133
OBS-URL: https://build.opensuse.org/package/show/Java:packages/underscore-java?expand=0&rev=1
This commit is contained in:
2023-09-10 15:42:40 +00:00
committed by Git OBS Bridge
commit 90bc5e1248
5 changed files with 118 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,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ddc49d0b56c18bf59486caad5703ab632f6ccb5beba474fb73c9e36e23c5b58
size 168575

19
underscore-java.changes Normal file
View File

@@ -0,0 +1,19 @@
-------------------------------------------------------------------
Sun Sep 10 09:08:18 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.92
* Substituted the customized Optional with java.util.Optional
* Updated junit
* Improved json parser tests
-------------------------------------------------------------------
Tue Aug 8 12:40:40 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.92
* The interfaces have been relocated within the Underscore class
* XML attribute parser has been enhanced
-------------------------------------------------------------------
Mon Jul 31 19:46:40 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Initial packaging with v1.91

72
underscore-java.spec Normal file
View File

@@ -0,0 +1,72 @@
#
# spec file for package underscore-java
#
# Copyright (c) 2023 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: underscore-java
Version: 1.93
Release: 0
Summary: Java port of Underscore.js
License: MIT
Group: Development/Libraries/Java
URL: https://javadev.github.io/%{name}/
Source0: https://github.com/javadev/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildArch: noarch
%description
Underscore-java is a port of Underscore.js for Java. It is a utility-belt
library that provides a lot of the functional programming support that you
would expect in Prototype.js (or Ruby).
Underscore-java provides dozens of functions that support both the usual
functional suspects: map, select, invoke as well as more specialized helpers:
function binding, sorting, deep equality testing, and so on. It delegates to
built-in functions where applicable.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%setup -q
%pom_remove_plugin com.github.searls:jasmine-maven-plugin
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :maven-surefire-plugin
%{mvn_file} : underscore
%build
%{mvn_build} -f
%install
%mvn_install
%fdupes %{buildroot}%{_javadocdir}/%{name}
%files -f .mfiles
%license LICENSE
%doc {README,SECURITY}.md
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog