Files
usethesource-capsule/usethesource-capsule.spec

69 lines
2.1 KiB
RPMSpec

#
# spec file for package usethesource-capsule
#
# 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: usethesource-capsule
Version: 0.7.1
Release: 0
Summary: The Capsule Hash Trie Collections Library
License: BSD-2-Clause
Group: Development/Libraries/Java
URL: https://github.com/usethesource/capsule
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(eu.somatik.serviceloader-maven-plugin:serviceloader-maven-plugin)
BuildArch: noarch
%description
Capsule aims to become a full-fledged (immutable) collections library for Java
11+ that is solely built around persistent tries. The library is designed for
standalone use and for being embedded in domain-specific languages. Capsule
still has to undergo some incubation before it can ship as a well-rounded
collection library. Nevertheless, the code is stable and performance is solid.
Feel free to use it and let us know about your experiences!
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%setup -q -n capsule-%{version}
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin com.mycila:license-maven-plugin
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
%{mvn_file} : %{name}
%build
%{mvn_build} -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE
%doc README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog