Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Fedora Release Engineering
648764c339 dist-git conversion 2010-07-29 15:23:25 +00:00
Sandeep Sheshrao Shedmake
1cde346cb1 *** empty log message *** 2009-12-10 09:50:06 +00:00
a253123ec5 Initialize branch F-12 for woffTools 2009-12-09 17:45:31 +00:00
4 changed files with 60 additions and 21 deletions

View file

View file

@ -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)

View file

@ -0,0 +1 @@
a3303c4143041f7d6be0a84c13f41066 woffTools-0.1beta.tar.gz

59
woffTools.spec Normal file
View 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