diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 12:04:57 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 12:04:57 +0000 |
commit | dccd08c80569f65d1078adb76298a332318226fe (patch) | |
tree | 10859da078f6ec96adaeea8685478573e4ebca1c | |
parent | 80d72cb6e5a0b6b7854215d3da97b205584a4404 (diff) |
automatic import of python3-fontMathopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-fontMath.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/fontMath-0.9.3.zip diff --git a/python-fontMath.spec b/python-fontMath.spec new file mode 100644 index 0000000..1bd3542 --- /dev/null +++ b/python-fontMath.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-fontMath +Version: 0.9.3 +Release: 1 +Summary: A set of objects for performing math operations on font data. +License: MIT +URL: https://github.com/robotools/fontMath +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e8/47/1f3a198381a786cd6007a3617a9dd73262e85c0886fc7b5a574d0d476915/fontMath-0.9.3.zip +BuildArch: noarch + +Requires: python3-fonttools + +%description + + +%package -n python3-fontMath +Summary: A set of objects for performing math operations on font data. +Provides: python-fontMath +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-fontMath + + +%package help +Summary: Development documents and examples for fontMath +Provides: python3-fontMath-doc +%description help + + +%prep +%autosetup -n fontMath-0.9.3 + +%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-fontMath -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Feb 24 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.3-1 +- Package Spec generated @@ -0,0 +1 @@ +9236b5bf2fe0ef1e9faa1172df819387 fontMath-0.9.3.zip |