40 lines
1.3 KiB
RPMSpec
40 lines
1.3 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
|
|
# SPDX-FileContributor: Jvle <keke.oerv@isrc.iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%define _name harmonica
|
|
%define go_import_path github.com/charmbracelet/harmonica
|
|
# Examples require optional UI and OpenGL dependencies; keep %check scoped to the library.
|
|
%define go_test_include %{go_import_path}
|
|
|
|
Name: go-github-charmbracelet-harmonica
|
|
Version: 0.2.0
|
|
Release: %autorelease
|
|
Summary: Is a set of physics-based animation tools for 2D and 3D applications
|
|
License: MIT
|
|
URL: https://github.com/charmbracelet/harmonica
|
|
#!RemoteAsset: sha256:7c6347c3694f28db786d71eed3413a9d65a452a7be93057e65c0994c6dabd45d
|
|
Source0: https://github.com/charmbracelet/harmonica/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: golangmodules
|
|
|
|
BuildRequires: go
|
|
BuildRequires: go-rpm-macros
|
|
|
|
Provides: go(github.com/charmbracelet/harmonica) = %{version}
|
|
|
|
|
|
%description
|
|
A simple, efficient spring animation library for smooth, natural motion.
|
|
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{go_sys_gopath}/%{go_import_path}
|
|
|
|
%changelog
|
|
%autochangelog
|