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.1
%setup_python_module pysqlite
Name: %packagename
Version: %version
Release: %release.1.0.1
Summary: Python interface to SQLite
License: LICENSE
Group: Development/Python
Url: http://pysqlite.org
Packager: Konstantin Klimchev <koka at altlinux.ru>
Source: %modulename-%version.tar.gz
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 -n %modulename
%build
env CFLAGS="%optflags" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
chmod -x doc/rest/manual.txt
%clean
%files -f INSTALLED_FILES
%doc README LICENSE doc/rest/manual.txt
%doc test examples misc
%changelog
…
Full changelog you can see here
%define release alt1.1
%setup_python_module pysqlite
Name: %packagename
Version: %version
Release: %release.1.0.1
Summary: Python interface to SQLite
License: LICENSE
Group: Development/Python
Url: http://pysqlite.org
Packager: Konstantin Klimchev <koka at altlinux.ru>
Source: %modulename-%version.tar.gz
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 -n %modulename
%build
env CFLAGS="%optflags" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
chmod -x doc/rest/manual.txt
%clean
%files -f INSTALLED_FILES
%doc README LICENSE doc/rest/manual.txt
%doc test examples misc
%changelog
…
Full changelog you can see here