python-html5lib/python-html5lib.spec

44 lines
1.0 KiB
RPMSpec
Raw Normal View History

2011-07-18 16:59:43 +00:00
%global modulename html5lib
Name: python-%{modulename}
Summary: A python based HTML parser/tokenizer
Version: 0.90
Release: 2%{?dist}
2011-07-18 16:59:43 +00:00
Group: Development/Libraries
License: MIT
URL: http://code.google.com/p/%{modulename}/
Source0: http://html5lib.googlecode.com/files/%{modulename}-%{version}.zip
BuildArch: noarch
BuildRequires: python-setuptools
%description
A python based HTML parser/tokenizer based on the WHATWG HTML5
specification for maximum compatibility with major desktop web browsers.
%prep
%setup -q -n %{modulename}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%check
%{__python} setup.py test
%files
%doc examples README
%{python_sitelib}/%{modulename}-*.egg-info
%{python_sitelib}/%{modulename}
%changelog
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-07-18 16:59:43 +00:00
* Mon Jul 18 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 0.90-1
- Initial spec