|
|
93f20d6 |
%global pypi_name nikola
|
|
|
93f20d6 |
|
|
|
93f20d6 |
Name: python-%{pypi_name}
|
|
|
e8356ac |
Version: 8.1.3
|
|
|
e8356ac |
Release: 1%{?dist}
|
|
|
93f20d6 |
Summary: A modular, fast, simple, static website and blog generator
|
|
|
93f20d6 |
|
|
|
93f20d6 |
License: MIT and CC0 and BSD
|
|
|
93f20d6 |
URL: https://getnikola.com/
|
|
|
93f20d6 |
Source0: https://github.com/getnikola/nikola/archive/v%{version}/nikola-%{version}.tar.gz
|
|
|
93f20d6 |
BuildArch: noarch
|
|
|
93f20d6 |
|
|
|
93f20d6 |
BuildRequires: python3-devel
|
|
|
93f20d6 |
# Sphinx required for documentation
|
|
|
93f20d6 |
BuildRequires: python3dist(sphinx)
|
|
|
93f20d6 |
|
|
|
93f20d6 |
# Required for testing ( requires + extras + testing)
|
|
|
93f20d6 |
# * from requirements.txt
|
|
|
93f20d6 |
BuildRequires: python3dist(doit)
|
|
|
93f20d6 |
BuildRequires: python3dist(pygments)
|
|
|
93f20d6 |
BuildRequires: python3dist(pillow)
|
|
|
93f20d6 |
BuildRequires: python3dist(python-dateutil)
|
|
|
93f20d6 |
BuildRequires: python3dist(docutils)
|
|
|
93f20d6 |
BuildRequires: python3dist(mako)
|
|
|
93f20d6 |
BuildRequires: python3dist(markdown)
|
|
|
93f20d6 |
BuildRequires: python3dist(unidecode)
|
|
|
93f20d6 |
BuildRequires: python3dist(lxml)
|
|
|
93f20d6 |
BuildRequires: python3dist(yapsy)
|
|
|
93f20d6 |
BuildRequires: python3dist(pyrss2gen)
|
|
|
93f20d6 |
BuildRequires: python3dist(blinker)
|
|
|
93f20d6 |
BuildRequires: python3dist(setuptools)
|
|
|
93f20d6 |
BuildRequires: python3dist(natsort)
|
|
|
93f20d6 |
BuildRequires: python3dist(requests)
|
|
|
93f20d6 |
BuildRequires: python3dist(piexif)
|
|
|
93f20d6 |
BuildRequires: python3dist(babel)
|
|
|
93f20d6 |
# * from requirements-extras.txt
|
|
|
93f20d6 |
BuildRequires: python3dist(jinja2)
|
|
|
93f20d6 |
BuildRequires: python3dist(husl)
|
|
|
93f20d6 |
BuildRequires: python3dist(pyphen)
|
|
|
93f20d6 |
BuildRequires: python3dist(micawber)
|
|
|
93f20d6 |
BuildRequires: python3dist(pygal)
|
|
|
93f20d6 |
BuildRequires: python3dist(typogrify)
|
|
|
93f20d6 |
BuildRequires: python3dist(phpserialize)
|
|
|
93f20d6 |
BuildRequires: python3dist(notebook)
|
|
|
93f20d6 |
BuildRequires: python3dist(ipykernel)
|
|
|
93f20d6 |
BuildRequires: python3dist(ghp-import2)
|
|
|
93f20d6 |
BuildRequires: python3dist(aiohttp)
|
|
|
93f20d6 |
BuildRequires: python3dist(watchdog)
|
|
|
93f20d6 |
BuildRequires: python3dist(ruamel.yaml)
|
|
|
93f20d6 |
BuildRequires: python3dist(toml)
|
|
|
93f20d6 |
# * from requirements-tests.txt
|
|
|
93f20d6 |
BuildRequires: python3dist(coverage)
|
|
|
93f20d6 |
BuildRequires: python3dist(pytest)
|
|
|
93f20d6 |
BuildRequires: python3dist(pytest-cov)
|
|
|
93f20d6 |
BuildRequires: python3dist(freezegun)
|
|
|
93f20d6 |
BuildRequires: python3dist(flake8)
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
%description
|
|
|
93f20d6 |
Nikola is a static site and blog generator using Python. It generates sites
|
|
|
e4a4e5f |
with tags, feeds, archives, comments, and more from plain text files. Source
|
|
|
93f20d6 |
can be unformatted, or formatted with reStructuredText or Markdown.
|
|
|
e4a4e5f |
It also automatically builds image galleries.
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
|
|
|
93f20d6 |
%package -n python3-%{pypi_name}
|
|
|
93f20d6 |
Summary: %{summary}
|
|
|
93f20d6 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
93f20d6 |
|
|
|
93f20d6 |
Requires: glyphicons-halflings-fonts
|
|
|
93f20d6 |
# Extra requirements to enable plugins
|
|
|
93f20d6 |
Requires: python3dist(jinja2)
|
|
|
93f20d6 |
Requires: python3dist(husl)
|
|
|
93f20d6 |
Requires: python3dist(pyphen)
|
|
|
93f20d6 |
Requires: python3dist(micawber)
|
|
|
93f20d6 |
Requires: python3dist(pygal)
|
|
|
93f20d6 |
Requires: python3dist(typogrify)
|
|
|
93f20d6 |
Requires: python3dist(phpserialize)
|
|
|
93f20d6 |
Requires: python3dist(notebook)
|
|
|
93f20d6 |
Requires: python3dist(ipykernel)
|
|
|
93f20d6 |
Requires: python3dist(ghp-import2)
|
|
|
93f20d6 |
Requires: python3dist(aiohttp)
|
|
|
93f20d6 |
Requires: python3dist(watchdog)
|
|
|
93f20d6 |
Requires: python3dist(ruamel.yaml)
|
|
|
93f20d6 |
Requires: python3dist(toml)
|
|
|
93f20d6 |
|
|
|
2b970d4 |
# nikola carries these python modules bundled
|
|
|
2b970d4 |
## a modified version to use dateutil instead of pytz
|
|
|
93f20d6 |
Provides: bundled(python3-pytzlocal)
|
|
|
93f20d6 |
## this is a small module made by Chris Warrick (a Nikola main contributor)
|
|
|
93f20d6 |
Provides: bundled(python3-datecond) = 0.1.6
|
|
|
2b970d4 |
## this is a small module made by Chris Warrick (a Nikola main contributor)
|
|
|
2b970d4 |
Provides: bundled(python3-pygments_better_html)
|
|
|
93f20d6 |
|
|
|
93f20d6 |
%description -n python3-%{pypi_name}
|
|
|
e4a4e5f |
Nikola is a static site and blog generator using Python. It generates sites
|
|
|
e4a4e5f |
with tags, feeds, archives, comments, and more from plain text files. Source
|
|
|
e4a4e5f |
can be unformatted, or formatted with reStructuredText or Markdown.
|
|
|
93f20d6 |
This package contains the Python implementation of nikola.
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%package -n python-%{pypi_name}-doc
|
|
|
93f20d6 |
Summary: python-nikola documentation
|
|
|
93f20d6 |
Obsoletes: python2-nikola < 8
|
|
|
93f20d6 |
Obsoletes: python3-nikola < 8
|
|
|
93f20d6 |
%description -n python-%{pypi_name}-doc
|
|
|
93f20d6 |
Documentation for python-nikola
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%package -n %{pypi_name}
|
|
|
93f20d6 |
Summary: %{summary}
|
|
|
93f20d6 |
Requires: python3-%{pypi_name} = %{version}-%{release}
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%description -n %{pypi_name}
|
|
|
93f20d6 |
Documentation for python-nikola
|
|
|
93f20d6 |
Nikola is a static site and blog generator using Python. It generates sites
|
|
|
93f20d6 |
with tags, feeds, archives, comments, and more from plain text files. Source
|
|
|
93f20d6 |
can be unformatted, or formatted with reStructuredText or Markdown.
|
|
|
93f20d6 |
It also automatically builds image galleries.
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%prep
|
|
|
2b970d4 |
%autosetup -n nikola-%{version}
|
|
|
93f20d6 |
# Remove bundled egg-info
|
|
|
93f20d6 |
rm -rf Nikola.egg-info
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%build
|
|
|
93f20d6 |
%py3_build
|
|
|
93f20d6 |
# generate html docs
|
|
|
93f20d6 |
PYTHONPATH=${PWD} sphinx-build-3 docs/sphinx html
|
|
|
93f20d6 |
# remove the sphinx-build leftovers
|
|
|
93f20d6 |
rm -rf html/.{doctrees,buildinfo}
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%install
|
|
|
93f20d6 |
%py3_install
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%check
|
|
|
93f20d6 |
pytest
|
|
|
93f20d6 |
|
|
|
93f20d6 |
|
|
|
93f20d6 |
%files -n python3-%{pypi_name}
|
|
|
93f20d6 |
%license LICENSE.txt
|
|
|
93f20d6 |
%doc README.rst
|
|
|
93f20d6 |
%{python3_sitelib}/nikola
|
|
|
cc5cd13 |
%{python3_sitelib}/Nikola-%{version}-py%{python3_version}.egg-info
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%files -n python-%{pypi_name}-doc
|
|
|
93f20d6 |
%license LICENSE.txt
|
|
|
93f20d6 |
%doc html
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%files -n %{pypi_name}
|
|
|
93f20d6 |
%license LICENSE.txt
|
|
|
93f20d6 |
%{_bindir}/nikola
|
|
|
93f20d6 |
%dir %{_datadir}/doc/%{pypi_name}
|
|
|
93f20d6 |
%{_datadir}/doc/%{pypi_name}/*.rst
|
|
|
93f20d6 |
%{_mandir}/man1/nikola.1.gz
|
|
|
e4a4e5f |
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
%changelog
|
|
|
e8356ac |
* Tue Jun 29 2021 José Matos <jamatos@fedoraproject.org> - 8.1.3-1
|
|
|
e8356ac |
- update to 8.1.3
|
|
|
e8356ac |
|
|
|
d53174b |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 8.1.2-3
|
|
|
d53174b |
- Rebuilt for Python 3.10
|
|
|
d53174b |
|
|
|
8b690ae |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.2-2
|
|
|
8b690ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8b690ae |
|
|
|
95435d7 |
* Sun Dec 13 2020 José Matos <jamatos@fedoraproject.org> - 8.1.2-1
|
|
|
95435d7 |
- update to 8.2.1
|
|
|
95435d7 |
|
|
|
75c91e9 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.1-2
|
|
|
75c91e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
75c91e9 |
|
|
|
f18edff |
* Wed Jul 8 2020 José Matos <jamatos@fedoraproject.org> - 8.1.1-1
|
|
|
f18edff |
- update to 8.1.1
|
|
|
f18edff |
|
|
|
2b970d4 |
* Fri Jul 3 2020 José Matos <jamatos@fedoraproject.org> - 8.1.0-1
|
|
|
2b970d4 |
- update to 8.1.0
|
|
|
2b970d4 |
|
|
|
71952f3 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 8.0.4-10
|
|
|
71952f3 |
- Rebuilt for Python 3.9
|
|
|
71952f3 |
|
|
|
93f20d6 |
* Sat Mar 21 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-9
|
|
|
93f20d6 |
- Claim ownership of nikola documentation directory
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Sat Mar 21 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-8
|
|
|
93f20d6 |
- change Source0 to a more canonical form regarding github archives
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Fri Mar 20 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-7
|
|
|
93f20d6 |
- pass all the Requires: and Provides: fields to the python3
|
|
|
93f20d6 |
subpackage (where they belong)
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Fri Mar 20 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-6
|
|
|
93f20d6 |
- document the two python modules bundled with nikola
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Mon Mar 16 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-5
|
|
|
93f20d6 |
- add Obsoletes to nikola for versions < 8 to ensure a clean upgrade path
|
|
|
93f20d6 |
- simplify the testing now that Fedora 31 has the new python-markdown
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Fri Mar 6 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-4
|
|
|
93f20d6 |
- Require git-core instead of git to support "%%autosetup -S git"
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Thu Mar 5 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-3
|
|
|
93f20d6 |
- use directly pytest for tests instead of using setup.py
|
|
|
93f20d6 |
- add upstream patch to fix a test
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Tue Feb 25 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-2
|
|
|
93f20d6 |
- Reenable tests to see if they now work
|
|
|
93f20d6 |
- Add extra requirements to enable plugins
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Tue Feb 25 2020 José Matos <jamatos@fedoraproject.org> - 8.0.4-1
|
|
|
93f20d6 |
- update to 8.0.4
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Sun Jun 9 2019 José Matos <jamatos@fedoraproject.org> - 8.0.2-1
|
|
|
93f20d6 |
- package resubmitted to Fedora.
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Sat Sep 8 2018 José Matos <jamatos@fedoraproject.org> - 7.8.15-2
|
|
|
93f20d6 |
- make Requires dependencies greater or equal rather than just equal.
|
|
|
e4a4e5f |
|
|
|
93f20d6 |
* Sat Sep 1 2018 José Matos <jamatos@fedoraproject.org> - 7.8.15-1
|
|
|
93f20d6 |
- initial package.
|
|
|
93f20d6 |
- disable for now the dependency on ws4py because it does not build with python3.7
|