File python-myghty.spec of Package python-myghty
%define modname Myghty
Name: python-myghty
Version: 1.1
Release: 1
Summary: View/Controller Framework and Templating Engine
URL: http://www.myghty.org/
License: MIT
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires: python-devel python-setuptools
Requires: python-setuptools
%description
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.
Authors:
--------
Mike Bayer <mike@myghty.org>
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc examples CHANGES LICENSE README
%changelog
* Mon Dec 15 2008 - James Oakley <jfunk@funktronics.ca> - 1.1-1
- Initial release