%global _empty_manifest_terminate_build 0 Name: python-pangocffi Version: 0.11.0 Release: 1 Summary: CFFI-based pango bindings for Python License: LGPL-2.1 URL: https://github.com/leifgehrmann/pangocffi Source0: https://mirrors.aliyun.com/pypi/web/packages/14/f9/c320f75f7cdf53c9821096b88762c7c6cf5be8e3def41f7d8eb66f111d8a/pangocffi-0.11.0.tar.gz BuildArch: noarch %description # pangocffi [![Latest PyPi Release](https://img.shields.io/pypi/v/pangocffi.svg)](https://pypi.python.org/pypi/pangocffi) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/pangocffi.svg?style=flat)](https://pypi.python.org/pypi/pangocffi) [![Build Status](https://travis-ci.org/leifgehrmann/pangocffi.svg?branch=master)](https://travis-ci.org/leifgehrmann/pangocffi) [![Documentation Status](https://readthedocs.org/projects/pangocffi/badge/?version=latest)](https://pangocffi.readthedocs.io/en/latest/?badge=latest) [![Code Coverage](https://codecov.io/gh/leifgehrmann/pangocffi/branch/master/graph/badge.svg)](https://codecov.io/gh/leifgehrmann/pangocffi) pangocffi is a [CFFI]-based set of Python bindings for [pango]. pangocffi on its own is not that useful, since it depends on a PangoFontMap being declared against the PangoContext. PangoFontMap instances can easily be retrieved from libraries such as PangoCairo, PangoXft, PangoFT2, and PangoWin32 (See gnome's documentation ['Rendering with Pango'] for a list of rendering engines). See [pangocairocffi] for bindings that allow you to render pango objects with cairo. [pangocairocffi]: https://github.com/leifgehrmann/pangocairocffi ['Rendering with Pango']: https://developer.gnome.org/pango/stable/rendering.html The bindings are currently not fully implemented. Feel free to make a pull request to contribute! [CFFI]: https://cffi.readthedocs.org/ [pango]: https://pango.org/ ## Installation and usage See ['Overview'] for information on how to install the necessary libraries. See ['Python API Reference'] for additional information on all the objects. ['Overview']: https://pangocffi.readthedocs.io/en/latest/overview.html ['Python API Reference']: https://pangocffi.readthedocs.io/en/latest/modules.html ## Contributing If you would like to contribute to this project, either by leaving feedback or submitting a pull request, please read '[CONTRIBUTING.md]'. [CONTRIBUTING.md]: CONTRIBUTING.md %package -n python3-pangocffi Summary: CFFI-based pango bindings for Python Provides: python-pangocffi BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-pangocffi # pangocffi [![Latest PyPi Release](https://img.shields.io/pypi/v/pangocffi.svg)](https://pypi.python.org/pypi/pangocffi) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/pangocffi.svg?style=flat)](https://pypi.python.org/pypi/pangocffi) [![Build Status](https://travis-ci.org/leifgehrmann/pangocffi.svg?branch=master)](https://travis-ci.org/leifgehrmann/pangocffi) [![Documentation Status](https://readthedocs.org/projects/pangocffi/badge/?version=latest)](https://pangocffi.readthedocs.io/en/latest/?badge=latest) [![Code Coverage](https://codecov.io/gh/leifgehrmann/pangocffi/branch/master/graph/badge.svg)](https://codecov.io/gh/leifgehrmann/pangocffi) pangocffi is a [CFFI]-based set of Python bindings for [pango]. pangocffi on its own is not that useful, since it depends on a PangoFontMap being declared against the PangoContext. PangoFontMap instances can easily be retrieved from libraries such as PangoCairo, PangoXft, PangoFT2, and PangoWin32 (See gnome's documentation ['Rendering with Pango'] for a list of rendering engines). See [pangocairocffi] for bindings that allow you to render pango objects with cairo. [pangocairocffi]: https://github.com/leifgehrmann/pangocairocffi ['Rendering with Pango']: https://developer.gnome.org/pango/stable/rendering.html The bindings are currently not fully implemented. Feel free to make a pull request to contribute! [CFFI]: https://cffi.readthedocs.org/ [pango]: https://pango.org/ ## Installation and usage See ['Overview'] for information on how to install the necessary libraries. See ['Python API Reference'] for additional information on all the objects. ['Overview']: https://pangocffi.readthedocs.io/en/latest/overview.html ['Python API Reference']: https://pangocffi.readthedocs.io/en/latest/modules.html ## Contributing If you would like to contribute to this project, either by leaving feedback or submitting a pull request, please read '[CONTRIBUTING.md]'. [CONTRIBUTING.md]: CONTRIBUTING.md %package help Summary: Development documents and examples for pangocffi Provides: python3-pangocffi-doc %description help # pangocffi [![Latest PyPi Release](https://img.shields.io/pypi/v/pangocffi.svg)](https://pypi.python.org/pypi/pangocffi) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/pangocffi.svg?style=flat)](https://pypi.python.org/pypi/pangocffi) [![Build Status](https://travis-ci.org/leifgehrmann/pangocffi.svg?branch=master)](https://travis-ci.org/leifgehrmann/pangocffi) [![Documentation Status](https://readthedocs.org/projects/pangocffi/badge/?version=latest)](https://pangocffi.readthedocs.io/en/latest/?badge=latest) [![Code Coverage](https://codecov.io/gh/leifgehrmann/pangocffi/branch/master/graph/badge.svg)](https://codecov.io/gh/leifgehrmann/pangocffi) pangocffi is a [CFFI]-based set of Python bindings for [pango]. pangocffi on its own is not that useful, since it depends on a PangoFontMap being declared against the PangoContext. PangoFontMap instances can easily be retrieved from libraries such as PangoCairo, PangoXft, PangoFT2, and PangoWin32 (See gnome's documentation ['Rendering with Pango'] for a list of rendering engines). See [pangocairocffi] for bindings that allow you to render pango objects with cairo. [pangocairocffi]: https://github.com/leifgehrmann/pangocairocffi ['Rendering with Pango']: https://developer.gnome.org/pango/stable/rendering.html The bindings are currently not fully implemented. Feel free to make a pull request to contribute! [CFFI]: https://cffi.readthedocs.org/ [pango]: https://pango.org/ ## Installation and usage See ['Overview'] for information on how to install the necessary libraries. See ['Python API Reference'] for additional information on all the objects. ['Overview']: https://pangocffi.readthedocs.io/en/latest/overview.html ['Python API Reference']: https://pangocffi.readthedocs.io/en/latest/modules.html ## Contributing If you would like to contribute to this project, either by leaving feedback or submitting a pull request, please read '[CONTRIBUTING.md]'. [CONTRIBUTING.md]: CONTRIBUTING.md %prep %autosetup -n pangocffi-0.11.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-pangocffi -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 0.11.0-1 - Package Spec generated