]> git.pld-linux.org Git - packages/apr_memcache.git/blame - apr_memcache.spec
- release 3
[packages/apr_memcache.git] / apr_memcache.spec
CommitLineData
2d343229 1Summary: A client for memcached
811abbf4 2Summary(pl.UTF-8): Klient memcached
2d343229
AG
3Name: apr_memcache
4Version: 0.7.0
f3b8050f 5Release: 3
416dce78 6License: Apache v2.0
2d343229
AG
7Group: Libraries
8Source0: http://www.outoforder.cc/downloads/apr_memcache/%{name}-%{version}.tar.bz2
9# Source0-md5: 1d62fea9253d17d304cfe9b26813ef4c
10Patch0: %{name}-libtool.patch
11URL: http://www.outoforder.cc/projects/libs/apr_memcache/
811abbf4
JB
12BuildRequires: apr-devel >= 1:1.2.2
13BuildRequires: apr-util-devel >= 1:1.2.2
94c4e652 14BuildRequires: autoconf >= 2.53
2d343229
AG
15BuildRequires: automake
16BuildRequires: libtool
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20apr_memcache is a client for memcached written in C, using APR and
21APR-Util. It provides pooled client connections and is thread safe,
22making it perfect for use inside Apache Modules.
23
811abbf4
JB
24%description -l pl.UTF-8
25apr_memcache to klient memcached napisany w C, wykorzystujący APR i
26APR-Util. Udostępnia pule połączeń klienckich i może być używany
27wielowątkowo, co czyni go dobrze nadającym się do używania w modułach
28Apache'a.
29
2d343229
AG
30%package devel
31Summary: Development files for apr_memcache
811abbf4 32Summary(pl.UTF-8): Pliki nagłówkowe apr_memcache
2d343229
AG
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
94c4e652
JB
35Requires: apr-devel >= 1:1.2.2
36Requires: apr-util-devel >= 1:1.2.2
2d343229
AG
37
38%description devel
39Header files for apr_memcache.
40
41%description devel -l pl.UTF-8
811abbf4 42Pliki nagłówkowe apr_memcache.
2d343229
AG
43
44%package static
45Summary: Static apr_memcache library
46Summary(pl.UTF-8): Statyczna biblioteka apr_memcache
47Group: Development/Libraries
48Requires: %{name}-devel = %{version}-%{release}
49
50%description static
51Static apr_memcache library.
52
53%description static -l pl.UTF-8
54Statyczna biblioteka apr_memcache.
55
56%prep
57%setup -q
58%patch0 -p1
59
60%build
61%{__libtoolize}
62%{__aclocal} -I m4
63%{__autoheader}
64%{__automake}
65%{__autoconf}
66
67%configure \
68 --with-apr=%{_bindir}/apr-1-config \
69 --with-apr-util=%{_bindir}/apu-1-config
70
71%{__make} \
72 CFLAGS="%{rpmcflags} `apu-1-config --includes` `apr-1-config --includes`"
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
86%files
87%defattr(644,root,root,755)
88%doc LICENSE NOTICE test
94c4e652
JB
89%attr(755,root,root) %{_libdir}/libapr_memcache.so.*.*.*
90%attr(755,root,root) %ghost %{_libdir}/libapr_memcache.so.0
2d343229
AG
91
92%files devel
93%defattr(644,root,root,755)
94c4e652
JB
94%attr(755,root,root) %{_libdir}/libapr_memcache.so
95%{_libdir}/libapr_memcache.la
811abbf4 96%{_includedir}/apr_memcache-0
2d343229
AG
97
98%files static
99%defattr(644,root,root,755)
94c4e652 100%{_libdir}/libapr_memcache.a
This page took 0.089474 seconds and 4 git commands to generate.