]> git.pld-linux.org Git - packages/389-adminutil.git/blob - 389-adminutil.spec
- pldize, merge todo
[packages/389-adminutil.git] / 389-adminutil.spec
1 # TODO
2 # - merge with fedora-ds-admin.spec
3 Summary:        Utility library for 389 administration
4 Name:           389-adminutil
5 Version:        1.1.9
6 Release:        1
7 License:        LGPL v2
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
12 BuildRequires:  icu
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)
19
20 %description
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).
32
33 %package devel
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
39 Requires:       nspr-devel
40 Requires:       nss-devel
41 Requires:       pkgconfig
42 Requires:       svrcore-devel
43 Provides:       adminutil-devel = %{version}-%{release}
44 Obsoletes:      adminutil-devel < 1.1.8-2
45
46 %description devel
47 Development files and header files necessary to build applications
48 that use 389-adminutil.
49
50 %prep
51 %setup -q
52
53 %build
54 %configure \
55         --disable-tests \
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 %{__rm} -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
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
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc README NEWS
78 %attr(755,root,root) %{_libdir}/*.so.*.*.*
79 %{_datadir}/%{name}
80
81 %files devel
82 %defattr(644,root,root,755)
83 %{_pkgconfigdir}/%{name}.pc
84 %{_libdir}/*.so
85 %{_includedir}/libadminutil
86 %{_includedir}/libadmsslutil
This page took 0.455193 seconds and 3 git commands to generate.