2024-01-06 03:47:34 +01:00
|
|
|
%define aprutilver %version
|
|
|
|
%define aprutilmajver %(echo %aprutilver | cut -d. -f 1)
|
|
|
|
|
|
|
|
Name: libaprutil
|
2024-01-06 03:47:34 +01:00
|
|
|
Version: 1.6.1
|
2024-01-06 03:47:34 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 03:47:34 +01:00
|
|
|
Epoch: 1
|
|
|
|
Summary: The Apache Portable Runtime (APR)
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://apr.apache.org/
|
2024-01-06 03:47:34 +01:00
|
|
|
Source: http://mirror.nohup.it/apache/apr/apr-util-%{version}.tar.bz2
|
2024-01-06 03:47:34 +01:00
|
|
|
Source2: http://apache.webthing.com/svn/apache/apr/apr_dbd_mysql.c
|
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libapr-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libdb53-devel
|
|
|
|
BuildRequires: libe2fs-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libgdbm-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libkrb5-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libltdl-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libmariadb-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libodbc-devel
|
|
|
|
BuildRequires: libopenldap-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libpostgresql-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRequires: libsasl2-devel
|
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 03:47:34 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Provides: libaprutil1
|
|
|
|
Obsoletes: libaprutil1
|
2024-01-06 03:47:34 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2024-01-06 03:47:34 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.
|
|
|
|
The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: libaprutil1-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Obsoletes: libaprutil1-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.
|
|
|
|
The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features.
|
2024-01-06 03:47:34 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 03:47:34 +01:00
|
|
|
|
2024-01-06 03:47:34 +01:00
|
|
|
%debug_package
|
2024-01-06 03:47:34 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n apr-util-%{version}
|
|
|
|
# see file INSTALL.MySQL
|
|
|
|
install -m 0644 %{SOURCE2} dbd/
|
|
|
|
|
|
|
|
%build
|
|
|
|
#./buildconf --with-apr=..
|
|
|
|
./configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--with-apr=%{_prefix} \
|
|
|
|
--with-ldap \
|
2024-01-06 03:47:34 +01:00
|
|
|
--with-dbm=db53 \
|
2024-01-06 03:47:34 +01:00
|
|
|
--with-berkeley-db=%{_includedir} \
|
|
|
|
--with-gdbm \
|
|
|
|
--with-mysql=%{_prefix} \
|
|
|
|
--with-pgsql \
|
|
|
|
--with-sqlite3 \
|
2024-01-06 03:47:34 +01:00
|
|
|
--with-expat=%{_prefix} \
|
|
|
|
--without-sqlite2
|
2024-01-06 03:47:34 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
# unpackaged files
|
|
|
|
rm -f %{buildroot}%{_libdir}/aprutil.exp
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/apu-%{aprutilmajver}-config
|
|
|
|
%{_libdir}/libaprutil-%{aprutilmajver}.so.*
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_mysql-1.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_mysql.a
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_mysql.la
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_mysql.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_odbc-1.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_odbc.a
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_odbc.la
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_odbc.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_pgsql-1.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_pgsql.a
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_pgsql.la
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_pgsql.so
|
2024-01-06 03:47:34 +01:00
|
|
|
#%if "%{stage1}" != "1"
|
|
|
|
#%{_libdir}/apr-util-1/apr_dbd_sqlite2-1.so
|
|
|
|
#%{_libdir}/apr-util-1/apr_dbd_sqlite2.a
|
|
|
|
#%{_libdir}/apr-util-1/apr_dbd_sqlite2.la
|
|
|
|
#%{_libdir}/apr-util-1/apr_dbd_sqlite2.so
|
|
|
|
#%endif
|
2024-01-06 03:47:34 +01:00
|
|
|
%{_libdir}/apr-util-1/apr_dbd_sqlite3-1.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_sqlite3.a
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_sqlite3.la
|
|
|
|
%{_libdir}/apr-util-1/apr_dbd_sqlite3.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbm_db-1.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbm_db.a
|
|
|
|
%{_libdir}/apr-util-1/apr_dbm_db.la
|
|
|
|
%{_libdir}/apr-util-1/apr_dbm_db.so
|
2024-01-06 03:47:34 +01:00
|
|
|
#%{_libdir}/apr-util-1/apr_dbd_freetds-1.so
|
|
|
|
#%{_libdir}/apr-util-1/apr_dbd_freetds.a
|
|
|
|
#%{_libdir}/apr-util-1/apr_dbd_freetds.la
|
|
|
|
#%{_libdir}/apr-util-1/apr_dbd_freetds.so
|
2024-01-06 03:47:34 +01:00
|
|
|
%{_libdir}/apr-util-1/apr_dbm_gdbm-1.so
|
|
|
|
%{_libdir}/apr-util-1/apr_dbm_gdbm.a
|
|
|
|
%{_libdir}/apr-util-1/apr_dbm_gdbm.la
|
|
|
|
%{_libdir}/apr-util-1/apr_dbm_gdbm.so
|
|
|
|
%{_libdir}/apr-util-1/apr_ldap-1.so
|
|
|
|
%{_libdir}/apr-util-1/apr_ldap.a
|
|
|
|
%{_libdir}/apr-util-1/apr_ldap.la
|
|
|
|
%{_libdir}/apr-util-1/apr_ldap.so
|
|
|
|
%doc CHANGES LICENSE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/apr-1/*.h
|
|
|
|
%{_libdir}/pkgconfig/apr-util-1.pc
|
|
|
|
%{_libdir}/libaprutil-%{aprutilmajver}.a
|
|
|
|
%{_libdir}/libaprutil-%{aprutilmajver}.la
|
|
|
|
%{_libdir}/libaprutil-%{aprutilmajver}.so
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:47:34 +01:00
|
|
|
* Mon Dec 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-3mamba
|
|
|
|
- rebuilt with debug package and without sqlite2
|
|
|
|
|
2024-01-06 03:47:34 +01:00
|
|
|
* Sat Nov 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-2mamba
|
|
|
|
- rebuilt with --with-devrandom to fix httpd under libvirt
|
|
|
|
|
2024-01-06 03:47:34 +01:00
|
|
|
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 03:47:34 +01:00
|
|
|
* Fri May 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.4-2mamba
|
|
|
|
- rebuilt with mariadb libmysqlclient
|
|
|
|
|
2024-01-06 03:47:34 +01:00
|
|
|
* Sun Oct 05 2014 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 03:47:34 +01:00
|
|
|
* Tue Nov 19 2013 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 04 2013 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 26 2012 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 1.3.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu May 12 2011 Automatic Build System <autodist@mambasoft.it> 1.3.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.10-1mamba
|
|
|
|
- update to 1.3.10
|
|
|
|
|
|
|
|
* Tue Oct 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.9-1mamba
|
|
|
|
- update to 1.3.9
|
|
|
|
|
|
|
|
* Wed Jun 10 2009 Automatic Build System <autodist@mambasoft.it> 1.3.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-1mamba
|
|
|
|
- update to 1.3.4
|
|
|
|
|
|
|
|
* Mon Dec 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-1mamba
|
|
|
|
- update to 1.3.3
|
|
|
|
|
|
|
|
* Sun Feb 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.12-1mamba
|
|
|
|
- update to 1.2.12
|
|
|
|
- libapr-devel: obsolete libapr1-devel
|
|
|
|
|
|
|
|
* Wed Nov 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.11-2mamba
|
|
|
|
- rename to libapr and obsolete libapr1 packages
|
|
|
|
|
|
|
|
* Thu Sep 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.11-1mamba
|
|
|
|
- update to 1.2.11
|
|
|
|
|
|
|
|
* Thu May 24 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-4mamba
|
|
|
|
- libapr1-devel: obsolete and remove libaprutil1-devel
|
|
|
|
|
|
|
|
* Tue May 08 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-3mamba
|
|
|
|
- set epoch to 1 as it was for libaprutil1 for updates to work
|
|
|
|
|
|
|
|
* Mon May 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-2mamba
|
|
|
|
- but libaprutil1 from libapr1 source package
|
|
|
|
|
|
|
|
* Fri Apr 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-1mamba
|
|
|
|
- update to 1.2.8
|
|
|
|
- includes installed into %{_includedir}/apr-1
|
|
|
|
|
|
|
|
* Thu Apr 19 2007 Davide Madrisan <davide.madrisan@gmail.com> 1.2.2-3mamba
|
|
|
|
- rebuilt with the openmamba compiler to fix the output of 'apr-1-config --cc'
|
|
|
|
|
|
|
|
* Mon Mar 20 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.2-2qilnx
|
|
|
|
- moved apr-%{aprver}-config executable to main package
|
|
|
|
|
|
|
|
* Wed Mar 01 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-1qilnx
|
|
|
|
- update to version 1.2.2 by autospec
|
|
|
|
|
|
|
|
* Mon Feb 07 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1qilnx
|
|
|
|
- package created by autospec
|