46 lines
776 B
Plaintext
46 lines
776 B
Plaintext
%global __python3 /usr/bin/python3.11
|
|
Name: pgcli
|
|
Version: 4.3.0
|
|
Release: 1%{?dist}
|
|
Summary: CLI for Postgres Database. With auto-completion and syntax highlighting
|
|
License: BSD-3-Clause
|
|
URL: https://www.pgcli.com/
|
|
Source: %{pypi_source pgcli}
|
|
BuildArch: noarch
|
|
BuildRequires: python3.11-devel
|
|
BuildRequires: help2man
|
|
%py_provides python3-pgcli
|
|
|
|
|
|
%description
|
|
CLI for Postgres Database. With auto-completion and syntax highlighting
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
|
|
%check
|
|
%pytest
|
|
|
|
|
|
%files
|
|
%{_bindir}/pgcli
|
|
/usr/lib/python3.11/site-packages/pgcli/
|
|
/usr/lib/python3.11/site-packages/pgcli-4.3.0.dist-info/
|
|
|
|
|
|
%changelog
|