Blame python-oslo-log.spec

214fb1d
%{!?_licensedir:%global license %%doc}
214fb1d
%global pypi_name oslo.log
214fb1d
214fb1d
Name:           python-oslo-log
Alan Pevec 4ff7a01
Version:        1.11.0
ee1360d
Release:        2%{?dist}
214fb1d
Summary:        OpenStack Oslo Log library
214fb1d
214fb1d
License:        ASL 2.0
214fb1d
URL:            http://launchpad.net/oslo
214fb1d
Source0:        https://pypi.python.org/packages/source/o/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
214fb1d
BuildArch:      noarch
214fb1d
214fb1d
BuildRequires:  python2-devel
214fb1d
BuildRequires:  python-pbr
214fb1d
214fb1d
Requires:       python-babel
214fb1d
Requires:       python-six >= 1.9.0
214fb1d
Requires:       python-iso8601
214fb1d
Requires:       python-oslo-config
214fb1d
Requires:       python-oslo-context
214fb1d
Requires:       python-oslo-i18n
214fb1d
Requires:       python-oslo-utils
214fb1d
Requires:       python-oslo-serialization
Alan Pevec 2962add
Requires:       python-debtcollector
214fb1d
214fb1d
%description
214fb1d
OpenStack logging configuration library provides standardized configuration
214fb1d
for all openstack projects. It also provides custom formatters, handlers and
214fb1d
support for context specific logging (like resource id’s etc).
214fb1d
214fb1d
%package doc
214fb1d
Summary:    Documentation for the Oslo Log handling library
214fb1d
214fb1d
BuildRequires:  python-sphinx
214fb1d
BuildRequires:  python-oslo-sphinx
214fb1d
BuildRequires:  python-oslo-config
214fb1d
BuildRequires:  python-oslo-utils
214fb1d
BuildRequires:  python-oslo-context
214fb1d
214fb1d
%description doc
214fb1d
Documentation for the Oslo Log handling library.
214fb1d
214fb1d
214fb1d
%prep
214fb1d
%setup -q -n %{pypi_name}-%{version}
214fb1d
# Let RPM handle the dependencies
214fb1d
rm -f requirements.txt
214fb1d
214fb1d
214fb1d
%build
214fb1d
%{__python2} setup.py build
214fb1d
214fb1d
# generate html docs
214fb1d
sphinx-build doc/source html
214fb1d
# remove the sphinx-build leftovers
214fb1d
rm -rf html/.{doctrees,buildinfo}
214fb1d
214fb1d
214fb1d
%install
214fb1d
%{__python2} setup.py install --skip-build --root %{buildroot}
214fb1d
214fb1d
214fb1d
%files
Alan Pevec 8045554
%doc README.rst ChangeLog AUTHORS
Alan Pevec 8045554
%license LICENSE
214fb1d
%{python2_sitelib}/oslo_log
214fb1d
%{python2_sitelib}/*.egg-info
214fb1d
214fb1d
%files doc
214fb1d
%doc html
214fb1d
%license LICENSE
214fb1d
214fb1d
%changelog
ee1360d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-2
ee1360d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ee1360d
Alan Pevec 4ff7a01
* Fri Sep 18 2015 Alan Pevec <alan.pevec@redhat.com> 1.11.0-1
Alan Pevec 4ff7a01
- Update to upstream 1.11.0
Alan Pevec 4ff7a01
Alan Pevec 4496428
* Thu Sep 03 2015 Alan Pevec <alan.pevec@redhat.com> 1.10.0-1
Alan Pevec 4496428
- Update to upstream 1.10.0
Alan Pevec 4496428
Alan Pevec ba6accc
* Wed Aug 05 2015 Alan Pevec <alan.pevec@redhat.com> 1.8.0-1
Alan Pevec ba6accc
- Update to upstream 1.8.0
Alan Pevec ba6accc
Alan Pevec 2962add
* Mon Jun 29 2015 Alan Pevec <alan.pevec@redhat.com> 1.5.0-1
Alan Pevec 2962add
- Update to upstream 1.5.0
Alan Pevec 2962add
8ea0137
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
8ea0137
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8ea0137
214fb1d
* Thu Mar 26 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 1.0.0-1
214fb1d
- Upstream 1.0.0
214fb1d
- Based on Derek Higgins spec from Delorean
214fb1d