1 Star 0 Fork 10

zeki_zhao/python-pyzabbix

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
python-pyzabbix.spec 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
zeki_zhao 提交于 2021-07-12 13:25 . add python-pyzabbix.spec
#
# spec file for package python-pyzabbix
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: python-pyzabbix
Version: 0.7.4
Release: 0
Summary: Zabbix API Python interface
License: LGPL-2.1
Group: Development/Languages/Python
Url: http://github.com/lukecyca/pyzabbix
Source: https://pypi.python.org/packages/source/p/pyzabbix/pyzabbix-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
Requires: python-requests
%description
PyZabbix is a Python module for working with the Zabbix API.
%prep
%setup -q -n pyzabbix-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zeki_zhao/python-pyzabbix.git
[email protected]:zeki_zhao/python-pyzabbix.git
zeki_zhao
python-pyzabbix
python-pyzabbix
master

搜索帮助