Blame python-sphinxcontrib-bibtex.spec

d046a0
%global srcname sphinxcontrib-bibtex
d046a0
d046a0
Name:           python-%{srcname}
e18180
Version:        1.0.0~a0.20170423git5fa80ec5
e18180
Release:        1%{?dist}
d046a0
Summary:        Sphinx extension for BibTeX style citations
d046a0
d046a0
License:        BSD
d046a0
URL:            https://github.com/mcmtroffaes/sphinxcontrib-bibtex
e18180
Source0:        %{url}/archive/5fa80ec59c24401db5aadc0f9954a9f2f265ceb9.tar.gz
d046a0
BuildArch:      noarch
d046a0
# Use orderedset instead of oset; the latter has a dead upstream
d046a0
Patch0:         %{name}-orderedset.patch
d046a0
d046a0
BuildRequires:  python3-devel
f75435
BuildRequires:  python3dist(coverage)
f75435
BuildRequires:  python3dist(latexcodec)
f75435
BuildRequires:  python3dist(nose)
f75435
BuildRequires:  python3dist(orderedset)
f75435
BuildRequires:  python3dist(pybtex)
f75435
BuildRequires:  python3dist(pybtex-docutils)
f75435
BuildRequires:  python3dist(setuptools)
f75435
BuildRequires:  python3dist(six)
f75435
BuildRequires:  python3dist(sphinx)
f75435
BuildRequires:  python3dist(sphinx-testing)
d046a0
d046a0
%global common_desc \
d046a0
This package contains a Sphinx extension for BibTeX style citations.\
d046a0
\
d046a0
This extension allows BibTeX citations to be inserted into documentation\
d046a0
generated by Sphinx, via a bibliography directive, and a cite role,\
d046a0
which work similarly to LaTeX's thebibliography environment and \\cite\
d046a0
command.\
d046a0
\
d046a0
For formatting, the extension relies on pybtex, written by Andrey\
d046a0
Golovizin.
d046a0
d046a0
%description
d046a0
%common_desc
d046a0
d046a0
%package -n python3-%{srcname}
d046a0
Summary:        Sphinx extension for BibTeX style citations
f75435
Requires:       python3dist(latexcodec)
f75435
Requires:       python3dist(orderedset)
f75435
Requires:       python3dist(pybtex)
f75435
Requires:       python3dist(pybtex-docutils)
f75435
Requires:       python3dist(six)
d046a0
d046a0
Provides:       bundled(jquery)
d046a0
Provides:       bundled(js-underscore)
d046a0
%{?python_provide:%python_provide python3-%{srcname}}
d046a0
d046a0
%description -n python3-%{srcname}
d046a0
%common_desc
d046a0
d046a0
%package doc
d046a0
Summary:        Documentation for python-%{srcname}
d046a0
53db7c
%description doc
d046a0
Documentation for python-%{srcname}.
d046a0
d046a0
%prep
e18180
%autosetup -p0 -n %{srcname}-5fa80ec59c24401db5aadc0f9954a9f2f265ceb9
d046a0
d046a0
# Don't run the tinkerer integration test since Fedora doesn't have tinkerer
beb269
rm -fr test/{test_issue1.py,issue1}
d046a0
d046a0
%build
d046a0
%py3_build
d046a0
d046a0
# Build documentation
beb269
PYTHONPATH=$PWD sphinx-build-3 doc html
d046a0
rm -fr html/{.buildinfo,.doctrees}
d046a0
d046a0
%install
d046a0
%py3_install
d046a0
d046a0
%check
beb269
PYTHONPATH=$PWD nosetests-3 -v
beb269
d046a0
%files -n python3-%{srcname}
beb269
%license LICENSE.rst
d046a0
%{python3_sitelib}/sphinxcontrib/
d046a0
%{python3_sitelib}/sphinxcontrib_bibtex*
d046a0
d046a0
%files doc
beb269
%doc html/*
d046a0
d046a0
%changelog
e18180
* Tue Apr 23 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.0.0~a0.20170423git5fa80ec5-1
e18180
- Update to git snapshot 5fa80ec5 for Sphinx 2 compatibility (#1698477)
e18180
a67fe2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
a67fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a67fe2
31288e
* Thu Jan 17 2019 Jerry James <loganjerry@gmail.com> - 0.4.2-1
31288e
- New upstream version
31288e
- Drop upstreamed -bibliography patch
31288e
f75435
* Sat Dec  8 2018 Jerry James <loganjerry@gmail.com> - 0.4.1-1
f75435
- New upstream version
f75435
beb269
* Thu Oct 25 2018 Miro Hron훾ok <mhroncok@redhat.com> - 0.4.0-4
beb269
- Subpackage python2-sphinxcontrib-bibtex has been removed
beb269
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
beb269
228f59
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
228f59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
228f59
d37471
* Tue Jun 19 2018 Miro Hron훾ok <mhroncok@redhat.com> - 0.4.0-2
d37471
- Rebuilt for Python 3.7
d37471
fecca6
* Thu Apr 19 2018 Jerry James <loganjerry@gmail.com> - 0.4.0-1
fecca6
- New upstream version
fecca6
d084fe
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-2
d084fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d084fe
e782fd
* Tue Sep 26 2017 Jerry James <loganjerry@gmail.com> - 0.3.6-1
e782fd
- New upstream version
e782fd
- Drop upstreamed python 3.6 fix
e782fd
e24011
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-2
e24011
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e24011
c794ed
* Wed Feb 22 2017 Jerry James <loganjerry@gmail.com> - 0.3.5-1
c794ed
- New upstream version
c794ed
666f33
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-3
666f33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
666f33
8e1235
* Mon Dec 19 2016 Miro Hron훾ok <mhroncok@redhat.com> - 0.3.4-2
8e1235
- Rebuild for Python 3.6
8e1235
e82ea3
* Mon May 23 2016 Jerry James <loganjerry@gmail.com> - 0.3.4-1
e82ea3
- New upstream version
e82ea3
d046a0
* Thu Feb 25 2016 Jerry James <loganjerry@gmail.com> - 0.3.3-1
d046a0
- Initial RPM