# # spec file for package lambda # # 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: lambda Version: 5.5.0 Release: 0 Summary: Functional patterns for Java License: MIT Group: Development/Libraries/Java URL: https://palatable.github.io/%{name}/ Source0: https://github.com/palatable/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildArch: noarch %description Functional patterns for Java. %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} %pom_remove_parent %pom_xpath_inject pom:project 'com.jnape.palatable' %build LC_ALL=C.UTF-8 %{mvn_build} -f %install %mvn_install %files -f .mfiles %license LICENSE %doc {CHANGELOG,README}.md %files javadoc -f .mfiles-javadoc %license LICENSE %changelog