Files
underscore-java/underscore-java.spec
Fridrich Strba 7003eb2214 Accepting request 1175554 from home:urbic:branches:Java:packages
- Update to v1.101
  * Updated azure-pipelines.yml
  * Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12
  * Improved Json class
  * Resolved duplicate entries within the Json class
  * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.3.1 to
    4.8.4.0
  * Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to
    3.4.0
  * Bump org.apache.maven.plugins:maven-pmd-plugin from 3.21.2 to
    3.22.0
- Update to v1.100
  * Updated codeql.yml
  * Updated scorecard.yml
  * Fixed idea warnings for class Xml
  * Fixed idea warnings for class Json
  * Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1
    to 3.13.0
  * Included Java 22 for continuous integration
- Update to v1.99
  * Corrected UTF-8 character
  * Added new mode XmlToJsonMode.REPLACE_MINUS_WITH_AT
  * Added new mode
    XmlToJsonMode.REPLACE_EMPTY_TAG_WITH_NULL_AND_MINUS_WITH_AT
  * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.3.0 to
    4.8.3.1
  * Upgraded to JUnit 5.10.2
  * Created codeql.yml
  * Enhanced parsing of XML attributes
  * spring-web was updated to version 6.1.4
- Update to v1.98
  * Bump org.apache.maven.plugins:maven-jxr-plugin from 3.3.1 to
    3.3.2
  * Updated copyright headers to 2024
  * Enhanced source formatting
  * Bump org.apache.maven.plugins:maven-surefire-report-plugin from
    3.2.2 to 3.2.5
  * Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3
    to 3.2.5
  * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.2.0 to
    4.8.3.0
  * Updated Spring Boot to version 3.2.2
- Update to v1.97
  * Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2
    to 3.2.3
  * Bump org.apache.maven.plugins:maven-compiler-plugin
  * Excluded Java versions 19 and 20 from continuous integration
  * Bump org.apache.maven.plugins:maven-jxr-plugin from 3.3.1 to
    3.3.2
- Update to v1.96
  * Bump org.apache.maven.plugins:maven-pmd-plugin from 3.21.0 to
    3.21.2
  * Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2
    to 3.2.2
  * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.6 to
    4.8.1.0
- Update to v1.95
  * Improved creation of ArrayList and LinkedHashMap
  * Added methods U.propertiesToMap(properties) and
    U.mapToProperties(map)
- Update to v1.94
  * Enhanced GitHub workflows and included Java 21
  * Added U.associateBy(iterable, func)
- Update to v1.93
  * Substituted the customized Optional with java.util.Optional
  * Updated junit
  * Improved json parser tests
- Update to v1.92
  * The interfaces have been relocated within the Underscore class
  * XML attribute parser has been enhanced
- Initial packaging with v1.91

OBS-URL: https://build.opensuse.org/request/show/1175554
OBS-URL: https://build.opensuse.org/package/show/Java:packages/underscore-java?expand=0&rev=2
2024-05-21 14:03:05 +00:00

73 lines
2.1 KiB
RPMSpec

#
# spec file for package underscore-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: underscore-java
Version: 1.101
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