# # spec file for package webgraph-big # # 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: webgraph-big Version: 3.7.0 Release: 0 Summary: A framework for graph compression License: LGPL-2.1-only Group: Development/Libraries/Java URL: http://%{name}.di.unimi.it/ Source0: https://github.com/vigna/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: aqute-bnd BuildRequires: fdupes BuildRequires: ivy-local BuildRequires: mvn(it.unimi.dsi:webgraph) BuildRequires: mvn(junit:junit) BuildArch: noarch %description WebGraph is a framework for graph compression aimed at studying web graphs. It provides simple ways to manage very large graphs, exploiting modern compression techniques. This version of WebGraph is limited to graphs with at most 2^31 nodes. For larger graphs, have a look at the big version. %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc API documentation for %{name}. %prep %autosetup rm -f bnd/*.jar echo '-reproducible: true' >>%{name}.bnd %build %{ant} -Divy.mode=local \ ivy-setupjars osgi jar ivy-pom javadoc %install # Jar install -dm0755 %{buildroot}/%{_javadir} install -m0644 dist/lib/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar # POM install -dm0755 %{buildroot}%{_mavenpomdir} %{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom %add_maven_depmap %{name}.pom %{name}.jar # Javadoc install -dm0755 %{buildroot}/%{_javadocdir}/%{name} cp -pr docs/* %{buildroot}/%{_javadocdir}/%{name} %fdupes %{buildroot}%{_javadocdir}/%{name} %files -f .mfiles %license COPYING.LESSER LICENSE-2.0.txt %doc CHANGES README.md %files javadoc %license COPYING.LESSER LICENSE-2.0.txt %{_javadocdir}/%{name} %changelog