]> git.pld-linux.org Git - packages/apr.git/blobdiff - apr.spec
- rel 4
[packages/apr.git] / apr.spec
index 0d6ab0404c8848bdd79406260a56a681cbe23278..73e3f9e26086df10a03eaa74600d991e69eb6137 100644 (file)
--- a/apr.spec
+++ b/apr.spec
@@ -1,19 +1,22 @@
 Summary:       Apache Portable Runtime
 Summary(pl):   Apache Portable Runtime - przeno¶na biblioteka uruchomieniowa
 Name:          apr
-Version:       1.0.0
-Release:       1
+Version:       1.1.1
+Release:       4
 Epoch:         1
 License:       Apache v2.0
 Group:         Libraries
 Source0:       http://www.apache.org/dist/apr/%{name}-%{version}.tar.gz
-# Source0-md5: ccd5c21292581be4ba9db10ad5cc8ced
+# Source0-md5: e153fda2df2338250548448c7a6e3d59
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-metuxmpm.patch
+# EPOLL PATCH: TO BE DROPPED AFTER AC
+Patch2:                %{name}-no-epoll.patch
 URL:           http://apr.apache.org/
 BuildRequires: autoconf >= 2.13
 BuildRequires: automake
 BuildRequires: libtool >= 1.3.3
+BuildRequires: libuuid-devel
 BuildRequires: perl-base
 BuildRequires: python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,6 +50,7 @@ Summary:      Header files and development documentation for apr
 Summary(pl):   Pliki nag³ówkowe i dokumentacja programisty do apr
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      libuuid-devel
 
 %description devel
 Header files and development documentation for apr.
@@ -70,11 +74,22 @@ Statyczna biblioteka apr.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 install /usr/share/automake/config.* build
 ./buildconf
+# 2.4/2.6 kernels on sparc32 do not support sendfile64
 %configure \
+%ifarch sparc
+       ac_cv_func_sendfile64=no \
+%endif
+       --with-devrandom=/dev/urandom \
+%ifarch %{ix86}
+%ifnarch i386
+       --enable-nonportable-atomics \
+%endif
+%endif
        --enable-threads
 %{__make}
 
This page took 0.077494 seconds and 4 git commands to generate.