Skip to content

Commit f8b9de2

Browse files
author
Mortier Benoit
committed
Adding rpm spec for pyzabbix
Signed-off-by: Mortier Benoit <benoit.mortier@opensides.be>
1 parent 711b6eb commit f8b9de2

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

packaging/rpm/python-pyzabbix.spec

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
# spec file for package python-docopt
3+
#
4+
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
5+
#
6+
# All modifications and additions to the file contributed by third parties
7+
# remain the property of their copyright owners, unless otherwise agreed
8+
# upon. The license for this file, and modifications and additions to the
9+
# file, is the same license as for the pristine package itself (unless the
10+
# license for the pristine package is not an Open Source License, in which
11+
# case the license is the MIT License). An "Open Source License" is a
12+
# license that conforms to the Open Source Definition (Version 1.9)
13+
# published by the Open Source Initiative.
14+
15+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16+
#
17+
18+
19+
Name: python-pyzabbix
20+
Version: 0.7.4
21+
Release: 1
22+
Url: http://github.com/lukecyca/pyzabbix
23+
Summary: Zabbix API Python interface
24+
License: LGPL
25+
Group: Development/Languages/Python
26+
Source: https://github.com/lukecyca/pyzabbix/archive/%{version}.tar.gz
27+
BuildRequires: python-setuptools
28+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
29+
BuildArch: noarch
30+
Requires: python-requests >= 1.0
31+
32+
%description
33+
PyZabbix is a Python module for working with the Zabbix API.
34+
35+
Tested against Zabbix 1.8 through 3.0.
36+
37+
%prep
38+
%setup -q -n pyzabbix-%{version}
39+
40+
%build
41+
python setup.py build
42+
43+
%install
44+
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
45+
46+
%files
47+
%defattr(-,root,root,-)
48+
%doc README.markdown
49+
%{python_sitelib}
50+
51+
%changelog
52+
* Tue Oct 19 2016 Benoit Mortier <benoit.mortier@opensides.be> - 0.7.4-1
53+
- First release

0 commit comments

Comments
 (0)