1 Summary: A client for memcached
5 License: Apache License
7 Source0: http://www.outoforder.cc/downloads/apr_memcache/%{name}-%{version}.tar.bz2
8 # Source0-md5: 1d62fea9253d17d304cfe9b26813ef4c
9 Patch0: %{name}-libtool.patch
10 URL: http://www.outoforder.cc/projects/libs/apr_memcache/
11 BuildRequires: apr-devel >= 1.2.2
12 BuildRequires: apr-util-devel >= 1.2.2
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 apr_memcache is a client for memcached written in C, using APR and
20 APR-Util. It provides pooled client connections and is thread safe,
21 making it perfect for use inside Apache Modules.
24 Summary: Development files for apr_memcache
25 Summary(pl.UTF-8): Pliki nagłowkowe apr_memcache
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
30 Header files for apr_memcache.
32 %description devel -l pl.UTF-8
33 Pliki nagłowkowe apr_memcache.
36 Summary: Static apr_memcache library
37 Summary(pl.UTF-8): Statyczna biblioteka apr_memcache
38 Group: Development/Libraries
39 Requires: %{name}-devel = %{version}-%{release}
42 Static apr_memcache library.
44 %description static -l pl.UTF-8
45 Statyczna biblioteka apr_memcache.
59 --with-apr=%{_bindir}/apr-1-config \
60 --with-apr-util=%{_bindir}/apu-1-config
63 CFLAGS="%{rpmcflags} `apu-1-config --includes` `apr-1-config --includes`"
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
78 %defattr(644,root,root,755)
79 %doc LICENSE NOTICE test
80 %attr(755,root,root) %{_libdir}/lib*.so.*
83 %defattr(644,root,root,755)
84 %{_includedir}/apr_memcache-0/
85 %attr(755,root,root) %{_libdir}/lib*.so
89 %defattr(644,root,root,755)