forked from quipucords/quipucords
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqpc.spec
163 lines (153 loc) · 7.35 KB
/
qpc.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
%{!?python3_sitelib: %define python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: qpc
Version: 0.0.41
Release: 1%{?dist}
Summary: A tool for discovery and inspection of an IT environment.
Group: Applications/Internet
License: GPLv3
URL: http://github.com/quipucords/quipucords
Source0: http://github.com/quipucords/quipucords/archive/copr.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%if 0%{?rhel}%{?el6}%{?el7}
BuildRequires: epel-release
BuildRequires: python34-devel
BuildRequires: python34-setuptools
%endif
%if 0%{?fedora} >= 26
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%endif
BuildRequires: pandoc
%if 0%{?rhel}%{?el6}%{?el7}
Requires: epel-release
Requires: python34
Requires: python34-requests
%endif
%if 0%{?fedora} >= 26
Requires: python3
Requires: python3-requests
%endif
%description
QPC is tool for discovery and inspection of an IT environment.
%prep
%setup -q
%build
%{__python3} setup.py build
make manpage
%install
rm -rf $RPM_BUILD_ROOT
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
install -D -p -m 644 build/qpc.1 $RPM_BUILD_ROOT%{_mandir}/man1/qpc.1
%files
%defattr(-,root,root,-)
%doc README.rst AUTHORS.rst
%{_bindir}/qpc
%{python3_sitelib}/*
%{_mandir}/man1/qpc.1.gz
%changelog
* Wed Mar 14 2018 Ashley Aiken <[email protected]> 0.0.41-1
- Fix scan list pagination support
* Thu Mar 8 2018 Ashley Aiken <[email protected]> 0.0.40-1
- Flip disable-optional-products defaults. <[email protected]>
- Remove satellite version from source options. <[email protected]>
* Mon Mar 5 2018 Ashley Aiken <[email protected]> 0.0.39-1
- Fix partial update for scan. <[email protected]>
- Improve error handling for 500 response codes. <[email protected]>
- Add report identifier as a lookup option for reports. <[email protected]>
* Fri Mar 2 2018 Ashley Aiken <[email protected]> 0.0.38-1
- Remove scan status subcommand. <[email protected]>
- Add scan support for exteneded product search. <[email protected]>
- Enable ability to merge results of scan jobs. <[email protected]>
* Thu Mar 1 2018 Kevan Holdaway <[email protected]> 0.0.37-1
- Make scan options optional.
* Wed Feb 28 2018 Ashley Aiken <[email protected]> 0.0.36-1
- Improve logging to capture command arguments. <[email protected]>
- Improve logging to capture request method and endpoint. <[email protected]>
- Fix report commands after scan job updates. <[email protected]>
* Tue Feb 27 2018 Ashley Aiken <[email protected]> 0.0.35-1
- Fix max-concurrency default for editing a scan.
* Fri Feb 23 2018 Ashley Aiken <[email protected]> 0.0.34-1
- View all scan jobs for a scan by scan name.
- View scan job by identifier.
- Add feedback message to server config command.
* Thu Feb 22 2018 Ashley Aiken <[email protected]> 0.0.33-1
- Add scan job support to command line for listing and clearing.
* Wed Feb 21 2018 Ashley Aiken <[email protected]> 0.0.32-1
- Add scan edit support to command line and man documentation.
* Tue Feb 20 2018 Ashley Aiken <[email protected]> 0.0.31-1
- Add scan creation, listing, showing, and start support to command line.
* Fri Feb 16 2018 Chris Hambridge <[email protected]> 0.0.30-1
- Added logout subcommand to log out of server and remove token.
* Thu Feb 15 2018 Chris Hambridge <[email protected]> 0.0.29-1
- Enable token expiration support in command line.
* Wed Feb 14 2018 Chris Hambridge <[email protected]> 0.0.28-1
- Fix login issue required before command usage.
* Tue Feb 13 2018 Kevan Holdaway <[email protected]> 0.0.27-1
- Ensure ordering is preserved for source credentials from the command line.
- Require server configuration before other commands are executed.
* Wed Feb 7 2018 Chris Hambridge <[email protected]> 0.0.26-1
- Added pagination support for credentials.
- Added pagination support for sources.
- Added pagination support for scans.
* Mon Feb 5 2018 Kevan Holdaway <[email protected]> 0.0.25-1
- Added detail report command with JSON or CSV output. <[email protected]>
- Add SSL options for vcenter sources. <[email protected]>
- Add SSL options for satellite sources. <[email protected]>
* Sun Feb 4 2018 Kevan Holdaway <[email protected]> 0.0.24-1
- Add report subcommand to provide summary report with JSON or CSV output.
* Fri Feb 2 2018 Chris Hambridge <[email protected]> 0.0.23-1
- Check for client token before executing other subcommands.
* Wed Jan 31 2018 Chris Hambridge <[email protected]> 0.0.22-1
- Enable HTTPS commnication support for the command line.
* Tue Jan 30 2018 Ashley Aiken <[email protected]> 0.0.21-1
- Enhance scans with optional product support for JBoss EAP, Fuse, and BRMS.
* Thu Jan 25 2018 Chris Hambridge <[email protected]> 0.0.20-1
- Removed dependency on pyxdg to support RHEL6 installation.
* Mon Jan 22 2018 Ashley Aiken <[email protected]> 0.0.19-1
- Added become-method, become-user, and become-password support to credentials.
* Wed Jan 17 2018 Chris Hambridge <[email protected]> 0.0.18-1
- Added support for satellite sources and options.
* Tue Jan 16 2018 Chris Hambridge <[email protected]> 0.0.17-1
- Added support for satellite credentials.
* Mon Jan 15 2018 Chris Hambridge <[email protected]> 0.0.16-1
- Enhanced command line with token authentication support.
* Thu Jan 11 2018 Ashley Aiken <[email protected]> 0.0.15-1
- Incorporates partial update to allow for editing credentials.
* Sat Dec 16 2017 Chris Hambridge <[email protected]> 0.0.14-1
- Add subcommand to display scan results
* Fri Dec 15 2017 Chris Hambridge <[email protected]> 0.0.13-1
- Support scanning with multiple sources via scan start <[email protected]>
- List scans by type and status <[email protected]>
* Thu Dec 7 2017 Kevan Holdaway <[email protected]> 0.0.12-1
- Enhance sources to support vcenter type along with existing network type.
- List sources by source type
- List credentials by credential type
* Wed Dec 6 2017 Kevan Holdaway <[email protected]> 0.0.11-1
- Enhance credentials to support vcenter type along with existing network type.
* Mon Dec 4 2017 Kevan Holdaway <[email protected]> 0.0.10-1
- Update subcommand from auth to cred
- Added error handling support for various Django Rest Framework outputs
* Fri Dec 1 2017 Kevan Holdaway <[email protected]> 0.0.9-1
- Update subcommand from profile to source
- Altered endpoint to sources and preparing multiple types.
* Thu Nov 30 2017 Kevan Holdaway <[email protected]> 0.0.8-1
- Update credentials endpoint to prepare multiple types.
* Wed Nov 29 2017 Kevan Holdaway <[email protected]> 0.0.7-1
- Enhancement to support Python 3.4, 3.5, and 3.6.
* Tue Nov 21 2017 Kevan Holdaway <[email protected]> 0.0.6-1
- Add server configuration command.
* Thu Nov 9 2017 Chris Hambridge <[email protected]> 0.0.5-1
- Add capability to pause, cancel, and restart scans.
* Thu Nov 2 2017 Chris Hambridge <[email protected]> 0.0.4-1
- Add handling for sshkeys with passphrase.
- Improve linting and code documentation.
* Wed Nov 1 2017 Chris Hambridge <[email protected]> 0.0.3-1
- Add max_concurrency flag to the scan start command.
* Tue Oct 31 2017 Chris Hambridge <[email protected]> 0.0.2-1
- Consolidate messages for content review.
* Fri Oct 17 2017 Chris Hambridge <[email protected]> 0.0.1-1
- Initial release of quipucords command line.
- Allows credential management for hosts.
- Enables source management.
- Start, list and show scan operations.