Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
648764c339 | ||
|
|
1cde346cb1 | ||
| a253123ec5 |
4 changed files with 60 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
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 @@
|
||||||
|
a3303c4143041f7d6be0a84c13f41066 woffTools-0.1beta.tar.gz
|
||||||
59
woffTools.spec
Normal file
59
woffTools.spec
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
|
%define svnrev 684
|
||||||
|
|
||||||
|
Name: woffTools
|
||||||
|
Version: 0.1
|
||||||
|
Release: 0.1.%{svnrev}svn%{?dist}
|
||||||
|
Summary: Tool for manipulating and examining WOFF files
|
||||||
|
|
||||||
|
Group: Development/Languages
|
||||||
|
License: MIT
|
||||||
|
URL: http://code.typesupply.com/wiki/woffTools
|
||||||
|
##### svn checkout HOWTO #####
|
||||||
|
##### $ svn export -r %{svnrev} http://svn.typesupply.com/packages/woffTools/trunk woffTools #####
|
||||||
|
##### $ python setup.py sdist --formats gztar #####
|
||||||
|
Source0: woffTools-0.1beta.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: python-devel
|
||||||
|
Requires: fonttools
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}beta
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__python} setup.py build
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README.txt PKG-INFO
|
||||||
|
%{_bindir}/*
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* 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