Changes of Revision 4
[-] | Added | python-sqlite.spec |
x 1
2 +# 3 +# spec file for package python-sqlite (Version 1.1.8) 4 +# 5 +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. 6 +# This file and all modifications and additions to the pristine 7 +# package are under the same license as the package itself. 8 +# 9 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ 10 +# 11 + 12 +# norootforbuild 13 + 14 +Name: python-sqlite 15 +%if %{suse_version} > 901 16 +BuildRequires: python-devel sqlite-devel 17 +%else 18 +BuildRequires: python-devel sqlite3-devel 19 +%endif 20 +Version: 1.1.8 21 +Release: 1 22 +Summary: Python bindings for sqlite 23 +Group: Development/Libraries/Python 24 +License: zlib/libpng License 25 +URL: http://pysqlite.org/ 26 +Source: pysqlite-%{version}.tar.bz2 27 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 28 + 29 +%py_requires 30 + 31 +%description 32 +This packages allows you to use sqlite with python. sqlite is a simple 33 +database engine. 34 + 35 + 36 + 37 +Authors: 38 +-------- 39 + Michael Owens <mike@mikesclutter.com> 40 + Gerhard Häring <gh@ghaering.de> 41 + 42 +%prep 43 +%setup -q -n pysqlite-%{version} 44 + 45 +%build 46 +export CFLAGS="$RPM_OPT_FLAGS" 47 +%if %{sles_version} == 9 48 +export PKG_CONFIG_PATH="/opt/gnome/lib/pkgconfig" 49 +%endif 50 + 51 +python setup.py build 52 + 53 +%install 54 +python setup.py install --prefix=%{_prefix} --root $RPM_BUILD_ROOT 55 + 56 +%clean 57 +rm -rf $RPM_BUILD_ROOT 58 + 59 +%files 60 +%defattr(-,root,root,-) 61 +%{py_sitedir}/sqlite 62 +%{py_sitedir}/_sqlite.so 63 +%if %{suse_version} > 1010 64 +%{py_sitedir}/*.egg-info 65 +%endif 66 + 67 +%changelog -n python-sqlite 68 +* Sat Oct 21 2006 - cthiel@suse.de 69 +- update to version 1.1.8 70 + * fixed a memory leak 71 +* Mon Oct 02 2006 - cthiel@suse.de 72 +- fix build on older distributions 73 +* Thu Sep 21 2006 - cthiel@suse.de 74 +- fix build with python 2.5 75 +* Mon Apr 24 2006 - cthiel@suse.de 76 +- update to version 1.1.7 77 + * Fixed an API misuse that made pysqlite 1.1.x unusable with SQLite 78 + versions 3.3.3 or later. 79 +* Tue Feb 28 2006 - jmatejek@suse.cz 80 +- updated to reflect python changes due to #149809 81 +* Wed Jan 25 2006 - mls@suse.de 82 +- converted neededforbuild to BuildRequires 83 +* Wed Nov 02 2005 - dmueller@suse.de 84 +- don't build as root 85 +* Thu Sep 15 2005 - cthiel@suse.de 86 +- specfile cleanup 87 +* Sun Aug 14 2005 - cthiel@suse.de 88 +- initial package (version 1.1.6) 89 |