diff --git a/License.txt b/License.txt new file mode 100644 index 0000000000000000000000000000000000000000..0f0aca9f07ecfba4403f8f91d67792be6fc3aeb6 --- /dev/null +++ b/License.txt @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2005-2009 Type Supply LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/fontMath-0.6.0.tar.gz b/fontMath-0.6.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..53f69ab80716ad87e2d39d52154df63e90a9c613 Binary files /dev/null and b/fontMath-0.6.0.tar.gz differ diff --git a/python-fontMath.spec b/python-fontMath.spec new file mode 100644 index 0000000000000000000000000000000000000000..861792065a62632371afd6693790da16a149a273 --- /dev/null +++ b/python-fontMath.spec @@ -0,0 +1,54 @@ +%global srcname fontMath + +Name: python-%{srcname} +Version: 0.6.0 +Release: 1 +Summary: A set of objects for performing math operations on font data + +License: MIT +URL: https://pypi.python.org/pypi/%{srcname} +Source0: https://github.com/typesupply/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%description +A set of objects for performing math operations on font data. + + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: python3-pytest-runner +BuildRequires: python3-fonttools + +%description -n python3-%{srcname} +A set of objects for performing math operations on font data. + + +%prep +%autosetup -n %{srcname}-%{version} + + +%build +%py3_build + +%install +%py3_install + +%check +export LC_ALL=C.UTF-8 +%{__python3} setup.py test + +%files -n python3-%{srcname} +%license License.txt +%{python3_sitelib}/%{srcname} +%{python3_sitelib}/%{srcname}-%{version}*.egg-info + +%changelog +* Mon Jun 28 2021 liufeng - 0.6.0-1 +- Initial package. +