File python-Myghty.spec of Package python-Myghty

%define real_name Myghty
Name:           python-%{real_name}
Group:          Development/Libraries/Python
Version:        1.1
Release:        0
License:        MIT
Summary:        View/Controller Framework and Templating Engine
Autoreqprov:    on
Source:         %{real_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-setuptools
Requires:       python-Routes >= 1.0
Requires:       python-Paste
Requires:       python-PasteDeploy
Requires:       python-PasteScript
%define py_vers %(%{__python} -c 'import sys; print int(10*float(sys.version[:3]))')
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}

A Python-based template and view-controller framework derived from HTML::Mason. Supports the full featureset of Mason, allowing component-based web development with Python-embedded HTML, and includes many new concepts and features not found in Mason.

%setup -n %{real_name}-%{version}

python build

python install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES


%doc CHANGES doc examples LICENSE README


* Sun Nov 22 2009 - Ciaran Farrell <> - 1.1
- Initial build for tg21