Files
rdf4j/rdf4j.spec
Fridrich Strba 313440376b Accepting request 1292323 from home:urbic:branches:Java:packages
- Update to v4.3.16
  * RDF4J 4.3.16 is a patch release that fixes 2 issues backported
    from RDF4J 5.
- Update to v4.3.15
  * RDF4J 4.3.15 is a patch release fixing 4 bugs.
- Update to v4.3.14
  * RDF4J 4.3.14 is a patch release fixing 1 bug.
- Update to v4.3.13
  * RDF4J 4.3.13 is a patch release with backported fixes and
    improvements from 5.0.0 and 5.0.1.

OBS-URL: https://build.opensuse.org/request/show/1292323
OBS-URL: https://build.opensuse.org/package/show/Java:packages/rdf4j?expand=0&rev=3
2025-07-15 10:28:14 +00:00

108 lines
3.6 KiB
RPMSpec

#
# spec file for package rdf4j
#
# Copyright (c) 2025 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: rdf4j
Version: 4.3.16
Release: 0
Summary: Scalable RDF for Java
License: BSD-3-Clause
Group: Development/Libraries/Java
URL: https://rdf4j.org/
Source0: https://github.com/eclipse-%{name}/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(ch.qos.logback:logback-classic)
BuildRequires: mvn(com.fasterxml.jackson:jackson-bom:pom:)
BuildRequires: mvn(com.github.jsonld-java:jsonld-java)
BuildRequires: mvn(com.opencsv:opencsv)
BuildRequires: mvn(org.apache.commons:commons-math3)
BuildRequires: mvn(org.apache.lucene:lucene-queryparser)
BuildRequires: mvn(org.apache.maven.wagon:wagon-ssh-external)
BuildRequires: mvn(org.junit:junit-bom:pom:)
BuildRequires: mvn(org.locationtech.jts:jts-core)
BuildRequires: mvn(org.locationtech.spatial4j:spatial4j)
BuildArch: noarch
%description
Eclipse RDF4J™ is a powerful Java framework for processing and handling RDF
data. This includes creating, parsing, scalable storage, reasoning and querying
with RDF and Linked Data. It offers an easy-to-use API that can be connected to
all leading RDF database solutions. It allows you to connect with SPARQL
endpoints and create applications that leverage the power of linked data and
Semantic Web.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%autosetup
%pom_disable_module spring-components
%pom_disable_module mapdb core/collection-factory
%pom_disable_module nativerdf core/sail
%pom_disable_module lmdb core/sail
%pom_disable_module lucene core/sail
%pom_disable_module solr core/sail
%pom_disable_module elasticsearch core/sail
%pom_disable_module extensible-store core/sail
%pom_disable_module elasticsearch-store core/sail
%pom_disable_module federation tools
%pom_disable_module console tools
%pom_disable_module server-spring tools
%pom_disable_module server tools
%pom_disable_module workbench tools
%pom_disable_module runtime-osgi tools
%pom_disable_module testsuites
%pom_disable_module compliance
%pom_disable_module examples
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin net.revelc.code.formatter:formatter-maven-plugin
%pom_remove_plugin net.revelc.code:impsort-maven-plugin
%pom_remove_plugin au.com.acegi:xml-format-maven-plugin
%pom_remove_plugin -r :maven-shade-plugin
%pom_remove_dep org.eclipse.jetty:jetty-bom
%pom_remove_dep :rdf4j-tools-federation tools/console
%pom_remove_dep :rdf4j-sail-elasticsearch core/storage
%pom_remove_dep :rdf4j-sail-lmdb core/storage
%pom_remove_dep :rdf4j-sail-nativerdf core/storage
%pom_remove_dep :rdf4j-sail-lucene core/storage
%pom_remove_dep :rdf4j-sail-solr core/storage
%build
%{mvn_build} -f
%install
%mvn_install
%fdupes %{buildroot}%{_javadocdir}/%{name}
%files -f .mfiles
%license LICENSE
%doc README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog