###############################################################################
name = apr-util
-version = 1.4.1
-release = 2
+version = 1.6.1
+release = 2.1
groups = System/Libraries
-url = http://apr.apache.org/
+url = https://apr.apache.org/
license = ASL 2.0
-summary = Apache Portable Runtime library.
+summary = Apache Portable Runtime library
description
The mission of the Apache Portable Runtime (APR) is to provide a
portability layer to as many operating systems as possible.
end
-source_dl = http://www.apache.org/dist/apr/
+source_dl = https://archive.apache.org/dist/apr/
build
requires
+ apr-devel
autoconf
- db4-devel
+ libdb-devel
expat-devel
- libapr-devel
libuuid-devel
- nss-devel
openssl-devel
end
--with-apr=/usr \
--with-berkeley-db \
--with-crypto \
- --with-openssl \
- --with-nss
+ --with-openssl
install_cmds
# Remove unneeded file.
packages
package %{name}
- package %{name}-nss
- summary = APR utility library NSS crytpo support.
- description = %{summary}
-
- requires = apr-util=%{thisver}
-
- files = /usr/lib/apr-util*/apr_crypto_nss*
- end
-
- package %{name}-openssl
- summary = APR utility library OpenSSL crytpo support.
- description = %{summary}
-
- requires = apr-util=%{thisver}
-
- files = /usr/lib/apr-util*/apr_crypto_openssl*
- end
-
package %{name}-devel
template DEVEL
end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end