1
1
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
2
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
3
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
4
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
4
8
# source name will be changing from python-libdrizzle to python-drizzle in the near future
8
12
Summary: Python wrappers for libdrizzle
10
13
Group: Development/Languages
12
15
URL: https://launchpad.net/drizzle-interface
13
16
Source0: http://launchpad.net/drizzle-interface/trunk/ongoing-development/+download/python-libdrizzle-%{version}.tar.gz
15
17
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
17
Patch0: python-drizzle-0.08.2-module_name.patch
19
BuildRequires: libdrizzle-devel, python-devel
19
# LaunchPad Bug #561003
20
# Bug https://bugs.launchpad.net/drizzle-interface/+bug/561003
21
Patch0: python-drizzle-0.08.2-module_name.patch
23
BuildRequires: libdrizzle-devel, python2-devel
23
Python wrappers for libdrizzle
26
Drizzle is a transactional SQL92 compliant relational database, geared
27
towards a plugin based architecture. This package provides Python wrappers
28
via the libdrizzle client protocol library.
26
31
%setup -q -n python-libdrizzle-%{version}
30
33
%patch0 -p1 -b .module_name
50
52
%defattr(-,root,root,-)
52
54
%{python_sitearch}/drizzle/
53
55
%{python_sitearch}/python_drizzle-%{version}-py%{pyver}.egg-info/
59
* Fri May 07 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.08.2-3
60
- Removed LICENSE file (SOURCE1), submitted tracker upstream to have it
61
added: https://bugs.launchpad.net/drizzle-interface/+bug/577045
62
- Conditionally set python_sitearch only if building on fedora <= 12
63
or rhel <= 5 (newer distros set the macros)
64
- Fixed License to properly reflect the BSD license of the source
65
- Remove --single-version-externally-managed from configure
67
* Sun Apr 11 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.08.2-2
68
- Remove Requires: libdrizzle (auto detected)
57
70
* Fri Apr 02 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.08.2-1