mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
d16ff41d4d
* initial package for pet * Update update.rhai Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * Update pet.spec Remove build ID workaround Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * Update pet.spec Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --------- Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
34 lines
664 B
RPMSpec
34 lines
664 B
RPMSpec
%define debug_package %nil
|
|
|
|
Name: pet
|
|
Version: 0.9.0
|
|
Release: 1%?dist
|
|
Summary: Simple command-line snippet manager
|
|
URL: https://github.com/knqyf263/pet
|
|
Source0: %url/archive/refs/tags/v%version.tar.gz
|
|
License: MIT
|
|
BuildRequires: golang anda-srpm-macros
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
%summary
|
|
|
|
%prep
|
|
%autosetup -n pet-%version
|
|
%go_prep_online
|
|
|
|
%build
|
|
%go_build_online
|
|
|
|
%install
|
|
install -Dm755 build/bin/pet %{buildroot}%{_bindir}/pet
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/pet
|
|
|
|
%changelog
|
|
* Wed Oct 2 2024 Owen-sz <owen@fyralabs.com> - 0.9.0-1
|
|
- package pet
|