This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathqpc-tools.spec
85 lines (75 loc) · 3.33 KB
/
qpc-tools.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
%{!?python3_sitelib: %define python3_sitelib %(%{__python3} -c "import site; print(site.getsitepackages()[0])")}
%global src_name qpc-tools
%global egg_name qpc_tools
Name: %{src_name}
Version: 0.3.0
Release: 1%{?dist}
Summary: A tool for discovery and inspection of an IT environment. The %{src_name} provides a server base infrastructure to process tasks that discover and inspect remote systems.
Group: Applications/Internet
License: GNU
URL: http://github.com/quipucords/qpc-tools
Source0: http://github.com/quipucords/qpc-tools/archive/refs/heads/master.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%if 0%{?el7}
%global pyver 36
%else
%global pyver 3
%endif
BuildRequires: make
BuildRequires: pandoc
BuildRequires: python%{pyver}-devel
BuildRequires: python%{pyver}-setuptools
Requires: ansible >= 2.4
Requires: python%{pyver}
%description
A tool for discovery and inspection of an IT environment. The %{src_name} provides a server base infrastructure to process tasks that discover and inspect remote systems.
%prep
%setup -q
%build
make manifest
%{__python3} setup.py build
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
make manpage
install -D -p -m 644 docs/qpc-tools.1 %{buildroot}%{_mandir}/man1/qpc-tools.1
%files
%defattr(-,root,root,-)
%doc README.md AUTHORS.md
%license LICENSE
%{_bindir}/%{src_name}
%{python3_sitelib}/%{egg_name}
%{python3_sitelib}/%{egg_name}-%{version}-py%{python3_version}.egg-info/
%{_mandir}/man1/%{src_name}.1.gz
%changelog
* Wed Feb 16 2022 Bruno Ciconelle <[email protected]> 0.3.0
- Add support for latest fedora and add small improvements to specfile
- Improve podman-based installation method
- Bump postgres version to 14.1
- Update supported python versions to 3.6 ~ 3.9
* Fri Jan 24 2020 Kevan Holdaway <[email protected]> 0.2.5
- Change master branch version to 0.2.5
* Fri Jan 24 2020 Kevan Holdaway <[email protected]> 0.2.4
- Change master branch version to 0.2.4
- Set have_epel default to false in CLI install playbook
* Thu Dec 12 2019 Cody Myers <[email protected]> 0.2.3
- Update version for master <[email protected]>
- Add suport for Centos8 <[email protected]>
- Fixed bad ansible condition in registry authentication <[email protected]>
* Tue Dec 03 2019 Kevan Holdaway <[email protected]> 0.2.2
- Update version for master <[email protected]>
- Turn off server SSL validation for quipucords server image <[email protected]>
- Add args to support installing from satellite downstream <[email protected]>
* Thu Nov 07 2019 Cody Myers <[email protected]> 0.2.1
- fix unintentional default var overwrite <[email protected]>
- Remove registry user from required args <[email protected]>
* Thu Oct 24 2019 Cody Myers <[email protected]> 0.2.0
- transitioned to a python client <[email protected]>
- added for support RHEL8 <[email protected]>
- added support for Podman on RHEL8 & RHEL/Centos7 <[email protected]>
- added support for upgrading from docker to podman <[email protected]>
- converted the installation script into an RPM <[email protected]>
- renamed the installer from quipucords-installer to qpc-tools <[email protected]>
- added a role for Redhat Registry authentication <[email protected]>
- added prompts for passwords & Redhat Registry username <[email protected]>
- handled advanced arguments for ansible-extras <[email protected]>