Upstream dropped file eexecOp.so so make this package noarch
- Change %{python2_sitearch} to %{python2_sitelib} python2 macros - Fix URL tag (rh#1164448)
This commit is contained in:
parent
022d59eec5
commit
87d897de5a
@ -1,14 +1,15 @@
|
|||||||
Name: fonttools
|
Name: fonttools
|
||||||
Version: 2.5
|
Version: 2.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A tool to convert True/OpenType fonts to XML and back
|
Summary: A tool to convert True/OpenType fonts to XML and back
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://sourceforge.net/behdad/%{name}/
|
URL: https://github.com/behdad/%{name}/
|
||||||
Source0: https://github.com/behdad/%{name}/archive/%{version}.tar.gz
|
Source0: https://github.com/behdad/%{name}/archive/%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python2-devel numpy
|
BuildRequires: python2-devel numpy
|
||||||
Requires: numpy
|
Requires: numpy
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
Provides: ttx = %{version}-%{release}
|
Provides: ttx = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -16,43 +17,42 @@ TTX/FontTools is a tool for manipulating TrueType and OpenType fonts. It is
|
|||||||
written in Python and has a BSD-style, open-source license. TTX can dump
|
written in Python and has a BSD-style, open-source license. TTX can dump
|
||||||
TrueType and OpenType fonts to an XML-based text format and vice versa.
|
TrueType and OpenType fonts to an XML-based text format and vice versa.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %{name}-%{commit}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python2} setup.py build
|
%{__python2} setup.py build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||||
rm -rf $RPM_BUILD_ROOT%{python_sitearch}/FontTools/fontTools/ttLib/test
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%doc Doc/changes.txt Doc/documentation.html
|
%doc Doc/changes.txt Doc/documentation.html
|
||||||
%{python2_sitearch}/FontTools.pth
|
%{python2_sitelib}/FontTools.pth
|
||||||
%dir %{python2_sitearch}/FontTools
|
%dir %{python2_sitelib}/FontTools
|
||||||
%dir %{python2_sitearch}/FontTools/fontTools
|
%dir %{python2_sitelib}/FontTools/fontTools
|
||||||
%dir %{python2_sitearch}/FontTools/fontTools/encodings
|
%dir %{python2_sitelib}/FontTools/fontTools/encodings
|
||||||
%dir %{python2_sitearch}/FontTools/fontTools/misc
|
%dir %{python2_sitelib}/FontTools/fontTools/misc
|
||||||
%dir %{python2_sitearch}/FontTools/fontTools/pens
|
%dir %{python2_sitelib}/FontTools/fontTools/pens
|
||||||
%dir %{python2_sitearch}/FontTools/fontTools/ttLib
|
%dir %{python2_sitelib}/FontTools/fontTools/ttLib
|
||||||
%dir %{python2_sitearch}/FontTools/fontTools/ttLib/tables
|
%dir %{python2_sitelib}/FontTools/fontTools/ttLib/tables
|
||||||
%{python2_sitearch}/FontTools/fontTools/*.py*
|
%{python2_sitelib}/FontTools/fontTools/*.py*
|
||||||
%{python2_sitearch}/FontTools/fontTools/*/*.py*
|
%{python2_sitelib}/FontTools/fontTools/*/*.py*
|
||||||
%{python2_sitearch}/FontTools/fontTools/*/*/*.py*
|
%{python2_sitelib}/FontTools/fontTools/*/*/*.py*
|
||||||
%{python2_sitearch}/FontTools/fonttools-%{version}-py?.?.egg-info
|
%{python2_sitelib}/FontTools/fonttools-%{version}-py?.?.egg-info
|
||||||
%{_bindir}/pyftinspect
|
%{_bindir}/pyftinspect
|
||||||
%{_bindir}/pyftmerge
|
%{_bindir}/pyftmerge
|
||||||
%{_bindir}/pyftsubset
|
%{_bindir}/pyftsubset
|
||||||
%{_bindir}/ttx
|
%{_bindir}/ttx
|
||||||
%{_mandir}/man1/ttx.1.gz
|
%{_mandir}/man1/ttx.1.gz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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)
|
||||||
|
|
||||||
* Sat Nov 15 2014 Peter Oliver <rpm@mavit.org.uk> - 2.5-1
|
* Sat Nov 15 2014 Peter Oliver <rpm@mavit.org.uk> - 2.5-1
|
||||||
- Changed upstream to https://github.com/behdad/fonttools.
|
- Changed upstream to https://github.com/behdad/fonttools.
|
||||||
- Updated to version 2.5.
|
- Updated to version 2.5.
|
||||||
|
Loading…
Reference in New Issue
Block a user