From c742683eba5e007cd24710e5ee6d693ea874328e Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 2 Aug 2019 09:31:11 -0500 Subject: [PATCH 1/2] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From 81b338bfaaa44e15a2405efa4fd0123c00803fb8 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Mon, 5 Aug 2019 17:17:25 +0900 Subject: [PATCH 2/2] Import from rawhide --- .cvsignore | 0 .gitignore | 1 + Makefile | 21 --- fonttools.spec | 391 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 393 insertions(+), 21 deletions(-) delete mode 100644 .cvsignore create mode 100644 .gitignore delete mode 100644 Makefile create mode 100644 fonttools.spec diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f5eddd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fonttools-3.43.1.zip diff --git a/Makefile b/Makefile deleted file mode 100644 index 00c1616..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: fonttools -# $Id: Makefile,v 1.1 2006/02/02 12:58:25 roozbeh Exp $ -NAME := fonttools -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/fonttools.spec b/fonttools.spec new file mode 100644 index 0000000..6a89ab7 --- /dev/null +++ b/fonttools.spec @@ -0,0 +1,391 @@ +%global pypi_name fonttools +%global desc \ +fontTools is a library for manipulating fonts, written in Python. The project \ +includes the TTX tool, that can convert TrueType and OpenType fonts to and \ +from an XML text format, which is also called TTX. It supports TrueType, \ +OpenType, AFM and to an extent Type 1 and some Mac-specific formats. + +Name: fonttools +Version: 3.43.1 +Release: 2%{?dist} +Summary: Tools to manipulate font files +License: MIT +URL: https://github.com/fonttools/fonttools/ +Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.zip + +Requires: python3-fonttools +Requires: python3-setuptools +BuildArch: noarch +Provides: ttx = %{version}-%{release} + +%description +%{desc} + +%package -n python3-fonttools +Summary: Python 3 fonttools library +%{?python_provide:%python_provide python3-%{name}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools_scm +BuildArch: noarch + +Requires: python3-brotli +Requires: python3-munkres + + +%description -n python3-fonttools +%{desc} + +%prep +%autosetup +rm -rf *.egg-info + +sed -i '1d' Lib/fontTools/mtiLib/__init__.py + +%build +%py3_build + +%install +%{__python3} setup.py install --skip-build --root %{buildroot} + +%files +%{_bindir}/pyftmerge +%{_bindir}/pyftsubset +%{_bindir}/ttx +%{_bindir}/fonttools +%{_mandir}/man1/ttx.1* + +%files -n python3-fonttools +%license LICENSE +%doc NEWS.rst README.rst +%{python3_sitelib}/fontTools +%{python3_sitelib}/%{name}-%{version}-py3.?.egg-info + +%changelog +* Thu Jul 25 2019 Fedora Release Engineering - 3.43.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jun 19 2019 Parag Nemade - 3.43.1-1 +- Update to 3.43.1 version (#1721658) + +* Sat Jun 01 2019 Parag Nemade - 3.42.0-1 +- Update to 3.42.0 version (#1714617) + +* Tue May 14 2019 Parag Nemade - 3.41.2-1 +- Update to 3.41.2 version (#1709287) + +* Wed May 01 2019 Parag Nemade - 3.41.0-1 +- Update to 3.41.0 version (#1704383) + +* Fri Apr 12 2019 Parag Nemade - 3.40.0-1 +- Update to 3.40.0 version (#1697579) + +* Sat Mar 23 2019 Parag Nemade - 3.39.0-1 +- Update to 3.39.0 version (#1690561) +- Removed python2 package + +* Mon Feb 18 2019 Parag Nemade - 3.38.0-1 +- Update to 3.38.0 version (#1678366) + +* Tue Feb 12 2019 Kalev Lember - 3.37.3-2 +- Add missing requires on python3-setuptools (#1676290) + +* Wed Feb 06 2019 Parag Nemade - 3.37.3-1 +- Update to 3.37.3 version (#1672607) + +* Thu Jan 31 2019 Fedora Release Engineering - 3.37.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 29 2019 Parag Nemade - 3.37.0-1 +- Update to 3.37.0 version (#1670213) + +* Fri Dec 21 2018 Parag Nemade - 3.34.2-1 +- Update to 3.34.2 version + +* Fri Nov 23 2018 Parag Nemade - 3.32.0-1 +- Update to 3.32.0 version + +* Thu Oct 25 2018 Parag Nemade - 3.31.0-1 +- Update to 3.31.0 version (#1642082) + +* Sat Jul 28 2018 Parag Nemade - 3.29.0-1 +- Update to 3.29.0 version (#1609078) + +* Fri Jul 13 2018 Fedora Release Engineering - 3.28.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jul 02 2018 Miro Hrončok - 3.28.0-2 +- Rebuilt for Python 3.7 + +* Sat Jun 23 2018 Parag Nemade - 3.28.0-1 +- Update to 3.28.0 version +- License corrected to MIT as upstream changed it since 3.21.0 release + +* Tue Jun 19 2018 Miro Hrončok - 3.27.1-2 +- Rebuilt for Python 3.7 + +* Fri Jun 15 2018 Parag Nemade - 3.27.1-1 +- Update to 3.27.1 version (#1591522) + +* Mon May 07 2018 Parag Nemade - 3.26.0-1 +- Update to 3.26.0 version (#1575168) + +* Wed Apr 04 2018 Parag Nemade - 3.25.0-1 +- Update to 3.25.0 version (#1563434) + +* Tue Mar 27 2018 Parag Nemade - 3.24.2-1 +- Update to 3.24.2 version (#1560987) + +* Wed Mar 07 2018 Parag Nemade - 3.24.1-1 +- Update to 3.24.1 version (#1552589) + +* Fri Mar 02 2018 Parag Nemade - 3.24.0-1 +- Update to 3.24.0 version (#1550749) + +* Tue Feb 27 2018 Parag Nemade - 3.23.0-1 +- Update to 3.23.0 version (#1549339) + +* Thu Feb 08 2018 Parag Nemade - 3.22.0-1 +- Update to 3.22.0 version (#1542272) + +* Wed Feb 07 2018 Fedora Release Engineering - 3.21.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 13 2018 Parag Nemade - 3.21.2-1 +- Update to 3.21.2 version (#1532417) + +* Sun Jan 07 2018 Parag Nemade - 3.21.1-1 +- Update to 3.21.1 version (#1530999) + +* Thu Dec 21 2017 Parag Nemade - 3.21.0-1 +- Update to 3.21.0 version (#1528078) + +* Wed Nov 22 2017 Parag Nemade - 3.20.0-1 +- Update to 3.20.0 version (#1515794) + +* Wed Nov 08 2017 Parag Nemade - 3.19.0-1 +- Update to 3.19.0 version (#1510218) + +* Wed Nov 01 2017 Parag Nemade - 3.18.0-1 +- Update to 3.18.0 version (#1508232) + +* Tue Oct 03 2017 Parag Nemade - 3.16.0-1 +- Update to 3.16.0 version (#1498063) + +* Sun Aug 20 2017 Parag Nemade - 3.15.1-1 +- Update to 3.15.1 version + +* Tue Aug 01 2017 Parag Nemade - 3.14.0-1 +- Update to 3.14.0 version + +* Wed Jul 26 2017 Fedora Release Engineering - 3.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed May 31 2017 Parag Nemade - 3.13.1-1 +- Update to 3.13.1 version + +* Thu May 25 2017 Parag Nemade - 3.13.0-1 +- Update to 3.13.0 version + +* Wed May 03 2017 Parag Nemade - 3.11.0-1 +- Update to 3.11.0 version + +* Sun Apr 16 2017 Parag Nemade - 3.10.0-1 +- Update to 3.10.0 version + +* Sun Apr 09 2017 Parag Nemade - 3.9.2-1 +- Update to 3.9.2 version + +* Tue Mar 21 2017 Parag Nemade - 3.9.1-1 +- Update to 3.9.1 version + +* Tue Mar 14 2017 Parag Nemade - 3.9.0-1 +- Update to 3.9.0 version + +* Mon Mar 06 2017 Parag Nemade - 3.8.0-1 +- Update to 3.8.0 version + +* Sat Feb 18 2017 Parag Nemade - 3.7.2-1 +- Update to 3.7.2 version + +* Fri Feb 17 2017 Parag Nemade - 3.7.1-1 +- Update to 3.7.1 version + +* Sun Feb 12 2017 Parag Nemade - 3.7.0-1 +- Update to 3.7.0 version + +* Mon Feb 06 2017 Parag Nemade - 3.6.2-1 +- Update to 3.6.2 version + +* Sun Jan 29 2017 Parag Nemade - 3.6.1-1 +- Update to 3.6.1 version + +* Fri Jan 27 2017 Parag Nemade - 3.6.0-1 +- Update docs file names +- Update to 3.6.0 version + +* Mon Jan 16 2017 Parag Nemade - 3.5.0-1 +- Update to 3.5.0 version + +* Thu Dec 22 2016 Parag Nemade - 3.4.0-1 +- Update to 3.4.0 version + +* Tue Dec 20 2016 Parag Nemade - 3.3.1-1 +- Update to version 3.3.1 + +* Mon Dec 19 2016 Miro Hrončok - 3.3.0-2 +- Rebuild for Python 3.6 + +* Wed Dec 07 2016 Parag Nemade - 3.3.0-1 +- Update to version 3.3.0 +- This release removed top level sstruct and xmlWriter + +* Mon Dec 05 2016 Parag Nemade - 3.2.3-1 +- Update to version 3.2.3 + +* Tue Nov 29 2016 Parag Nemade - 3.2.2-2 +- Resolves: rh#1278201 - ImportError: No module named 'pygtk' + +* Fri Nov 25 2016 Parag Nemade - 3.2.2-1 +- Update to version 3.2.2 + +* Tue Nov 08 2016 Parag Nemade - 3.2.1-1 +- Update to version 3.2.1 + +* Thu Nov 03 2016 Parag Nemade - 3.2.0-1 +- Update to version 3.2.0 + +* Mon Oct 10 2016 Parag Nemade - 3.1.2-1 +- Update to version 3.1.2 + +* Tue Jul 19 2016 Fedora Release Engineering - 3.0-5 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Sun Mar 06 2016 Parag Nemade - 3.0-4 +- Resolves:rh#1240265- fonttools 2.5 takes too much memory + +* Wed Feb 03 2016 Fedora Release Engineering - 3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Wed Sep 02 2015 Parag Nemade - 3.0-1 +- Updated to version 3.0 + +* Mon Jul 13 2015 Parag Nemade - 2.5-4 +- Fix ttx execution backtrace (rh#1242549) + +* Wed Jun 17 2015 Fedora Release Engineering - 2.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Nov 16 2014 Parag - 2.5-2 +- Upstream dropped file eexecOp.so so make this package noarch +- Change %%{python2_sitearch} to %%{python2_sitelib} python2 macros +- Fix URL tag (rh#1164448) + +* Sat Nov 15 2014 Peter Oliver - 2.5-1 +- Changed upstream to https://github.com/behdad/fonttools. +- Updated to version 2.5. +- Use python2 macros (Parag Nemade) +- Use released tarball (Parag Nemade) +- Remove optional group tag (Parag Nemade) + +* Sat Aug 16 2014 Fedora Release Engineering - 2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jun 24 2013 Parag - 2.4-1 +- New upstream release 2.4 + +* Wed Feb 13 2013 Fedora Release Engineering - 2.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 29 2012 Parag - 2.3-6 +- Resolves:rh#880063 - BR: python2-devel required + +* Thu Jul 19 2012 Fedora Release Engineering - 2.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 2.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Oct 19 2010 Akira TAGOH - 2.3-2 +- Rebuild. + +* Fri Jul 23 2010 Akira TAGOH - 2.3-1 +- New upstream release. (Paul Williams, #599281) + - drop upstreamed patch. + - correct man page location. +- Update the spec file to keep consistensy of usage in the macro as far as possible. + +* Wed Jul 21 2010 David Malcolm - 2.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Fri Oct 02 2009 Caolán McNamara - 2.2-7 +* Resolves: rhbz#525444 as is a reserved keyword in python + +* Fri Jul 24 2009 Fedora Release Engineering - 2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Roozbeh Pournader - 2.2-5 +* Change dependency on python-numeric to numpy + +* Tue Feb 24 2009 Fedora Release Engineering - 2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 2.2-3 +- Fix locations for Python 2.6 + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 2.2-2 +- Rebuild for Python 2.6 + +* Tue Sep 16 2008 Matt Domsch - 2.2-1 +- update to 2.2, drop upstreamed patch, fix FTBFS BZ#434409 + +* Tue Feb 19 2008 Fedora Release Engineering - 2.0-0.12.20060223cvs +- Autorebuild for GCC 4.3 + +* Sat Dec 09 2006 Roozbeh Pournader - 2.0-0.11.20060223cvs +- Rebuild for Python 2.5 + +* Fri Dec 01 2006 Roozbeh Pournader - 2.0-0.10.20060223cvs +- Update the Unicode names file to Unicode 5.0.0 + +* Thu Nov 09 2006 Roozbeh Pournader - 2.0-0.9.20060223cvs +- Update to newer CVS snapshot dated 2006-02-23 +- Cleanup based on latest Python packaging guidelines + +* Wed Nov 08 2006 Roozbeh Pournader - 2.0-0.8.20050624cvs +- De-ghost .pyo files + +* Wed Nov 08 2006 Roozbeh Pournader - 2.0-0.7.20050624cvs +- Rebuild to get into Rawhide + +* Mon May 08 2006 Roozbeh Pournader - 2.0-0.6.20050624cvs +- Change specification of ulUnicodeRange1-4 to unsigned long + +* Mon Feb 13 2006 Roozbeh Pournader - 2.0-0.5.20050624cvs +- Rebuild for Fedora Extras 5 + +* Thu Feb 02 2006 Roozbeh Pournader - 2.0-0.4.20050624cvs +- Provide ttx + +* Wed Feb 01 2006 Roozbeh Pournader - 2.0-0.3.20050624cvs +- Use upstream snapshots, moving the difference into a patch +- Change alphatag time to the latest change in CVS +- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_86) +- Use sed instead of a patch to remove shebang + +* Sun Jan 08 2006 Roozbeh Pournader - 2.0-0.2.20060103cvs +- Add %%{?dist} tag + +* Fri Jan 06 2006 Roozbeh Pournader - 2.0-0.1.20060103cvs +- Initial packaging diff --git a/sources b/sources index e69de29..9e7e4d5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (fonttools-3.43.1.zip) = 9004ed0f50a5e2014fcb7f851c5a6ad61b0a97a6650a52e220c77ae7adc82ef9fa430259c4c70f4012ea89c3d413cc4ca54112b1c2c661cafd6eb4317f2c8b24