2 # - merge with fedora-ds-admin.spec
3 Summary: Utility library for 389 administration
8 Group: Development/Libraries
9 URL: http://directory.fedoraproject.org/wiki/AdminUtil
10 Source0: http://directory.fedoraproject.org/sources/%{name}-%{version}.tar.bz2
11 # Source0-md5: da96a9673ac983b79475fd9c51b663c3
13 BuildRequires: libicu-devel
14 BuildRequires: mozldap-devel
15 BuildRequires: nspr-devel
16 BuildRequires: nss-devel
17 BuildRequires: svrcore-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 389-adminutil is libraries of functions used to administer directory
22 servers, usually in conjunction with the admin server. 389-adminutil
23 is broken into two libraries - libadminutil contains the basic
24 functionality, and libadmsslutil contains SSL versions and wrappers
25 around the basic functions. The PSET functions allow applications to
26 store their preferences and configuration parameters in LDAP, without
27 having to know anything about LDAP. The configuration is cached in a
28 local file, allowing applications to function even if the LDAP server
29 is down. The other code is typically used by CGI programs used for
30 directory server management, containing GET/POST processing code as
31 well as resource handling (ICU ures API).
34 Summary: Development and header files for 389-adminutil
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: libicu-devel
38 Requires: mozldap-devel
42 Requires: svrcore-devel
43 Provides: adminutil-devel = %{version}-%{release}
44 Obsoletes: adminutil-devel < 1.1.8-2
47 Development files and header files necessary to build applications
48 that use 389-adminutil.
60 rm -rf $RPM_BUILD_ROOT
61 %{__rm} -rf $RPM_BUILD_ROOT
64 INSTALL="%{__install} -p" \
65 DESTDIR=$RPM_BUILD_ROOT
66 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
67 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
76 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/*.so.*.*.*
82 %defattr(644,root,root,755)
83 %{_pkgconfigdir}/%{name}.pc
85 %{_includedir}/libadminutil
86 %{_includedir}/libadmsslutil