SPECS: python-apsw.spec (NEW) - new sqlite3 wrapper

arekm arekm at pld-linux.org
Sun Aug 14 21:33:58 CEST 2005


Author: arekm                        Date: Sun Aug 14 19:33:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new sqlite3 wrapper

---- Files affected:
SPECS:
   python-apsw.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-apsw.spec
diff -u /dev/null SPECS/python-apsw.spec:1.1
--- /dev/null	Sun Aug 14 21:33:58 2005
+++ SPECS/python-apsw.spec	Sun Aug 14 21:33:53 2005
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+
+%define		module	apsw
+
+Summary:	Another Python SQLite Wrapper
+Name:		python-%{module}
+Version:	3.2.2
+Release:	1
+License:	Free
+Group:		Development/Languages/Python
+Source0:	http://dl.sourceforge.net/bitpim/%{module}-%{version}-r1.zip
+# Source0-md5:	f18221ecb428036a33efb2ac0294f85e
+URL:		http://www.rogerbinns.com/apsw.html
+%pyrequires_eq	python-modules
+BuildRequires:	python-devel >= 1:2.3
+BuildRequires:	sqlite3-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+APSW provides an SQLite 3 wrapper that provides the thinnest layer
+over SQLite 3 possible. Everything you can do from the C API to SQLite
+3, you can do from Python. Although APSW looks vaguely similar to the
+DBAPI, it is not compliant with that API and instead works the way
+SQLite 3 does.
+
+%prep
+%setup -q -n %{module}-%{version}-r1
+
+%build
+CFLAGS="%{rpmcflags}"
+export CFLAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.html
+%attr(755,root,root) %{py_sitedir}/%{module}.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/14 19:33:53  arekm
+- new sqlite3 wrapper
+
================================================================



More information about the pld-cvs-commit mailing list