forked from unioslo/zabbix-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request unioslo#5 from arrfab/SPECfile
Adding a .spec file to build a rpm for zabbix-cli (tested on el6/el7)
- Loading branch information
Showing
2 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Name: zabbix-cli | ||
Version: 1.5.4 | ||
Release: 1%{?dist} | ||
Summary: Command-line interface for Zabbix | ||
Group: System Environment/Base | ||
License: GPL | ||
URL: https://github.com/usit-gd/zabbix-cli | ||
Source0: https://github.com/usit-gd/zabbix-cli/archive/%{version}.tar.gz | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | ||
|
||
BuildArch: noarch | ||
BuildRequires: python-devel | ||
BuildRequires: python-setuptools | ||
Requires: python-requests | ||
%{?el6:Requires: python-argparse} | ||
|
||
%description | ||
Command-line interface for Zabbix monitoring system. | ||
|
||
%prep | ||
%setup -q | ||
|
||
%build | ||
|
||
|
||
%install | ||
./setup.py install --root="%{buildroot}" | ||
|
||
|
||
%files | ||
%defattr(-, root, root, 0755) | ||
%config(noreplace) /etc/zabbix-cli/zabbix-cli.conf | ||
/usr/bin/zabbix-cli | ||
/usr/bin/zabbix-cli-bulk-execution | ||
/usr/bin/zabbix-cli-init | ||
%{python_sitelib}/* | ||
|
||
|
||
|
||
%changelog | ||
* Thu Sep 22 2016 - Fabian Arrotin <[email protected]> - 1.5.4 | ||
- initial spec |