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