3 %bcond_without tests # don't perform "make check"
5 Summary: A high-performance asynchronous HTTP client library
6 Summary(pl.UTF-8): Wysokowydajna biblioteka asynchronicznego klienta HTTP
12 Source0: http://serf.googlecode.com/files/%{name}-%{version}.tar.bz2
13 # Source0-md5: d5c7f41d1c9f1589b98affc1fa029982
14 URL: http://code.google.com/p/serf/
15 BuildRequires: apr-devel
16 BuildRequires: apr-util-devel
17 BuildRequires: openssl-devel >= 0.9.7d
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The serf library is a C-based HTTP client library built upon the
22 Apache Portable Runtime (APR) library. It multiplexes connections,
23 running the read/write communication asynchronously. Memory copies and
24 transformations are kept to a minimum to provide high performance
27 %description -l pl.UTF-8
28 Biblioteka serf to napisana w C biblioteka klienta HTTP stworzona w
29 oparciu o bibliotekę Apache Portable Runtime (APR). Obsługuje
30 połączenia naprzemiennie, wywołując asynchronicznie komunikację
31 odczyt-zapis. Kopiowanie i transformacje w pamięci są ograniczone do
32 minimum w celu zapewnienia wydajnego działania.
35 Summary: Header files for serf
36 Summary(pl.UTF-8): Pliki nagłówkowe serf
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
42 C header files for the serf library.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe dla biblioteki serf.
48 Summary: Static libraries for serf
49 Summary(pl.UTF-8): Biblioteki statyczne serf
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 Static serf libraries.
56 %description static -l pl.UTF-8
57 Statyczne biblioteki serf.
64 --with-apr=%{_prefix} \
65 --with-apr-util=%{_prefix} \
66 --with-openssl=%{_prefix}
69 %{?with_tests:%{__make} check}
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %defattr(644,root,root,755)
85 %doc CHANGES NOTICE README
86 %attr(755,root,root) %{_libdir}/libserf-*.so.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libserf-*.so.[0-9]
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libserf-*.so
92 %{_libdir}/libserf-*.la
93 %{_includedir}/serf*.h
96 %defattr(644,root,root,755)
97 %{_libdir}/libserf-*.a