Browse files

Initial RPM spec.

  • Loading branch information...
ralphbean committed Apr 4, 2012
1 parent 9941f22 commit 12cec0ed8f656b3da5167953cffe4fffe2191596
Showing with 58 additions and 0 deletions.
  1. +58 −0 python-tw2.spec
@@ -0,0 +1,58 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%global prerel b6
%global modname tw2.core
Name: python-tw2
Version: 2.0
Release: 0.1.%{prerel}%{?dist}
Summary: Web widget creation toolkit based on TurboGears widgets
Group: Development/Languages
License: MIT
Patch0: tw2-test_genshi_abs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
Requires: python-webob >= 0.9.7
Requires: python-simplejson >= 2.0
Requires: python-decorator
ToscaWidgets is a web widget toolkit for Python to aid in the creation,
packaging and distribution of common view elements normally used in the web.
The tw2.core package is lightweight and intended for run-time use only;
development tools are in tw2.devtools.
%setup -q -n %{modname}-%{version}%{prerel}
%{__python} build
rm -rf %{buildroot}
%{__python} install -O1 --skip-build \
--install-data=%{_datadir} --root %{buildroot}
PYTHONPATH=$(pwd) python test
rm -rf %{buildroot}
* Thu Jun 16 2011 Luke Macken <> - 2.0-0.1.b4
- Initial package

0 comments on commit 12cec0e

Please sign in to comment.