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