[packages/fonttools] - initial; from fc
arekm
arekm at pld-linux.org
Fri Oct 5 14:01:04 CEST 2012
commit 77da64f4ef00287de683760e173761ed2dfa3177
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Oct 5 14:00:47 2012 +0200
- initial; from fc
fonttools.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
---
diff --git a/fonttools.spec b/fonttools.spec
new file mode 100644
index 0000000..6fca348
--- /dev/null
+++ b/fonttools.spec
@@ -0,0 +1,64 @@
+Summary: A tool to convert True/OpenType fonts to XML and back
+Name: fonttools
+Version: 2.3
+Release: 1
+License: BSD
+Group: Development/Tools
+URL: http://sourceforge.net/projects/fonttools/
+Source0: http://downloads.sourceforge.net/fonttools/%{name}-%{version}.tar.gz
+# Source0-md5: 502cdf6662e1d075f1902fbd995eaace
+BuildRequires: python-devel
+BuildRequires: python-numpy
+Requires: python-numpy
+Provides: ttx = %{version}-%{release}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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 TrueType and OpenType fonts to an XML-based text format and
+vice versa.
+
+%prep
+%setup -q
+
+sed -i.nobang '1 d' Lib/fontTools/ttx.py
+chmod a-x LICENSE.txt
+
+%build
+CFLAGS="%{rpmcflags} %{rpmcppflags}" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ -O1 \
+ --skip-build \
+ --root $RPM_BUILD_ROOT
+
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/FontTools/fontTools/ttLib/test
+chmod 0755 $RPM_BUILD_ROOT%{py_sitedir}/FontTools/fontTools/misc/eexecOp.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.txt
+%doc Doc/ChangeLog Doc/changes.txt Doc/documentation.html
+%{py_sitedir}/FontTools.pth
+%dir %{py_sitedir}/FontTools
+%dir %{py_sitedir}/FontTools/fontTools
+%dir %{py_sitedir}/FontTools/fontTools/encodings
+%dir %{py_sitedir}/FontTools/fontTools/misc
+%dir %{py_sitedir}/FontTools/fontTools/pens
+%dir %{py_sitedir}/FontTools/fontTools/ttLib
+%dir %{py_sitedir}/FontTools/fontTools/ttLib/tables
+%{py_sitedir}/FontTools/*.py*
+%{py_sitedir}/FontTools/fontTools/*.py*
+%{py_sitedir}/FontTools/fontTools/*/*.py*
+%{py_sitedir}/FontTools/fontTools/*/*/*.py*
+%{py_sitedir}/FontTools/fontTools/misc/eexecOp.so
+%{py_sitedir}/FontTools/fonttools-%{version}-py?.?.egg-info
+%attr(755,root,root) %{_bindir}/ttx
+%{_mandir}/man1/ttx.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fonttools.git/commitdiff/77da64f4ef00287de683760e173761ed2dfa3177
More information about the pld-cvs-commit
mailing list