generated from demus/python3-rpm-template
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
archful = false
|
||||||
|
archive_name = "pygelf-0.4.2.tar.gz"
|
||||||
|
extras = []
|
||||||
|
license = "MIT"
|
||||||
|
license_files_present = false
|
||||||
|
pypi_name = "pygelf"
|
||||||
|
pypi_version = "0.4.2"
|
||||||
|
python_name = "python-pygelf"
|
||||||
|
source = "PyPI"
|
||||||
|
summary = "Logging handlers with GELF support"
|
||||||
|
url = "https://github.com/keeprocking/pygelf"
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user