%bcond_without debug %{!?crystal_arches: %global crystal_arches x86_64 aarch64} %global shard_name db Name: crystal-db Version: 0.14.0 Release: 1%{?dist} Summary: Common db api for crystal License: MIT URL: https://github.com/crystal-lang/crystal-db Source0: https://github.com/crystal-lang/crystal-db/archive/v0.14.0/crystal-db-0.14.0.tar.gz ExclusiveArch: %{crystal_arches} noarch BuildArch: noarch BuildRequires: crystal-rpm-macros BuildRequires: crystal >= 1.0.0 BuildRequires: crystal < 2.0.0 BuildRequires: shards BuildRequires: openssl-devel BuildRequires: zlib-devel Provides: crystal-shard(%{shard_name}) = %{version} %description Common db api for crystal. You will need to have a specific driver to access a database. This package provides the %{shard_name} library for Crystal. %prep %crystal_setup -n %{name}-%{version} %build # Library package; sources are installed for dependent shards and applications %install %crystal_install_lib %check %crystal_check %files %license LICENSE %doc CHANGELOG.md README.md %crystal_files %changelog * Sat Sep 05 2026 Rénich Bon Ćirić - 0.14.0-1 - Initial package generated by cr2rpm