File python-utidy.spec of Package python-utidy

%define modname uTidylib
Name:           python-utidy
Version:        0.2
Release:        1
Summary:        Python Wrapper for libtidy
URL:            http://utidylib.berlios.de/
License:        MIT
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}.zip
BuildRoot:      %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires:  libtidy-devel python-devel unzip
Requires:       libtidy

%description
A Python wrapper for libtidy.

Authors:
--------
    Cory Dodt <corydodt@twistedmatrix.com>

%prep
%setup -q -n %{modname}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

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

%clean
rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc LICENSE README.path README.txt 

%changelog

* Wed Oct 03 2007 - James Oakley <jfunk@funktronics.ca> - 0.2-1
- Initial release
openSUSE Build Service is sponsored by