75 lines
2.3 KiB
RPMSpec
75 lines
2.3 KiB
RPMSpec
|
#
|
|||
|
# spec file for package dsiutils
|
|||
|
#
|
|||
|
# 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: dsiutils
|
|||
|
Version: 2.7.3
|
|||
|
Release: 0
|
|||
|
Summary: DSI Utilities
|
|||
|
License: LGPL-2.1-only AND Apache-2.0
|
|||
|
Group: Development/Libraries/Java
|
|||
|
URL: https://dsiutils.di.unimi.it/
|
|||
|
Source: %{name}-%{version}.tar.xz
|
|||
|
BuildRequires: ivy-local
|
|||
|
BuildRequires: mvn(ch.qos.logback:logback-core)
|
|||
|
BuildRequires: mvn(com.github.luben:zstd-jni)
|
|||
|
BuildRequires: mvn(com.google.guava:guava)
|
|||
|
BuildRequires: mvn(it.unimi.di:jsap)
|
|||
|
BuildRequires: mvn(it.unimi.dsi:fastutil)
|
|||
|
BuildRequires: mvn(junit:junit)
|
|||
|
BuildRequires: mvn(org.apache.commons:commons-collections4)
|
|||
|
BuildRequires: mvn(org.apache.commons:commons-configuration2)
|
|||
|
BuildRequires: mvn(org.apache.commons:commons-math3)
|
|||
|
BuildRequires: mvn(org.slf4j:slf4j-api)
|
|||
|
BuildArch: noarch
|
|||
|
|
|||
|
%description
|
|||
|
The DSI Utilities are a mishmash of classes accumulated during the last twenty
|
|||
|
years in projects developed at the DSI (Dipartimento di Scienze
|
|||
|
dell’Informazione, i.e., Information Sciences Department), now DI (Dipartimento
|
|||
|
di Informatica, i.e., Informatics Department), of the Università degli Studi di
|
|||
|
Milano.
|
|||
|
|
|||
|
%package javadoc
|
|||
|
Summary: API documentation for %{name}
|
|||
|
Group: Documentation/HTML
|
|||
|
|
|||
|
%description javadoc
|
|||
|
API documentation for %{name}.
|
|||
|
|
|||
|
%prep
|
|||
|
%setup -q
|
|||
|
|
|||
|
%{mvn_file} : %{name}
|
|||
|
|
|||
|
%build
|
|||
|
%{ant} -Divy.mode=local \
|
|||
|
ivy-setupjars jar javadoc ivy-pom
|
|||
|
|
|||
|
%install
|
|||
|
%{mvn_artifact} pom.xml %{name}-%{version}.jar
|
|||
|
%mvn_install -J docs
|
|||
|
|
|||
|
%files -f .mfiles
|
|||
|
%license LICENSE-2.0.txt COPYING.LESSER
|
|||
|
%doc CHANGES README.md
|
|||
|
|
|||
|
%files javadoc -f .mfiles-javadoc
|
|||
|
%license LICENSE-2.0.txt COPYING.LESSER
|
|||
|
|
|||
|
%changelog
|