-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpython3-pywmi-wbem.spec
45 lines (34 loc) · 1019 Bytes
/
python3-pywmi-wbem.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
41
42
43
44
45
%global modname pywmi-wbem
Name: python3-%{modname}
Version: 0.3.3
Release: 2%{?dist}
Summary: Library for WMI interaction
License: MIT
Source0: %{modname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-rpm-macros
Requires: python3-requests
Requires: python3-gssapi
Requires: python3-lxml
%description
Library for WMI interaction
%package -n nagios-plugins-wbem
Summary: Nagios checks for WMI healtchecks using wbem
Requires: nagios-common
Requires: python3-pytz
Requires: %{name} = %{version}-%{release}
%description -n nagios-plugins-wbem
Nagios checks for WMI healtchecks using wbem
%prep
%autosetup -n %{modname}-%{version}
%build
%py3_build
%install
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT --install-scripts %{_libdir}/nagios/plugins
%files
%{python3_sitelib}/*
%files -n nagios-plugins-wbem
%{_libdir}/nagios/plugins/*
%changelog