]> git.pld-linux.org Git - packages/389-adminutil.git/blob - 389-adminutil.spec
- 1.1.13
[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.13
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:  5e0bbf95c6a61eb69b5f620b28336eff
12 BuildRequires:  icu
13 BuildRequires:  libicu-devel
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  mozldap-devel
16 BuildRequires:  nspr-devel
17 BuildRequires:  nss-devel
18 BuildRequires:  perl-base
19 BuildRequires:  pkgconfig
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 389-adminutil is libraries of functions used to administer directory
24 servers, usually in conjunction with the admin server. 389-adminutil
25 is broken into two libraries - libadminutil contains the basic
26 functionality, and libadmsslutil contains SSL versions and wrappers
27 around the basic functions. The PSET functions allow applications to
28 store their preferences and configuration parameters in LDAP, without
29 having to know anything about LDAP. The configuration is cached in a
30 local file, allowing applications to function even if the LDAP server
31 is down. The other code is typically used by CGI programs used for
32 directory server management, containing GET/POST processing code as
33 well as resource handling (ICU ures API).
34
35 %package devel
36 Summary:        Development and header files for 389-adminutil
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       libicu-devel
40 Requires:       mozldap-devel
41 Requires:       nspr-devel
42 Requires:       nss-devel
43 Requires:       pkgconfig
44 Requires:       svrcore-devel
45 Provides:       adminutil-devel = %{version}-%{release}
46 Obsoletes:      adminutil-devel < 1.1.8-2
47
48 %description devel
49 Development files and header files necessary to build applications
50 that use 389-adminutil.
51
52 %prep
53 %setup -q
54
55 %build
56 %configure \
57         --disable-tests \
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 %{__rm} -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         INSTALL="%{__install} -p" \
67         DESTDIR=$RPM_BUILD_ROOT
68 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
69 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc README NEWS
80 %attr(755,root,root) %{_libdir}/*.so.*.*.*
81 %{_datadir}/%{name}
82
83 %files devel
84 %defattr(644,root,root,755)
85 %{_pkgconfigdir}/%{name}.pc
86 %{_libdir}/*.so
87 %{_includedir}/libadminutil
88 %{_includedir}/libadmsslutil
This page took 0.070741 seconds and 3 git commands to generate.