|
@@ -3,23 +3,26 @@
|
|
Summary: Apache Portable Runtime Utility library
|
|
Summary: Apache Portable Runtime Utility library
|
|
Summary(ja): Apache ポータブルランタイムユーティリティライブラリ
|
|
Summary(ja): Apache ポータブルランタイムユーティリティライブラリ
|
|
Name: apr-util
|
|
Name: apr-util
|
|
-Version: 1.5.4
|
|
+Version: 1.6.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
License: Apache Software License 2.0
|
|
License: Apache Software License 2.0
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://apr.apache.org/
|
|
URL: http://apr.apache.org/
|
|
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Patch1: apr-util-1.2.7-pkgconf.patch
|
|
Patch1: apr-util-1.2.7-pkgconf.patch
|
|
-Patch2: apr-util-1.3.7-nodbmdso.patch
|
|
|
|
Patch4: apr-util-1.4.1-private.patch
|
|
Patch4: apr-util-1.4.1-private.patch
|
|
|
|
+Patch5: apr-util-mariadb-upstream.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: autoconf, doxygen, apr-devel >= 1.2.0
|
|
BuildRequires: autoconf, doxygen, apr-devel >= 1.2.0
|
|
BuildRequires: libdb-devel, expat-devel, libuuid-devel
|
|
BuildRequires: libdb-devel, expat-devel, libuuid-devel
|
|
BuildRequires: libpq-devel
|
|
BuildRequires: libpq-devel
|
|
-BuildRequires: libmysqlclient-devel
|
|
+BuildRequires: libmariadb-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: unixODBC-devel
|
|
BuildRequires: unixODBC-devel
|
|
@@ -105,16 +108,16 @@ This package provides the LDAP support for the apr-util.
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch1 -p1 -b .pkgconf
|
|
%patch1 -p1 -b .pkgconf
|
|
-%patch2 -p1 -b .nodbmdso
|
|
|
|
%patch4 -p1 -b .private
|
|
%patch4 -p1 -b .private
|
|
|
|
+%patch5 -p1 -b .mariadb
|
|
|
|
|
|
%build
|
|
%build
|
|
autoheader && autoconf
|
|
autoheader && autoconf
|
|
%configure --with-apr=%{_prefix} \
|
|
%configure --with-apr=%{_prefix} \
|
|
--includedir=%{_includedir}/apr-%{apuver} \
|
|
--includedir=%{_includedir}/apr-%{apuver} \
|
|
- --with-ldap --without-gdbm \
|
|
+ --with-ldap=ldap_r --without-gdbm \
|
|
--with-sqlite3 --with-pgsql --with-mysql --with-odbc \
|
|
--with-sqlite3 --with-pgsql --with-mysql --with-odbc \
|
|
- --with-berkeley-db \
|
|
+ --with-dbm=db5 --with-berkeley-db \
|
|
--without-sqlite2
|
|
--without-sqlite2
|
|
# --disable-util-dso
|
|
# --disable-util-dso
|
|
make %{?_smp_mflags} && make dox
|
|
make %{?_smp_mflags} && make dox
|
|
@@ -173,6 +176,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
%doc CHANGES LICENSE NOTICE
|
|
%doc CHANGES LICENSE NOTICE
|
|
%{_libdir}/libaprutil-%{apuver}.so.*
|
|
%{_libdir}/libaprutil-%{apuver}.so.*
|
|
%dir %{_libdir}/apr-util-%{apuver}
|
|
%dir %{_libdir}/apr-util-%{apuver}
|
|
|
|
+%{_libdir}/apr-util-%{apuver}/apr_dbm_db*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -208,6 +212,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/apr-util-%{apuver}/apr_ldap*
|
|
%{_libdir}/apr-util-%{apuver}/apr_ldap*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Nov 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.1-1
|
|
|
|
+- updated to 1.6.1.
|
|
|
|
+- dropped Patch2.
|
|
|
|
+- imported Patch5 from rawhide to build with libmariadb.
|
|
|
|
+- made BerkeleyDB to be dynamically linked.
|
|
|
|
+
|
|
* Mon May 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
|
|
* Mon May 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
|
|
- updated to 1.5.4.
|
|
- updated to 1.5.4.
|
|
|
|
|