1 |
Summary: Utility library for 389 administration |
2 |
Name: 389-adminutil |
3 |
Version: 1.1.15 |
4 |
Release: %mkrel 1 |
5 |
License: LGPLv2 |
6 |
URL: http://port389.org/wiki/AdminUti |
7 |
Source0: http://port389.org/sources/%{name}-%{version}.tar.bz2 |
8 |
Patch0: 389-adminutil-1.1.14-link.patch |
9 |
Group: Databases |
10 |
BuildRequires: nspr-devel |
11 |
BuildRequires: nss-devel |
12 |
BuildRequires: openldap-devel |
13 |
BuildRequires: libicu-devel |
14 |
BuildRequires: icu |
15 |
Provides: adminutil = %{version}-%{release} |
16 |
|
17 |
%description |
18 |
%{name} is libraries of functions used to administer directory |
19 |
servers, usually in conjunction with the admin server. %{name} is |
20 |
broken into two libraries - libadminutil contains the basic |
21 |
functionality, and libadmsslutil contains SSL versions and wrappers |
22 |
around the basic functions. The PSET functions allow applications to |
23 |
store their preferences and configuration parameters in LDAP, without |
24 |
having to know anything about LDAP. The configuration is cached in a |
25 |
local file, allowing applications to function even if the LDAP server |
26 |
is down. The other code is typically used by CGI programs used for |
27 |
directory server management, containing GET/POST processing code as |
28 |
well as resource handling (ICU ures API). |
29 |
|
30 |
%package devel |
31 |
Summary: Development and header files for %{name} |
32 |
Group: Development/Databases |
33 |
Requires: %{name} = %{version}-%{release} |
34 |
Requires: pkgconfig |
35 |
Requires: nspr-devel |
36 |
Requires: nss-devel |
37 |
Requires: openldap-devel |
38 |
Requires: libicu-devel |
39 |
Provides: adminutil-devel = %{version}-%{release} |
40 |
Obsoletes: adminutil-devel < 1.1.8-2 |
41 |
|
42 |
%description devel |
43 |
Development files and header files necessary to build applications |
44 |
that use %{name}. |
45 |
|
46 |
%prep |
47 |
%setup -q |
48 |
%apply_patches |
49 |
|
50 |
%build |
51 |
autoreconf -fi |
52 |
%configure2_5x --disable-tests \ |
53 |
--with-openldap |
54 |
%make |
55 |
|
56 |
%install |
57 |
|
58 |
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" |
59 |
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.a |
60 |
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
61 |
|
62 |
|
63 |
%files |
64 |
%doc LICENSE README NEWS |
65 |
%{_libdir}/*.so.* |
66 |
%{_datadir}/%{name} |
67 |
|
68 |
%files devel |
69 |
%{_libdir}/pkgconfig/%{name}.pc |
70 |
%{_libdir}/*.so |
71 |
%{_includedir}/libadminutil |
72 |
%{_includedir}/libadmsslutil |