Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
206e46fe69 |
5 changed files with 107 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/woffTools-67030d4.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: woffTools
|
||||
# $Id$
|
||||
NAME := woffTools
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
872957747cd88a35dc7cede90d5d8634 woffTools-67030d4.tar.gz
|
||||
105
woffTools.spec
Normal file
105
woffTools.spec
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
%global commit0 67030d47ccb97993eb683e23bbce0f79d9577cf5
|
||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
||||
|
||||
Name: woffTools
|
||||
Version: 0.1
|
||||
Release: 0.14.20160211git%{?dist}
|
||||
Summary: Tool for manipulating and examining WOFF files
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/typesupply/woffTools
|
||||
Source0: https://github.com/typesupply/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel python-tools
|
||||
|
||||
BuildRequires: fonttools
|
||||
Requires: fonttools
|
||||
Requires: python-woffTools
|
||||
|
||||
%description
|
||||
woffTools is a collection of command line tools for verifying and
|
||||
examining WOFF files. This is also a Python package that can be used
|
||||
to manipulate and examine WOFF files just as you can examine SFNT files
|
||||
with FontTools.
|
||||
|
||||
%package -n python-%{name}
|
||||
Summary: Tool for manipulating and examining WOFF files
|
||||
|
||||
%description -n python-%{name}
|
||||
An python module which provides a convenient example.
|
||||
|
||||
%prep
|
||||
%setup -q -c -n %{name}-%{commit0}
|
||||
|
||||
mv %{name}-%{commit0} python2
|
||||
# Remove shebang
|
||||
sed -i -e '/^#! \//, 1d' python2/Lib/woffTools/tools/validate.py
|
||||
mv python2/*.txt .
|
||||
|
||||
%build
|
||||
pushd python2
|
||||
%py2_build
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd python2
|
||||
%py2_install
|
||||
popd
|
||||
|
||||
%files
|
||||
%{_bindir}/woff*
|
||||
|
||||
%files -n python-%{name}
|
||||
%doc README.txt
|
||||
%license License.txt
|
||||
%{python2_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 11 2016 Parag Nemade <pnemade AT redhat DOT com>- 0.1-0.14.20160211git
|
||||
- Update to latest snapshot 20160211
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.13.20151005git
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.12.20151005git
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||
|
||||
* Mon Oct 05 2015 Parag Nemade <pnemade@redhat.com>- 0.1-0.11.20151005git
|
||||
- Update to new upstream github URL
|
||||
- Follow git hosting source guidelines
|
||||
- remove optional group tag, buildroot, defattr, %%clean
|
||||
- removal of buildroot from %%install
|
||||
- follow newer python packaging guidelines
|
||||
|
||||
* Fri Sep 11 2015 Sandeep Shedmake <sshedmak@redhat.com> - 0.1-0.10.684svn
|
||||
- Patch0 added, Release bumped
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.9.684svn
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.8.684svn
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.7.684svn
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.6.684svn
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.5.684svn
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.4.684svn
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.684svn
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.1-0.2.684svn
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Fri Nov 27 2009 Parag Nemade <pnemade@redhat.com>- 0.1-0.1.684svn
|
||||
- Initial specfile for Fedora
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue