]> git.pld-linux.org Git - packages/python-pycassa.git/blame - python-pycassa.spec
killed typo(?)
[packages/python-pycassa.git] / python-pycassa.spec
CommitLineData
dd8decf0
MK
1%define module pycassa
2Summary: Simple Python Cassandra library
425bd0ac 3Summary(pl.UTF-8): Prosta biblioteka Pythona do Cassandry
dd8decf0 4Name: python-%{module}
12d21425 5Version: 1.11.1
5b50d5e9 6Release: 3
425bd0ac 7License: MIT/apache
dd8decf0 8Group: Development/Languages/Python
8a105ed8 9# https://github.com/downloads/pycassa/pycassa/pycassa-1.0.1.tar.gz
12d21425
MK
10# https://github.com/%{module}/%{module}/archive/v%{version}.tar.gz
11Source0: https://github.com/%{module}/%{module}/archive/v%{version}.tar.gz
12# Source0-md5: b87e4effd85384fde09f016b0b084039
8a105ed8 13URL: https://github.com/pycassa/pycassa
dd8decf0 14BuildRequires: python-devel
12d21425 15BuildRequires: python-setuptools >= 0.6-2.c11
dd8decf0 16BuildRequires: rpm-pythonprov
495cacd0 17BuildRequires: rpmbuild(macros) >= 1.710
425bd0ac 18Requires: python-modules
d0f105a0 19Requires: python-thrift
dd8decf0
MK
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
027ada63 24Cassandra library with the following features: auto-failover single or
12d21425
MK
25thread-local connections, a simplified version of the thrift
26interface, a method to map an existing class to a Cassandra
27ColumnFamily. Supports SuperColumns.
dd8decf0
MK
28
29%description -l pl.UTF-8
027ada63
MK
30Biblioteka dostępu do Cassandry dla Pythona posiadająca: Jednowątkowy
31lub wielowątkowy interfejs, uproszczona wersję interfejsu thrift,
32metody do mapowania klas w ColumnFamily Cassandry. Wspiera obsługę
33superkolumn.
34
dd8decf0
MK
35
36%prep
37%setup -q -n %{module}-%{version}
38
39%build
2ab5479f 40%py_build
dd8decf0
MK
41
42%install
43rm -rf $RPM_BUILD_ROOT
12d21425 44%py_install
dd8decf0 45
425bd0ac
MK
46%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
47%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
dd8decf0
MK
48%py_postclean
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
8a105ed8
MK
55%attr(755,root,root) %{_bindir}/pycassaShell
56
57%{py_sitescriptdir}/ez_setup.py[co]
58
d0f105a0
ER
59%dir %{py_sitescriptdir}/%{module}
60%{py_sitescriptdir}/%{module}/*.py[co]
8a105ed8
MK
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]
12d21425
MK
65%dir %{py_sitescriptdir}/%{module}/contrib
66%{py_sitescriptdir}/%{module}/contrib/*.py[co]
67
8a105ed8 68
dd8decf0 69%if "%{py_ver}" > "2.4"
425bd0ac 70%{py_sitescriptdir}/%{module}-*.egg-info
dd8decf0 71%endif
This page took 0.050405 seconds and 4 git commands to generate.