]> git.pld-linux.org Git - packages/389-adminutil.git/blame_incremental - 389-adminutil.spec
- pldize, merge todo
[packages/389-adminutil.git] / 389-adminutil.spec
... / ...
CommitLineData
1# TODO
2# - merge with fedora-ds-admin.spec
3Summary: Utility library for 389 administration
4Name: 389-adminutil
5Version: 1.1.9
6Release: 1
7License: LGPL v2
8Group: Development/Libraries
9URL: http://directory.fedoraproject.org/wiki/AdminUtil
10Source0: http://directory.fedoraproject.org/sources/%{name}-%{version}.tar.bz2
11# Source0-md5: da96a9673ac983b79475fd9c51b663c3
12BuildRequires: icu
13BuildRequires: libicu-devel
14BuildRequires: mozldap-devel
15BuildRequires: nspr-devel
16BuildRequires: nss-devel
17BuildRequires: svrcore-devel
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21389-adminutil is libraries of functions used to administer directory
22servers, usually in conjunction with the admin server. 389-adminutil
23is broken into two libraries - libadminutil contains the basic
24functionality, and libadmsslutil contains SSL versions and wrappers
25around the basic functions. The PSET functions allow applications to
26store their preferences and configuration parameters in LDAP, without
27having to know anything about LDAP. The configuration is cached in a
28local file, allowing applications to function even if the LDAP server
29is down. The other code is typically used by CGI programs used for
30directory server management, containing GET/POST processing code as
31well as resource handling (ICU ures API).
32
33%package devel
34Summary: Development and header files for 389-adminutil
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37Requires: libicu-devel
38Requires: mozldap-devel
39Requires: nspr-devel
40Requires: nss-devel
41Requires: pkgconfig
42Requires: svrcore-devel
43Provides: adminutil-devel = %{version}-%{release}
44Obsoletes: adminutil-devel < 1.1.8-2
45
46%description devel
47Development files and header files necessary to build applications
48that use 389-adminutil.
49
50%prep
51%setup -q
52
53%build
54%configure \
55 --disable-tests \
56
57%{__make}
58
59%install
60rm -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
70rm -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.033986 seconds and 4 git commands to generate.