From 17a1b8ad138bd8d8b605dfafc34eda545d104004fafbd8b054b184b79a5560b8 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 7 Mar 2023 17:37:54 +0000 Subject: [PATCH] Accepting request 1069580 from home:urbic:java Submitting a new package OBS-URL: https://build.opensuse.org/request/show/1069580 OBS-URL: https://build.opensuse.org/package/show/Java:packages/functionaljava?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + functionaljava-5.0.pom | 56 ++++++++++++++++++ functionaljava-5.0.tar.gz | 3 + functionaljava-java-core-5.0.pom | 50 ++++++++++++++++ functionaljava.changes | 4 ++ functionaljava.spec | 99 ++++++++++++++++++++++++++++++++ 7 files changed, 236 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 functionaljava-5.0.pom create mode 100644 functionaljava-5.0.tar.gz create mode 100644 functionaljava-java-core-5.0.pom create mode 100644 functionaljava.changes create mode 100644 functionaljava.spec 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/functionaljava-5.0.pom b/functionaljava-5.0.pom new file mode 100644 index 0000000..3448cdf --- /dev/null +++ b/functionaljava-5.0.pom @@ -0,0 +1,56 @@ + + + 4.0.0 + org.functionaljava + functionaljava + 5.0 + Functional Java + Functional Java is an open source library that supports closures for the Java programming language + http://functionaljava.org/ + + Functional Java + http://functionaljava.org/ + + + + The BSD3 License + https://github.com/functionaljava/functionaljava/blob/master/etc/LICENCE + repo + + + + + functionaljava@googlegroups.com + + + + git://github.com/functionaljava/functionaljava.git + + + + junit + junit + 4.12 + test + + + com.h2database + h2 + 1.4.199 + test + + + commons-dbutils + commons-dbutils + 1.7 + test + + + org.junit.vintage + junit-vintage-engine + 5.5.2 + test + + + diff --git a/functionaljava-5.0.tar.gz b/functionaljava-5.0.tar.gz new file mode 100644 index 0000000..41c2cf0 --- /dev/null +++ b/functionaljava-5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7347912ca5e8b9abcc4afe32ad37cb51eb6a10dc49807d680857417b6872615d +size 401002 diff --git a/functionaljava-java-core-5.0.pom b/functionaljava-java-core-5.0.pom new file mode 100644 index 0000000..18c441a --- /dev/null +++ b/functionaljava-java-core-5.0.pom @@ -0,0 +1,50 @@ + + + 4.0.0 + org.functionaljava + functionaljava-java-core + 5.0 + Functional Java + Functional Java is an open source library that supports closures for the Java programming language + http://functionaljava.org/ + + Functional Java + http://functionaljava.org/ + + + + The BSD3 License + https://github.com/functionaljava/functionaljava/blob/master/etc/LICENCE + repo + + + + + functionaljava@googlegroups.com + + + + git://github.com/functionaljava/functionaljava.git + + + + org.functionaljava + functionaljava + 5.0 + compile + + + junit + junit + 4.12 + test + + + org.junit.vintage + junit-vintage-engine + 5.5.2 + test + + + diff --git a/functionaljava.changes b/functionaljava.changes new file mode 100644 index 0000000..26e5bd4 --- /dev/null +++ b/functionaljava.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Dec 13 12:33:31 UTC 2022 - Anton Shvetz + +- Initial packaging with v5.0 diff --git a/functionaljava.spec b/functionaljava.spec new file mode 100644 index 0000000..7e579ff --- /dev/null +++ b/functionaljava.spec @@ -0,0 +1,99 @@ +# +# spec file for package functionaljava +# +# 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: functionaljava +Version: 5.0 +Release: 0 +Summary: Functional programming in Java +License: BSD-3-Clause +Group: Development/Libraries/Java +URL: http://www.functionaljava.org/ +Source0: https://github.com/functionaljava/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: https://repo1.maven.org/maven2/org/%{name}/%{name}/%{version}/%{name}-%{version}.pom +Source2: https://repo1.maven.org/maven2/org/%{name}/%{name}-java-core/%{version}/%{name}-java-core-%{version}.pom +BuildRequires: maven-local +BuildArch: noarch + +%description +Functional Java is an open source library facilitating functional programming +in Java. The library implements numerous basic and advanced programming +abstractions that assist composition oriented development. Functional Java also +serves as a platform for learning functional programming concepts by +introducing these concepts using a familiar language. + +The library is intended for use in production applications and is thoroughly +tested using the technique of automated specification-based testing with +ScalaCheck and Functional Java’s quickcheck module. + +Functional Java provides abstractions for the following types: +• Basic Data Structures - total and partial functions, products, unit, option, + unbiased and right biased unions (either and validation), void. +• Immutable Collections - array, list, vector, stream, set, map, priority + queue, finger tree, heterogenous list, difference list. +• Other Abstractions - monoid, semigroup, natural, random number generator, + reader, writer, state, input/output, parser, zipper, specification based + testing (quickcheck), actors, optics (lens, prism, fold, traversal and + others), concurrency and type conversion. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q +cp %{SOURCE1} core/pom.xml +cp %{SOURCE2} java-core/pom.xml + +cat <<__POM__ >pom.xml + + + 4.0.0 + org.functionaljava + functionaljava-parent + Functional Java Parent POM + %{version} + pom + + core + java-core + + +__POM__ + +%build +%{mvn_build} -f -- -Dmaven.compiler.{source,target}=8 + +%install +%{mvn_package} :functionaljava-parent:pom: __noinstall +%mvn_install + +%files -f .mfiles +%license etc/LICENCE +%doc etc/release-notes etc/CONTRIBUTORS README.adoc + +%files javadoc -f .mfiles-javadoc +%license etc/LICENCE + +%changelog