License: Zlib
Group: Platform Development/Python
Source: http://pysqlite.googlecode.com/files/pysqlite-%{version}.tar.gz
+Source1001: python-sqlite.manifest
BuildRequires: python-devel
BuildRequires: sqlite3-devel
Requires: sqlite3
%prep
%setup -q -n pysqlite-%{version}
+cp %{SOURCE1001} .
%build
CFLAGS="%{optflags}" python setup.py build
rm -rf %{buildroot}%{_prefix}/pysqlite2-doc # Remove wrongly installed junk
%files
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%license LICENSE
%{python_sitearch}/*