File shards.spec of Package shards

#
# spec file for package shards
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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:           shards
Version:        0.19.1
Release:        0
License:        MIT
Summary:        Crystal language dependency and project manager
URL:            https://github.com/crystal-lang/shards
Source0:        https://github.com/crystal-lang/shards/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1:        vendor.tar.gz
BuildRequires:  crystal
Requires:       crystal

%description
Dependency, package, and project manager for the Crystal
programming language.

%prep
%autosetup -a1

%build
%make_build release=1 debug=1

%install
%make_install PREFIX="%{_prefix}"

%files
%license LICENSE
%doc     README.md
%{_bindir}/%{name}
%{_mandir}/man1/shards.1%{?ext_man}
%{_mandir}/man5/shard.yml.5%{?ext_man}

%changelog
openSUSE Build Service is sponsored by