generated from demus/python3-rpm-template
55 lines
1.0 KiB
RPMSpec
55 lines
1.0 KiB
RPMSpec
Name: python-pygelf
|
|
Version: 0.4.2
|
|
Release: %autorelease
|
|
Summary: Logging handlers with GELF support
|
|
|
|
License: MIT
|
|
URL: https://github.com/keeprocking/pygelf
|
|
Source: %{pypi_source pygelf}
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
# Fill in the actual package description to submit package to Fedora
|
|
%global _description %{expand:
|
|
Python logging handlers with GELF (Graylog Extended Log Format) support.
|
|
|
|
Currently TCP, UDP, TLS (encrypted TCP) and HTTP logging handlers are supported.}
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-pygelf
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-pygelf %_description
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n pygelf-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
# Add top-level Python module names here as arguments, you can use globs
|
|
%pyproject_save_files pygelf
|
|
|
|
|
|
%check
|
|
%pyproject_check_import
|
|
|
|
|
|
%files -n python3-pygelf -f %{pyproject_files}
|
|
|
|
|
|
%changelog
|
|
%autochangelog
|