[fontdump] Initial import (#1146933)

Parag Nemade pnemade at fedoraproject.org
Wed Nov 5 12:18:29 UTC 2014


commit 4208fe94558b4bb3b2f52c3aaf14f248b7b8114d
Author: Parag Nemade <pnemade at redhat.com>
Date:   Wed Nov 5 17:48:38 2014 +0530

    Initial import (#1146933)

 .gitignore    |    1 +
 fontdump.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3a89c2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fontdump-1.2.1.tar.gz
diff --git a/fontdump.spec b/fontdump.spec
new file mode 100644
index 0000000..06fc64a
--- /dev/null
+++ b/fontdump.spec
@@ -0,0 +1,49 @@
+Name:           fontdump
+Version:        1.2.1
+Release:        1%{?dist}
+Summary:        Dump the CSS and different formats of fonts for Google Fonts
+
+License:        MIT
+URL:            https://github.com/glasslion/fontdump
+Source0:        https://pypi.python.org/packages/source/f/%{name}/%{name}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+Requires:       python-setuptools
+
+%description
+A command line tool to dump the CSS and different formats of fonts for Google
+Fonts, so you can serve them on your local servers.
+
+%prep
+%setup -q -n %{name}-%{version}
+rm -rf *.egg-info
+
+sed -i -e '/^#!\//, 1d' fontdump/cli.py fontdump/core.py
+
+find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|'
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install --skip-build --root=%{buildroot}
+
+%files
+%doc PKG-INFO LICENSE
+%{_bindir}/%{name}
+%{python2_sitelib}/%{name}/
+%{python2_sitelib}/%{name}-%{version}-py2.*.egg-info
+
+%changelog
+* Thu Oct 30 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.2.1-1
+- Update to new upstream 1.2.1 release
+
+* Thu Oct 30 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.2.0-2
+- Add upstream LICENSE file (asked in review)
+- Add Requires: python-setuptools (asked in review)
+
+* Mon Sep 22 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.2.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..f348558 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c670187c2635a136f4bfc3c52549491c  fontdump-1.2.1.tar.gz


More information about the scm-commits mailing list