2 Summary: Simple Python Cassandra library
3 Summary(pl.UTF-8): Prosta biblioteka Pythona do Cassandry
8 Group: Development/Languages/Python
9 # https://github.com/downloads/pycassa/pycassa/pycassa-1.0.1.tar.gz
10 # https://github.com/%{module}/%{module}/archive/v%{version}.tar.gz
11 Source0: https://github.com/%{module}/%{module}/archive/v%{version}.tar.gz
12 # Source0-md5: b87e4effd85384fde09f016b0b084039
13 URL: https://github.com/pycassa/pycassa
14 BuildRequires: python-devel
15 BuildRequires: python-setuptools >= 1:0.6-2.c11
16 BuildRequires: rpm-pythonprov
17 BuildRequires: rpmbuild(macros) >= 1.714
18 Requires: python-modules
19 Requires: python-thrift
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Cassandra library with the following features: auto-failover single or
25 thread-local connections, a simplified version of the thrift
26 interface, a method to map an existing class to a Cassandra
27 ColumnFamily. Supports SuperColumns.
29 %description -l pl.UTF-8
30 Biblioteka dostępu do Cassandry dla Pythona posiadająca: Jednowątkowy
31 lub wielowątkowy interfejs, uproszczona wersję interfejsu thrift,
32 metody do mapowania klas w ColumnFamily Cassandry. Wspiera obsługę
37 %setup -q -n %{module}-%{version}
43 rm -rf $RPM_BUILD_ROOT
46 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
47 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/pycassaShell
57 %{py_sitescriptdir}/ez_setup.py[co]
59 %dir %{py_sitescriptdir}/%{module}
60 %{py_sitescriptdir}/%{module}/*.py[co]
61 %dir %{py_sitescriptdir}/%{module}/cassandra
62 %{py_sitescriptdir}/%{module}/cassandra/*.py[co]
63 %dir %{py_sitescriptdir}/%{module}/logging
64 %{py_sitescriptdir}/%{module}/logging/*.py[co]
65 %dir %{py_sitescriptdir}/%{module}/contrib
66 %{py_sitescriptdir}/%{module}/contrib/*.py[co]
69 %if "%{py_ver}" > "2.4"
70 %{py_sitescriptdir}/%{module}-*.egg-info