-
Notifications
You must be signed in to change notification settings - Fork 8
/
rhsm-api-client.spec
45 lines (37 loc) · 1.11 KB
/
rhsm-api-client.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
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Red Hat Subscription Manager (RHSM) APIs client interface to collect a data from your RHSM account.
Name: rhsm-api-client
Version: 1.0
Release: 1%{?dist}
Group: Applications/System
Source0: %{name}-%{version}.tar.gz
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Url: https://github.com/antonioromito/rhsm-api-client
BuildRequires: python-devel
BuildRequires: gettext
BuildRequires: python-six
Requires: python-oauthlib
Requires: python-requests-oauthlib
Requires: python-six
%description
Red Hat Subscription Manager (RHSM) APIs client interface to collect a data from your RHSM account.
%prep
%setup -q
%build
make
%install
rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=${RPM_BUILD_ROOT} install
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
%{_sbindir}/rhsm-cli
%{_datadir}/%{name}
%{python_sitelib}/*
%doc AUTHORS README.md LICENSE
%changelog
* Mon Apr 15 2019 Antonio Romito <[email protected]> - 1.0-1
- initial package