Blame SPECS/redhat-support-lib-python.spec

38cacb
%global         package_version 0.9.7-0
d068fa
%global         package_name redhat-support-lib-python
d068fa
d068fa
Name:           %{package_name}
38cacb
Version:        0.9.7
cfe61a
Release:        0%{?release_suffix}%{?dist}
d068fa
Summary:        Red Hat Support Software Development Library
d068fa
Vendor:         Red Hat, Inc.
d068fa
Group:          Development/Libraries
d068fa
License:        ASL 2.0
d068fa
URL:            https://api.access.redhat.com
d068fa
Source0:        http://people.redhat.com/kroberts/projects/redhat-support-lib/%{package_name}-%{package_version}.tar.gz
d068fa
d068fa
BuildRequires: python-setuptools
d068fa
BuildArch: noarch
d068fa
%{!?dist:BuildRequires: buildsys-macros}
d068fa
d068fa
d068fa
Requires: python-lxml
d068fa
Requires: rpm-python
d068fa
Requires: python-dateutil
d068fa
%if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} > 5
d068fa
Requires: ca-certificates
d068fa
%endif
d068fa
Requires: m2crypto
d068fa
d068fa
%if 0%{?rhel} && 0%{?rhel} <= 5
d068fa
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
d068fa
BuildRoot: %{_topdir}/BUILDROOT/%{name}-%{version}-%{release}.%{_arch}
d068fa
%endif
d068fa
d068fa
%description
d068fa
This package contains the Red Hat Support Software Development Library.
d068fa
Red Hat customers can use the library to easily integrate their help desk
d068fa
solutions, IT infrastructure, etc. with the services provided by the
d068fa
Red Hat Customer Portal.
d068fa
d068fa
The library provided by this package is an abstraction layer that simplifies
d068fa
interactions with the Red Hat Customer Portal. Simply create an instance of
d068fa
the API by providing the necessary authorization credentials, then use the
d068fa
API object to interact with the Red Hat Customer Portal.
d068fa
d068fa
Some of the interactions supported by this API include, but are not limited to,
d068fa
automatic diagnostic services on log files, knowledge base searching,
d068fa
support case creation, attach files to support cases, view the status of
d068fa
support cases, entitlement viewing, etc.
d068fa
d068fa
%prep
d068fa
%setup -q -n %{package_name}-%{package_version}
d068fa
d068fa
%build
d068fa
%configure \
d068fa
        --docdir="%{_docdir}/%{package_name}-%{version}" \
d068fa
        --disable-python-syntax-check
d068fa
d068fa
make %{?_smp_mflags}
d068fa
d068fa
%install
d068fa
rm -rf "%{buildroot}"
d068fa
make %{?_smp_mflags} install DESTDIR="%{buildroot}"
d068fa
d068fa
%files
d068fa
%doc AUTHORS README
d068fa
%{python_sitelib}/redhat_support_lib/
d068fa
d068fa
%changelog
38cacb
* Mon Oct 20 2014 Keith Robertson <kroberts@redhat.com> - 0.9.7-0
38cacb
- Resolves: bz1054662
38cacb
cfe61a
* Wed Feb 26 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-0
cfe61a
- Resolves: bz1036697
cfe61a
d068fa
* Sun Aug 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-9
d068fa
- Resolves: bz967498
d068fa
d068fa
* Mon Jul 22 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-4
d068fa
- Resolves: bz880750
d068fa
d068fa
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-3
d068fa
- Resolves: bz869406
d068fa
d068fa
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-2
d068fa
- Various updates including;
d068fa
  - CA certificate fix for EL5
d068fa
  - Support for case filters
d068fa
  
d068fa
* Thu May 23 2013 Nigel Jones <nigjones@redhat.com> - 0.9.4-1
d068fa
- Downloads:
d068fa
  - Fixes to download handling to avoid excessive memory use
d068fa
- Localization/Internationalization:
d068fa
  - Changes to support non-ASCII character input from character sets used in
d068fa
    Red Hat GSS supported languages.
d068fa
d068fa
* Fri Apr 26 2013 Nigel Jones <nigjones@redhat.com> - 0.9.2-1
d068fa
- API update to bring in line with current version of Strata.
d068fa
  Changes include:
d068fa
   - Update to Recommendations API
d068fa
   - Pagination of Cases
d068fa
- Additional fixes for proxy handling, and traceability of exceptions
d068fa
d068fa
* Tue Feb 19 2013 Nigel Jones <nigjones@redhat.com> - 0.9.0-2
d068fa
- Import into Red Hat packaging system
d068fa
d068fa
* Fri Aug 17 2012 Keith Robertson <kroberts@redhat.com> - 0.9.0-1
d068fa
- Initial release