for the fonts contained in it.
After inspecting the fonts inside the
docs/mysqlx/_themes/sphinx_rtd_theme/static/css/fonts/
using the fontforge tool I have discovered that the font families are licensed
like this:
* fontawesome: Copyright Dave Gandy 2016. All rights reserved.
* latto:
Copyright (c) 2011-2015 by tyPoland Lukasz Dziedzic
(http://www.typoland.com/) with Reserved Font Name "Lato". Licensed
under the SIL Open Font License, Version 1.1 (http://scripts.sil.org/OFL)
* Roboto: Font data copyright Google 2013
This means the fontawesome and Roboto font families are licensed under a
strict copyright which is not supported when packaging fonts in fedora
and since we don't use the fonts during the build process nor do we
package them in the package I have decided to remove them from the
archive and rename the archive to %{name}-%{version}-src-without-fonts.tar.gz
to avoid any possible confusion when packaging this package in the
future. I have also added the generate-modified-sources.sh script that
downloads the original sources from the mysql upstream, unpacks them,
removes the aforementioned fonts and packs the sources under a new name.
This rebase reworked the documentation by adding a man page.
It also moved most of the files of the package from %{python3_sitelib} to
%{python3_sitearch} which expands to /usr/lib/python3.X/site-packages or
/usr/lib64/python3.X/site-packages depending on the build architecture.
This means that the package can no longer be noarch since most of the
file locations are now architecture dependent.
The source tarball also changed name from %{name}-%{version}.tar.gz to
%{name}-%{version}-src.tar.gz
We are only able to build the _mysql_connector C extension and not the
_mysqlxpb C extension as it requires protobuf >= 4.25.3 and we only have
3.19.6 in Fedora. When protobuf gets rebased to a sufficient version we
will be able to build this extension as well. More info:
https://dev.mysql.com/doc/connector-python/en/connector-python-installation-source.html
The skeleton of how the mysqlxpb extension will be built is present in
the spec file for easier future enabling but disabled using the
with_mysqlxpb condition.