-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathzabbixctl.spec
40 lines (27 loc) · 951 Bytes
/
zabbixctl.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define module_name zabbixctl
Name: %{module_name}
Version: 1.1.5
Release: 1
Summary: zabbixctl - Utility that connects to Zabbix API
License: ASLv2
URL: https://github.com/teriyakichild/zabbixctl
Source0: %{module_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-setuptools
%description
%prep
%setup -q -n %{module_name}-%{version}
%build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --root $RPM_BUILD_ROOT
%files
%doc README.md
%{python_sitelib}/*
%attr(0755,-,-) %{_bindir}/zabbixctl
%changelog
* Fri Jan 22 2016 Tony Rogers <[email protected]> - 1.0.0
* Tue Nov 25 2014 Tony Rogers <[email protected]> - 0.1.1
* Mon Sep 8 2014 Tony Rogers <[email protected]> - 0.1.0
- Initial spec