4208fe9
Name:           fontdump
2c8b0ae
Version:        1.3.0
842800b
Release:        3%{?dist}
4208fe9
Summary:        Dump the CSS and different formats of fonts for Google Fonts
4208fe9
4208fe9
License:        MIT
4208fe9
URL:            https://github.com/glasslion/fontdump
4208fe9
Source0:        https://pypi.python.org/packages/source/f/%{name}/%{name}-%{version}.tar.gz
4208fe9
4208fe9
BuildArch:      noarch
4208fe9
BuildRequires:  python2-devel
4208fe9
BuildRequires:  python-setuptools
4208fe9
Requires:       python-setuptools
4208fe9
4208fe9
%description
4208fe9
A command line tool to dump the CSS and different formats of fonts for Google
4208fe9
Fonts, so you can serve them on your local servers.
4208fe9
4208fe9
%prep
4208fe9
%setup -q -n %{name}-%{version}
4208fe9
rm -rf *.egg-info
4208fe9
4208fe9
sed -i -e '/^#!\//, 1d' fontdump/cli.py fontdump/core.py
4208fe9
4208fe9
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|'
4208fe9
4208fe9
%build
4208fe9
%{__python2} setup.py build
4208fe9
4208fe9
%install
4208fe9
%{__python2} setup.py install --skip-build --root=%{buildroot}
4208fe9
4208fe9
%files
4208fe9
%doc PKG-INFO LICENSE
4208fe9
%{_bindir}/%{name}
4208fe9
%{python2_sitelib}/%{name}/
4208fe9
%{python2_sitelib}/%{name}-%{version}-py2.*.egg-info
4208fe9
4208fe9
%changelog
842800b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
842800b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
842800b
800a383
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
800a383
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
800a383
2c8b0ae
* Tue Nov 25 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.3.0-1
2c8b0ae
- Update to new upstream 1.3.0 release
2c8b0ae
4208fe9
* Thu Oct 30 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.2.1-1
4208fe9
- Update to new upstream 1.2.1 release
4208fe9
4208fe9
* Thu Oct 30 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.2.0-2
4208fe9
- Add upstream LICENSE file (asked in review)
4208fe9
- Add Requires: python-setuptools (asked in review)
4208fe9
4208fe9
* Mon Sep 22 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.2.0-1
4208fe9
- Initial packaging
4208fe9