4ab8adb
Summary:          Utility library for 389 administration
4ab8adb
Name:             389-adminutil
cb46bca
Version:          1.1.10
f9bf10a
Release:          1%{?dist}
4ab8adb
License:          LGPLv2
4ab8adb
URL:              http://port389.org/wiki/AdminUtil
4ab8adb
Group:            Development/Libraries
4ab8adb
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4ab8adb
BuildRequires:    nspr-devel
4ab8adb
BuildRequires:    nss-devel
4ab8adb
BuildRequires:    svrcore-devel
4ab8adb
BuildRequires:    mozldap-devel
4ab8adb
BuildRequires:    libicu-devel
4ab8adb
BuildRequires:    icu
4ab8adb
Provides:         adminutil = %{version}-%{release}
4ab8adb
Obsoletes:        adminutil < 1.1.8-2
4ab8adb
4ab8adb
Source0:          http://port389.org/sources/%{name}-%{version}.tar.bz2
4ab8adb
4ab8adb
%description
4ab8adb
%{name} is libraries of functions used to administer directory
4ab8adb
servers, usually in conjunction with the admin server.  %{name} is
4ab8adb
broken into two libraries - libadminutil contains the basic
4ab8adb
functionality, and libadmsslutil contains SSL versions and wrappers
4ab8adb
around the basic functions.  The PSET functions allow applications to
4ab8adb
store their preferences and configuration parameters in LDAP, without
4ab8adb
having to know anything about LDAP.  The configuration is cached in a
4ab8adb
local file, allowing applications to function even if the LDAP server
4ab8adb
is down.  The other code is typically used by CGI programs used for
4ab8adb
directory server management, containing GET/POST processing code as
4ab8adb
well as resource handling (ICU ures API).
4ab8adb
4ab8adb
%package devel
4ab8adb
Summary:  Development and header files for %{name}
4ab8adb
Group:    Development/Libraries
4ab8adb
Requires: %{name} = %{version}-%{release}
4ab8adb
Requires: pkgconfig
4ab8adb
Requires: nspr-devel
4ab8adb
Requires: nss-devel
4ab8adb
Requires: svrcore-devel
4ab8adb
Requires: mozldap-devel
4ab8adb
Requires: libicu-devel
4ab8adb
Provides:  adminutil-devel = %{version}-%{release}
4ab8adb
Obsoletes: adminutil-devel < 1.1.8-2
4ab8adb
4ab8adb
%description devel
4ab8adb
Development files and header files necessary to build applications
4ab8adb
that use %{name}.
4ab8adb
4ab8adb
%prep
4ab8adb
%setup -q
4ab8adb
4ab8adb
%build
4ab8adb
4ab8adb
%configure --disable-tests
4ab8adb
%{__make} %{?_smp_mflags}
4ab8adb
4ab8adb
%install
4ab8adb
%{__rm} -rf $RPM_BUILD_ROOT
4ab8adb
4ab8adb
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
4ab8adb
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
4ab8adb
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
4ab8adb
4ab8adb
%clean
4ab8adb
%{__rm} -rf $RPM_BUILD_ROOT
4ab8adb
4ab8adb
%post -p /sbin/ldconfig
4ab8adb
%postun -p /sbin/ldconfig
4ab8adb
4ab8adb
%files
4ab8adb
%defattr(-,root,root,-)
4ab8adb
%doc LICENSE README NEWS
4ab8adb
%{_libdir}/*.so.*
4ab8adb
%{_datadir}/%{name}
4ab8adb
4ab8adb
%files devel
4ab8adb
%defattr(-,root,root,-)
4ab8adb
%{_libdir}/pkgconfig/%{name}.pc
4ab8adb
%{_libdir}/*.so
4ab8adb
%{_includedir}/libadminutil
4ab8adb
%{_includedir}/libadmsslutil
4ab8adb
4ab8adb
%changelog
cb46bca
* Fri Feb 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.10-1
cb46bca
- Bug 460168 - FedoraDS' adminutil requires non-existent "icu.pc" on non-RH/Fedora systems
cb46bca
- this is the 1.1.10 release
cb46bca
f9bf10a
* Thu Jan 14 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.9-1
f9bf10a
- make sure we can find ICU genrb on all platforms
f9bf10a
- this is the 1.1.9 release
f9bf10a
6b04fa6
* Wed Aug 12 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.8-4
6b04fa6
- final 1.1.8 release
6b04fa6
bc009f5
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-3
bc009f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bc009f5
4ab8adb
* Tue May 12 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.8-2
4ab8adb
- rename to 389-adminutil
4ab8adb
4ab8adb
* Tue Mar 31 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.8-1
4ab8adb
- this is the 1.1.8 release
4ab8adb
4ab8adb
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-2
4ab8adb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4ab8adb
4ab8adb
* Wed Aug 27 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.7-1
4ab8adb
- Resolves bug 454060   -  ViewLog CGI crash with new adminutil
4ab8adb
- Resolves bug 413531   -  Web browser accepted languages configuration causes dsgw CGI binaries to segfault
4ab8adb
4ab8adb
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.6-2
4ab8adb
- fix license tag
4ab8adb
4ab8adb
* Mon Mar  3 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.6-1
4ab8adb
- Resolves bug 245248 - dsgw doesn't escape filename in error message
4ab8adb
- The new dsgw hasn't been released yet, and the old one doesn't use
4ab8adb
- this code.
4ab8adb
4ab8adb
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.5-2
4ab8adb
- Autorebuild for GCC 4.3
4ab8adb
4ab8adb
* Thu Oct 18 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.5-1
4ab8adb
- bump version to 1.1.5
4ab8adb
- fix icu linking issue
4ab8adb
- disable libtool rpath by default - added --enable-rpath option to configure
4ab8adb
4ab8adb
* Fri Aug 17 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.4-2
4ab8adb
- remove >= version from icu build requires to fix rawhide build problem
4ab8adb
4ab8adb
* Wed Aug  1 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.4-1
4ab8adb
- updated to version 1.1.4
4ab8adb
- fixes bugzilla 250526
4ab8adb
4ab8adb
* Wed Jul 25 2007 Warren Togami <wtogami@redhat.com> - 1.1.3-1.1
4ab8adb
- binutils/gcc bug rebuild (#249435)
4ab8adb
4ab8adb
* Tue Jul 24 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.3-1
4ab8adb
- updated to version 1.1.3
4ab8adb
- fixes bugzillas 246124 and 247192
4ab8adb
4ab8adb
* Fri Jun 22 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.2-1
4ab8adb
- Updated version to 1.1.2
4ab8adb
- This version fixes some memory leaks and invalid memory use
4ab8adb
- issues
4ab8adb
4ab8adb
* Wed May 23 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.1-3
4ab8adb
- more fedora review stuff - use macros consistently
4ab8adb
- make sure install preserves timestamps
4ab8adb
- use lgpl instead of gpl for acclanglist.c
4ab8adb
- fix undefined weak symbols in libadmsslutil
4ab8adb
4ab8adb
* Fri May 18 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.1-2
4ab8adb
- pkgconfig is a requires not a build requires
4ab8adb
4ab8adb
* Thu May 17 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.1-1
4ab8adb
- Many bug fixes - bumped version to 1.1.1
4ab8adb
- fixed concerns from Fedora package review
4ab8adb
4ab8adb
* Wed Mar 28 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1
4ab8adb
- Initial version - based largely on svrcore.spec