woffTools/woffTools.spec
Sandeep Sheshrao Shedmake e897289b03 initial import
2009-12-10 09:39:08 +00:00

59 lines
1.5 KiB
RPMSpec

%{!?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