1 |
Name: nss-pam-ldapd |
Name: nss-pam-ldapd |
2 |
Version: 0.8.6 |
Version: 0.8.9 |
3 |
Release: %mkrel 3 |
Release: %mkrel 1 |
4 |
Summary: An nsswitch module which uses directory servers |
Summary: An nsswitch module which uses directory servers |
5 |
Group: System/Libraries |
Group: System/Libraries |
6 |
License: LGPLv2+ |
License: LGPLv2+ |
7 |
URL: http://arthurdejong.org/nss-ldapd/ |
URL: http://arthurdejong.org/nss-ldapd/ |
8 |
Source0: http://arthurdejong.org/nss-ldapd/%{name}-%{version}.tar.gz |
Source0: http://arthurdejong.org/nss-ldapd/%{name}-%{version}.tar.gz |
|
Source2: nslcd.init |
|
9 |
Source3: nslcd.service |
Source3: nslcd.service |
10 |
Source4: nslcd.tmpfiles |
Source4: nslcd.tmpfiles |
11 |
Requires(post): rpm-helper >= 0.24.8-1 |
Requires(post): rpm-helper >= 0.24.8-1 |
23 |
%setup -q |
%setup -q |
24 |
|
|
25 |
%build |
%build |
26 |
%configure2_5x --libdir=/%{_lib} --with-pam-seclib-dir=/%{_lib}/security |
%configure2_5x \ |
27 |
|
--libdir=/%{_lib} \ |
28 |
|
--with-pam-seclib-dir=/%{_lib}/security \ |
29 |
|
--with-nslcd-pidfile=/run/nslcd/nslcd.pid |
30 |
%make |
%make |
31 |
|
|
32 |
%install |
%install |
33 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
34 |
%makeinstall_std |
%makeinstall_std |
35 |
|
|
|
install -D -m 755 %{SOURCE2} %{buildroot}%{_initrddir}/nslcd |
|
36 |
install -D -m 644 %{SOURCE3} %{buildroot}%{_unitdir}/nslcd.service |
install -D -m 644 %{SOURCE3} %{buildroot}%{_unitdir}/nslcd.service |
37 |
install -D -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/tmpfiles.d/nslcd.conf |
install -D -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/tmpfiles.d/nslcd.conf |
38 |
|
|
61 |
%config(noreplace) %{_sysconfdir}/nss-ldapd.conf |
%config(noreplace) %{_sysconfdir}/nss-ldapd.conf |
62 |
%config(noreplace) %{_sysconfdir}/nslcd.conf |
%config(noreplace) %{_sysconfdir}/nslcd.conf |
63 |
%config(noreplace) %{_sysconfdir}/tmpfiles.d/nslcd.conf |
%config(noreplace) %{_sysconfdir}/tmpfiles.d/nslcd.conf |
|
%{_initrddir}/nslcd |
|
64 |
%{_unitdir}/nslcd.service |
%{_unitdir}/nslcd.service |
65 |
%attr(-,nslcd,root) %{_localstatedir}/run/nslcd |
%attr(-,nslcd,root) %{_localstatedir}/run/nslcd |