1 Summary: A client for memcached
2 Summary(pl.UTF-8): Klient memcached
8 Source0: http://www.outoforder.cc/downloads/apr_memcache/%{name}-%{version}.tar.bz2
9 # Source0-md5: 1d62fea9253d17d304cfe9b26813ef4c
10 Patch0: %{name}-libtool.patch
11 URL: http://www.outoforder.cc/projects/libs/apr_memcache/
12 BuildRequires: apr-devel >= 1:1.2.2
13 BuildRequires: apr-util-devel >= 1:1.2.2
14 BuildRequires: autoconf >= 2.53
15 BuildRequires: automake
16 BuildRequires: libtool
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 apr_memcache is a client for memcached written in C, using APR and
21 APR-Util. It provides pooled client connections and is thread safe,
22 making it perfect for use inside Apache Modules.
24 %description -l pl.UTF-8
25 apr_memcache to klient memcached napisany w C, wykorzystujący APR i
26 APR-Util. Udostępnia pule połączeń klienckich i może być używany
27 wielowątkowo, co czyni go dobrze nadającym się do używania w modułach
31 Summary: Development files for apr_memcache
32 Summary(pl.UTF-8): Pliki nagłówkowe apr_memcache
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: apr-devel >= 1:1.2.2
36 Requires: apr-util-devel >= 1:1.2.2
39 Header files for apr_memcache.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe apr_memcache.
45 Summary: Static apr_memcache library
46 Summary(pl.UTF-8): Statyczna biblioteka apr_memcache
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
51 Static apr_memcache library.
53 %description static -l pl.UTF-8
54 Statyczna biblioteka apr_memcache.
68 --with-apr=%{_bindir}/apr-1-config \
69 --with-apr-util=%{_bindir}/apu-1-config
72 CFLAGS="%{rpmcflags} `apu-1-config --includes` `apr-1-config --includes`"
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 %doc LICENSE NOTICE test
89 %attr(755,root,root) %{_libdir}/libapr_memcache.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libapr_memcache.so.0
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libapr_memcache.so
95 %{_libdir}/libapr_memcache.la
96 %{_includedir}/apr_memcache-0
99 %defattr(644,root,root,755)
100 %{_libdir}/libapr_memcache.a