48 lines
1.5 KiB
RPMSpec
48 lines
1.5 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%define _name quad
|
|
%define go_import_path github.com/cayleygraph/quad
|
|
# Mutual bootstrap with go-github-piprate-json-gold; jsonld tests panic for now, keep other tests enabled.
|
|
%define go_test_exclude %{go_import_path}/jsonld
|
|
|
|
Name: go-github-cayleygraph-quad
|
|
Version: 1.3.0
|
|
Release: %autorelease
|
|
Summary: Defines quad and triple handling
|
|
License: Apache-2.0
|
|
URL: https://github.com/cayleygraph/quad
|
|
#!RemoteAsset: sha256:495913136102415a5d9189774068236d293e503746c9392a2b46c8b566cb4823
|
|
Source0: https://github.com/cayleygraph/quad/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: golangmodules
|
|
|
|
BuildRequires: go
|
|
BuildRequires: go-rpm-macros
|
|
BuildRequires: go(github.com/piprate/json-gold)
|
|
BuildRequires: go(github.com/stretchr/testify)
|
|
BuildRequires: go(google.golang.org/protobuf)
|
|
|
|
Provides: go(github.com/cayleygraph/quad) = %{version}
|
|
|
|
Requires: go(github.com/piprate/json-gold)
|
|
Requires: go(google.golang.org/protobuf)
|
|
|
|
|
|
%description
|
|
Quad formats for Go
|
|
This library provides encoding and decoding support for NQuad/NTriple-
|
|
compatible formats.
|
|
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{go_sys_gopath}/%{go_import_path}
|
|
|
|
%changelog
|
|
%{?autochangelog}
|
|
|