/[packages]/cauldron/nss-pam-ldapd/current/SPECS/nss-pam-ldapd.spec
ViewVC logotype

Contents of /cauldron/nss-pam-ldapd/current/SPECS/nss-pam-ldapd.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 488500 - (show annotations) (download)
Sat Sep 28 17:15:15 2013 UTC (10 years, 6 months ago) by luigiwalser
File size: 1359 byte(s)
revert to stable 0.8 branch
1 Name: nss-pam-ldapd
2 Version: 0.8.13
3 Release: %mkrel 1
4 Summary: An nsswitch module which uses directory servers
5 Group: System/Libraries
6 License: LGPLv2+
7 URL: http://arthurdejong.org/nss-ldapd/
8 Source0: http://arthurdejong.org/nss-ldapd/%{name}-%{version}.tar.gz
9 Source3: nslcd.service
10 Source4: nslcd.tmpfiles
11 Requires(post): rpm-helper >= 0.24.8-1
12 Requires(preun): rpm-helper >= 0.24.8-1
13 BuildRequires: openldap-devel
14 BuildRequires: krb5-devel
15 BuildRequires: pam-devel
16
17 %description
18 The nss-ldapd daemon, nslcd, uses a directory server to look up name
19 service information (users, groups, etc.) on behalf of a lightweight
20 nsswitch module.
21
22 %prep
23 %setup -q
24
25 %build
26 %configure2_5x \
27 --libdir=/%{_lib} \
28 --with-pam-seclib-dir=/%{_lib}/security \
29 --with-nslcd-pidfile=/run/nslcd/nslcd.pid
30 %make
31
32 %install
33 rm -rf %{buildroot}
34 %makeinstall_std
35
36 install -D -m 644 %{SOURCE3} %{buildroot}%{_unitdir}/nslcd.service
37 install -D -m 644 %{SOURCE4} %{buildroot}%{_prefix}/lib/tmpfiles.d/nslcd.conf
38
39 %pre
40 %_pre_useradd nslcd / /bin/false
41
42 %post
43 %_post_service nslcd
44
45 %preun
46 %_preun_service nslcd
47
48 %files
49 %doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO
50 %{_sbindir}/*
51 /%{_lib}/*.so.*
52 /%{_lib}/security/*.so
53 %{_mandir}/*/*
54 %{_datadir}/nslcd-utils
55 %config(noreplace) %{_sysconfdir}/nslcd.conf
56 %{_prefix}/lib/tmpfiles.d/nslcd.conf
57 %{_unitdir}/nslcd.service

  ViewVC Help
Powered by ViewVC 1.1.30