Files
packages/anda/langs/nim/nimble/nimble.spec
T
madomado 41da51479c chore(sync): frawhide -> f43 (#10091)
* chore(sync): frawhide -> f43

* bump(bitwarden-cli.bin): release 1 → 2

* bump(bazzite-portal): release 2 → 3

* bump(veracrypt): release 1 → 2

* bump(devpod): release 2 → 3

---------

Co-authored-by: hamachitan[bot] <252235638+hamachitan[bot]@users.noreply.github.com>
2026-02-25 03:32:17 -06:00

36 lines
946 B
RPMSpec

Name: nimble
Version: 0.22.1
Release: 1%?dist
Summary: Package manager for the Nim programming language
License: BSD
URL: https://github.com/nim-lang/nimble
Source0: %url/archive/refs/tags/v%version.tar.gz
Source1: nimble.1
# We use `nim` to get `nimble`… to build `nimble`
BuildRequires: nim anda-srpm-macros git-core rpm_macro(bash_completions_dir)
Conflicts: nim
%description
%summary.
%prep
%autosetup
%nim_prep
%build
%nim_build src/nimble
%install
install -Dpm755 src/nimble %buildroot%_bindir/nimble
install -Dpm644 -t%buildroot%_mandir/man1 %SOURCE1
install -Dpm644 nimble.bash-completion %buildroot%bash_completions_dir/nimble
install -Dpm644 nimble.zsh-completion %buildroot%zsh_completions_dir/_nimble.zsh
%files
%doc readme.markdown
%license license.txt
%_bindir/nimble
%_mandir/man1/nimble.1.gz
%bash_completions_dir/nimble
%zsh_completions_dir/_nimble.zsh