2016-10-10 05:26:42 +00:00
|
|
|
%global pypi_name fonttools
|
|
|
|
%global desc \
|
|
|
|
FontTools/TTX is a library to manipulate font files from Python. It supports \
|
|
|
|
reading and writing of TrueType/OpenType fonts, reading and writing of AFM \
|
|
|
|
files, reading (and partially writing) of PS Type 1 fonts. The package also \
|
|
|
|
contains a tool called “TTX” which converts TrueType/OpenType fonts to and \
|
|
|
|
from an XML-based format.
|
2015-09-02 18:34:14 +00:00
|
|
|
|
2006-11-08 19:17:12 +00:00
|
|
|
Name: fonttools
|
2016-10-10 05:26:42 +00:00
|
|
|
Version: 3.1.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Tools to manipulate font files
|
2006-11-08 19:17:12 +00:00
|
|
|
License: BSD
|
2016-10-10 05:26:42 +00:00
|
|
|
URL: https://github.com/fonttools/%{name}/
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/f/%{pypi_name}/%{pypi_name}-%{version}.zip
|
2006-11-08 19:17:12 +00:00
|
|
|
|
2015-09-02 18:34:14 +00:00
|
|
|
Requires: python3-fonttools
|
2014-11-16 10:36:49 +00:00
|
|
|
BuildArch: noarch
|
2008-09-16 17:10:29 +00:00
|
|
|
Provides: ttx = %{version}-%{release}
|
2006-11-08 19:17:12 +00:00
|
|
|
|
|
|
|
%description
|
2016-10-10 05:26:42 +00:00
|
|
|
%{desc}
|
2006-11-08 19:17:12 +00:00
|
|
|
|
2015-09-02 18:34:14 +00:00
|
|
|
%package -n python2-fonttools
|
|
|
|
Summary: Python 2 fonttools library
|
|
|
|
%{?python_provide:%python_provide python2-%{name}}
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: numpy
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: numpy
|
|
|
|
|
|
|
|
%description -n python2-fonttools
|
2016-10-10 05:26:42 +00:00
|
|
|
%{desc}
|
2015-09-02 18:34:14 +00:00
|
|
|
|
|
|
|
%package -n python3-fonttools
|
|
|
|
Summary: Python 3 fonttools library
|
|
|
|
%{?python_provide:%python_provide python3-%{name}}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-numpy
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: python3-numpy
|
|
|
|
|
|
|
|
%description -n python3-fonttools
|
2016-10-10 05:26:42 +00:00
|
|
|
%{desc}
|
2015-09-02 18:34:14 +00:00
|
|
|
|
2006-11-08 19:17:12 +00:00
|
|
|
%prep
|
2016-10-10 05:26:42 +00:00
|
|
|
%autosetup
|
2015-09-02 18:34:14 +00:00
|
|
|
rm -rf *.egg-info
|
2006-11-08 19:17:12 +00:00
|
|
|
|
|
|
|
%build
|
2016-10-10 05:26:42 +00:00
|
|
|
%py2_build
|
|
|
|
%py3_build
|
2006-11-08 19:17:12 +00:00
|
|
|
|
|
|
|
%install
|
2015-09-02 18:34:14 +00:00
|
|
|
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
|
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
2006-11-08 19:17:12 +00:00
|
|
|
|
|
|
|
%files
|
2014-11-15 17:35:22 +00:00
|
|
|
%{_bindir}/pyftinspect
|
|
|
|
%{_bindir}/pyftmerge
|
|
|
|
%{_bindir}/pyftsubset
|
2006-11-08 19:17:12 +00:00
|
|
|
%{_bindir}/ttx
|
2008-09-16 17:10:29 +00:00
|
|
|
%{_mandir}/man1/ttx.1.gz
|
|
|
|
|
2015-09-02 18:34:14 +00:00
|
|
|
%files -n python2-fonttools
|
2016-10-10 05:26:42 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc NEWS README.md
|
2015-09-02 18:34:14 +00:00
|
|
|
%{python2_sitelib}/FontTools.pth
|
|
|
|
%{python2_sitelib}/FontTools
|
|
|
|
|
|
|
|
%files -n python3-fonttools
|
2016-10-10 05:26:42 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc NEWS README.md
|
2015-09-02 18:34:14 +00:00
|
|
|
%{python3_sitelib}/FontTools.pth
|
|
|
|
%{python3_sitelib}/FontTools
|
|
|
|
|
2006-11-08 19:17:12 +00:00
|
|
|
%changelog
|
2016-10-10 05:26:42 +00:00
|
|
|
* Mon Oct 10 2016 Parag Nemade <pnemade AT redhat DOT com> - 3.1.2-1
|
|
|
|
- Update to version 3.1.2
|
|
|
|
|
2016-07-19 07:06:14 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-5
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-03-07 06:32:22 +00:00
|
|
|
* Sun Mar 06 2016 Parag Nemade <pnemade AT redhat DOT com> - 3.0-4
|
|
|
|
- Resolves:rh#1240265- fonttools 2.5 takes too much memory
|
|
|
|
|
2016-02-03 20:40:47 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 14:20:26 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-09-02 18:34:14 +00:00
|
|
|
* Wed Sep 02 2015 Parag Nemade <pnemade AT redhat DOT com> - 3.0-1
|
|
|
|
- Updated to version 3.0
|
|
|
|
|
|
|
|
* Mon Jul 13 2015 Parag Nemade <pnemade AT redhat DOT com> - 2.5-4
|
2015-07-13 14:52:00 +00:00
|
|
|
- Fix ttx execution backtrace (rh#1242549)
|
|
|
|
|
2015-06-17 06:33:51 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-11-16 10:36:49 +00:00
|
|
|
* Sun Nov 16 2014 Parag <pnemade AT redhat DOT com> - 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)
|
|
|
|
|
2014-11-15 17:35:22 +00:00
|
|
|
* Sat Nov 15 2014 Peter Oliver <rpm@mavit.org.uk> - 2.5-1
|
|
|
|
- Changed upstream to https://github.com/behdad/fonttools.
|
|
|
|
- Updated to version 2.5.
|
2014-11-16 06:57:12 +00:00
|
|
|
- Use python2 macros (Parag Nemade)
|
|
|
|
- Use released tarball (Parag Nemade)
|
|
|
|
- Remove optional group tag (Parag Nemade)
|
2014-11-15 17:35:22 +00:00
|
|
|
|
2014-08-16 12:52:34 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 12:32:44 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 11:38:57 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-24 09:03:54 +00:00
|
|
|
* Mon Jun 24 2013 Parag <pnemade AT redhat DOT com> - 2.4-1
|
|
|
|
- New upstream release 2.4
|
|
|
|
|
2013-02-13 21:52:19 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-29 08:20:12 +00:00
|
|
|
* Thu Nov 29 2012 Parag <pnemade AT redhat DOT com> - 2.3-6
|
|
|
|
- Resolves:rh#880063 - BR: python2-devel required
|
|
|
|
|
2012-07-19 02:54:21 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 02:37:43 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 21:10:36 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-10-19 06:00:41 +00:00
|
|
|
* Tue Oct 19 2010 Akira TAGOH <tagoh@redhat.com> - 2.3-2
|
|
|
|
- Rebuild.
|
|
|
|
|
2010-07-23 10:29:04 +00:00
|
|
|
* Fri Jul 23 2010 Akira TAGOH <tagoh@redhat.com> - 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.
|
|
|
|
|
2010-07-22 01:23:29 +00:00
|
|
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2009-10-02 09:41:03 +00:00
|
|
|
* Fri Oct 02 2009 Caolán McNamara <caolanm@redhat.com> - 2.2-7
|
|
|
|
* Resolves: rhbz#525444 as is a reserved keyword in python
|
|
|
|
|
2009-07-24 23:01:15 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 07:34:48 +00:00
|
|
|
* Wed Feb 25 2009 Roozbeh Pournader <roozbeh@gmail.com> - 2.2-5
|
|
|
|
* Change dependency on python-numeric to numpy
|
|
|
|
|
2009-02-24 17:54:42 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-30 00:53:21 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.2-3
|
|
|
|
- Fix locations for Python 2.6
|
|
|
|
|
2008-11-29 16:36:57 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.2-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-09-16 17:10:29 +00:00
|
|
|
* Tue Sep 16 2008 Matt Domsch <mdomsch@fedoraproject.org> - 2.2-1
|
|
|
|
- update to 2.2, drop upstreamed patch, fix FTBFS BZ#434409
|
|
|
|
|
2008-02-19 22:26:31 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0-0.12.20060223cvs
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2006-12-09 15:56:09 +00:00
|
|
|
* Sat Dec 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.11.20060223cvs
|
|
|
|
- Rebuild for Python 2.5
|
|
|
|
|
2006-12-01 02:36:25 +00:00
|
|
|
* Fri Dec 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.10.20060223cvs
|
|
|
|
- Update the Unicode names file to Unicode 5.0.0
|
|
|
|
|
2006-11-09 14:38:24 +00:00
|
|
|
* Thu Nov 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.9.20060223cvs
|
|
|
|
- Update to newer CVS snapshot dated 2006-02-23
|
|
|
|
- Cleanup based on latest Python packaging guidelines
|
|
|
|
|
2006-11-08 20:05:31 +00:00
|
|
|
* Wed Nov 08 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.8.20050624cvs
|
|
|
|
- De-ghost .pyo files
|
|
|
|
|
2006-11-08 19:26:03 +00:00
|
|
|
* Wed Nov 08 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.7.20050624cvs
|
|
|
|
- Rebuild to get into Rawhide
|
|
|
|
|
2006-11-08 19:17:12 +00:00
|
|
|
* Mon May 08 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.6.20050624cvs
|
|
|
|
- Change specification of ulUnicodeRange1-4 to unsigned long
|
|
|
|
|
|
|
|
* Mon Feb 13 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.5.20050624cvs
|
|
|
|
- Rebuild for Fedora Extras 5
|
|
|
|
|
|
|
|
* Thu Feb 02 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.4.20050624cvs
|
|
|
|
- Provide ttx
|
|
|
|
|
|
|
|
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 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 <roozbeh@farsiweb.info> - 2.0-0.2.20060103cvs
|
|
|
|
- Add %%{?dist} tag
|
|
|
|
|
|
|
|
* Fri Jan 06 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.1.20060103cvs
|
|
|
|
- Initial packaging
|