Group :: Development/Python
RPM: python-module-pysqlite
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 1.0
%define release alt1
%setup_python_module pysqlite
Summary: Python interface to SQLite
Name: %packagename
Version: %version
Release: %release.1.0
Url: http://pysqlite.sourceforce.net
Source0: %modulename-%version.tar.gz
Copyright: LICENSE
Group: Development/Python
Requires: sqlite
BuildRequires: sqlite-devel
Obsoletes: python-sqlite
%description
Pysqlite is an interface to the SQLite database server for Python.
It aims to be fully compliant with Python database API version 2.0
while also exploiting the unique features of SQLite.
%prep
%setup -q -n %modulename
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
%__chmod -x doc/rest/* README LICENSE
%clean
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README LICENSE doc/rest/*
%doc test examples misc
%changelog
…
Full changelog you can see here
%define release alt1
%setup_python_module pysqlite
Summary: Python interface to SQLite
Name: %packagename
Version: %version
Release: %release.1.0
Url: http://pysqlite.sourceforce.net
Source0: %modulename-%version.tar.gz
Copyright: LICENSE
Group: Development/Python
Requires: sqlite
BuildRequires: sqlite-devel
Obsoletes: python-sqlite
%description
Pysqlite is an interface to the SQLite database server for Python.
It aims to be fully compliant with Python database API version 2.0
while also exploiting the unique features of SQLite.
%prep
%setup -q -n %modulename
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
%__chmod -x doc/rest/* README LICENSE
%clean
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README LICENSE doc/rest/*
%doc test examples misc
%changelog
…
Full changelog you can see here