Name: ttname Version: 1 Release: 1%{?dist} Summary: CLI font metadata editor BuildArch: noarch License: BSD URL: https://github.com/tchollingsworth/ttname Source0: https://pypi.python.org/packages/source/t/%{name}/%{name}-%{version}.tar.gz BuildRequires: python-devel python-setuptools # for tests BuildRequires: python-nose BuildRequires: fonttools python-lxml BuildRequires: fontconfig # for entrypoint magic Requires: python-setuptools # for normal runtime Requires: fonttools python-lxml %description A CLI interface for editing the "name" table that contains the metadata in TrueType and OpenType fonts. %prep %setup -q %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} %check nosetests -vx %files %{python_sitelib}/ttname %{python_sitelib}/ttname-*.egg-info %{_bindir}/ttname %{_mandir}/man1/ttname.1.* %doc LICENSE %changelog * Tue Aug 27 2013 T.C. Hollingsworth - 1-1 - initial release