2 Summary: A high level C++ client for Cassandra
3 Summary(pl.UTF-8): Klient Cassandry wyższego poziomu w C++
9 # https://download.github.com/matkor-libcassandra-0.2.91-0-g98ab52b.tar.gz
10 Source0: https://download.github.com/matkor-libcassandra-%{version}-0-g98ab52b.tar.gz
11 # Source0-md5: 8563f97a35ca4b465250e1e26873016e
12 # Patch0: %{name}-link_fix.patch
13 Patch1: %{name}-ac.patch
14 URL: https://github.com/posulliv/libcassandra
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: boost-devel
18 BuildRequires: libtool
19 BuildRequires: rpmbuild(macros) >= 1.583
20 BuildRequires: thrift-devel >= 0.9.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 A C++ wrapper library for the interface to cassandra generated by
25 thrift. This library is based on the Java client hector.
27 %description -l pl.UTF-8
28 Biblioteak C++ wokół interfejsu do Cassandry wygnerwoanej przez
29 thrift. Oparta na Javowym kliencie Hector.
33 Summary: Header files for libcassandra library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libcassandra
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: thrift-devel
40 Header files for libcassandra library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki libcassandra.
47 %setup -q -n matkor-libcassandra-98ab52b
51 %{__sed} -i -e 's|-Werror||g' m4/pandora_canonical.m4 m4/pandora_warnings.m4
52 %{__sed} -i -e 's|-O3||g' m4/pandora_optimize.m4
61 acl_libdirstem=%{_lib} \
62 CXXFLAGS="%{rpmcxxflags} -Wno-variadic-macros -Wno-deprecated"
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog README TODO
81 %attr(755,root,root) %{_libdir}/libcassandra.so.*.*.*
82 %attr(755,root,root) %ghost %{_libdir}/libcassandra.so.3
83 %attr(755,root,root) %{_libdir}/libgenthrift.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/libgenthrift.so.3
87 %defattr(644,root,root,755)
88 %{_libdir}/libcassandra.so
89 %{_libdir}/libcassandra.la
90 %{_libdir}/libgenthrift.so
91 %{_libdir}/libgenthrift.la
92 %{_includedir}/libcassandra
93 %{_includedir}/libgenthrift