File slurp.spec of Package slurp
#
# spec file for package slurp
#
# 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: slurp
Version: 0.1.0+git.5.2e79972
Release: 0
Summary: A tool for exporting / importing data between Fediverse instances
License: AGPL-3.0-only
URL: https://github.com/VyrCossont/slurp
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.23
BuildRequires: golang-packaging
%description
A tool for exporting data from and importing data to Fediverse instances.
Requires that they support the Mastodon API as implemented By GotoSocial.
Intended for use with GotoSocial, but should work with other Mastodon-like instances, including Mastodon.
%prep
%autosetup -p1 -a1
%build
go build -trimpath -mod=vendor -buildmode=pie .
%install
install -D -m 0755 slurp %{buildroot}%{_bindir}/slurp
%files
%license LICENSE.md
%doc README.md
%{_bindir}/slurp
%changelog