27 |
|
|
28 |
Summary: 389 Directory Server (base) |
Summary: 389 Directory Server (base) |
29 |
Name: 389-ds-base |
Name: 389-ds-base |
30 |
Version: 1.3.1.0 |
Version: 1.3.1.3 |
31 |
Release: %mkrel 1 |
Release: %mkrel 1 |
32 |
License: GPLv2 with exceptions |
License: GPLv2 with exceptions |
33 |
URL: http://port389.org/ |
URL: http://port389.org/ |
203 |
mkdir -p %{buildroot}/var/lock/%{pkgname} |
mkdir -p %{buildroot}/var/lock/%{pkgname} |
204 |
|
|
205 |
# for systemd |
# for systemd |
206 |
mkdir -p %{buildroot}%{_sysconfdir}/systemd/system/%{groupname}.wants |
# mkdir %{_sysconfdir}/systemd/system/%{groupname}.wants |
207 |
|
|
208 |
#remove libtool and static libs |
#remove libtool and static libs |
209 |
rm -f %{buildroot}%{_libdir}/%{pkgname}/*.a |
rm -f %{buildroot}%{_libdir}/%{pkgname}/*.a |
216 |
|
|
217 |
%post |
%post |
218 |
output=/dev/null |
output=/dev/null |
219 |
|
mkdir %{_sysconfdir}/systemd/system/%{groupname}.wants |
220 |
|
|
221 |
%_post_service %{pkgname}-snmp |
%_post_service %{pkgname}-snmp |
222 |
# reload to pick up any changes to systemd files |
# reload to pick up any changes to systemd files |
223 |
/bin/systemctl daemon-reload >/dev/null 2>&1 || : |
/bin/systemctl daemon-reload >/dev/null 2>&1 || : |
283 |
%dir %{_sysconfdir}/%{pkgname}/schema |
%dir %{_sysconfdir}/%{pkgname}/schema |
284 |
%config(noreplace)%{_sysconfdir}/%{pkgname}/schema/*.ldif |
%config(noreplace)%{_sysconfdir}/%{pkgname}/schema/*.ldif |
285 |
%dir %{_sysconfdir}/%{pkgname}/config |
%dir %{_sysconfdir}/%{pkgname}/config |
286 |
%dir %{_sysconfdir}/systemd/system/%{groupname}.wants |
# %dir %{_sysconfdir}/systemd/system/%{groupname}.wants |
287 |
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/slapd-collations.conf |
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/slapd-collations.conf |
288 |
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/certmap.conf |
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/certmap.conf |
289 |
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/ldap-agent.conf |
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/ldap-agent.conf |