SPECS/apr-util/apr-util.spec
2eadb1f1
 Summary:    The Apache Portable Runtime Utility Library
 Name:       apr-util
 Version:    1.5.4
1e510285
 Release:    1%{?dist}
2eadb1f1
 License:    Apache License 2.0
 URL:        https://apr.apache.org/
 Group:      System Environment/Libraries
 Vendor:     VMware, Inc.
 Distribution: Photon
2d9b12ea
 Source0:    http://archive.apache.org/dist/apr/%{name}-%{version}.tar.gz
2eadb1f1
 BuildRequires:   apr
 BuildRequires:   openldap
 BuildRequires:   openssl
 BuildRequires:   openssl-devel
 BuildRequires:   nss-devel
 Requires:   apr
 Requires:   openssl
 Requires:   openldap
 Requires:   postgresql
 %description
 The Apache Portable Runtime Utility Library.
 
 %prep
 %setup -q
 %build
 %configure --with-apr=%{_prefix} \
         --includedir=%{_includedir}/apr-%{apuver} \
         --with-ldap --without-gdbm \
         --with-sqlite3 --with-pgsql \
         --without-sqlite2 \
         --with-openssl=/usr \
         --with-nss \
         --with-crypto
 
 
 make %{?_smp_mflags}
 
 %install
 make DESTDIR=%{buildroot} install
2d9b12ea
 rm %{buildroot}/usr/lib/libexpat.so
2eadb1f1
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
 /usr/lib/*
 /usr/bin/*
 /usr/include/*
 
 %changelog
 *   Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 1.5.2-1
 -   Initial build. First version