[ttname/f18] initial release
T.C. Hollingsworth
patches at fedoraproject.org
Wed Aug 28 13:02:52 UTC 2013
commit 6ce26e97df6fed19838119b5f53acf52c28eff78
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date: Wed Aug 28 06:00:26 2013 -0700
initial release
.gitignore | 1 +
sources | 1 +
ttname.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dcde849 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ttname-1.tar.gz
diff --git a/sources b/sources
index e69de29..e937951 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+60cee010b0bdea630ff8c05478862ad6 ttname-1.tar.gz
diff --git a/ttname.spec b/ttname.spec
new file mode 100644
index 0000000..dbdc8fd
--- /dev/null
+++ b/ttname.spec
@@ -0,0 +1,48 @@
+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 <tchollingsworth at gmail.com> - 1-1
+- initial release
More information about the scm-commits
mailing list