]> git.pld-linux.org Git - packages/serf.git/commitdiff
- initial pld release auto/th/serf-0_2_0-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 8 Aug 2008 20:17:53 +0000 (20:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    serf.spec -> 1.1

serf.spec [new file with mode: 0644]

diff --git a/serf.spec b/serf.spec
new file mode 100644 (file)
index 0000000..e531efa
--- /dev/null
+++ b/serf.spec
@@ -0,0 +1,87 @@
+%bcond_without tests
+#
+Summary:       A high-performance asynchronous HTTP client library
+Name:          serf
+Version:       0.2.0
+Release:       1
+License:       Apache
+Group:         Libraries
+Source0:       http://serf.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5: cda4d1f871fbbad1b32ed8fd6a8149cc
+URL:           http://code.google.com/p/serf/
+BuildRequires: apr-devel
+BuildRequires: apr-util-devel
+BuildRequires: openssl-devel >= 0.9.7d
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The serf library is a C-based HTTP client library built upon the
+Apache Portable Runtime (APR) library. It multiplexes connections,
+running the read/write communication asynchronously. Memory copies and
+transformations are kept to a minimum to provide high performance
+operation.
+
+%package devel
+Summary:       Header files for serf
+Summary(pl.UTF-8):     Pliki nagłówkowe serf
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      apr-devel
+
+%description devel
+C header files for the serf library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla biblioteki serf.
+
+%package static
+Summary:       Static libraries for serf
+Summary(pl.UTF-8):     Biblioteki statyczne serf
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static serf libraries.
+
+%description static -l pl.UTF-8
+Statyczne biblioteki serf.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       --with-apr=%{_prefix} \
+       --with-apr-util=%{_prefix} \
+       --with-openssl=%{_prefix}
+%{__make}
+
+%{?with_tests:%{__make} check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES NOTICE README
+%attr(755,root,root) %{_libdir}/libserf-*.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libserf-*.so.[0-9]
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libserf-*.so
+%{_libdir}/libserf-*.la
+%{_includedir}/serf*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libserf-*.a
This page took 0.127788 seconds and 4 git commands to generate.