Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37502396
en ru br
ALT Linux repos
5.0: 1.0-alt1.1.1.0.1
4.1: 1.0-alt1.1.1.0.1
4.0: 1.0-alt1.1.0
3.0: 1.0-alt1.1

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin