summaryrefslogtreecommitdiffstats
path: root/pykolab.spec.in
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-09 13:06:05 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-09 13:06:05 +0000
commit0e8a5848550a1fbb4b64b9527a6cdccfb247ba89 (patch)
tree31f493244ed3347d6088fc7c685f155c13ac404c /pykolab.spec.in
parentb82fa343260626e1908fc20ba499c6f73a4e9866 (diff)
downloadpykolab-0e8a5848550a1fbb4b64b9527a6cdccfb247ba89.tar.gz
Include /etc/sysconfig/kolab{d,-saslauthd} in dist, and ship them as part of the RPM packages
Diffstat (limited to 'pykolab.spec.in')
-rw-r--r--pykolab.spec.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/pykolab.spec.in b/pykolab.spec.in
index dce8629..5eaea68 100644
--- a/pykolab.spec.in
+++ b/pykolab.spec.in
@@ -105,9 +105,14 @@ Kolab SMTP Access Policy for Postfix
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
-mkdir -p %{buildroot}/%{_initddir}
+mkdir -p \
+ %{buildroot}/%{_initddir} \
+ %{buildroot}/%{_sysconfdir}/sysconfig
+%{__install} -p -m 644 saslauthd/kolab-saslauthd.sysconfig %{buildroot}/%{_sysconfdir}/sysconfig/kolab-saslauthd
%{__install} -p -m 755 saslauthd/kolab-saslauthd.sysvinit %{buildroot}/%{_initddir}/kolab-saslauthd
+
+%{__install} -p -m 644 kolabd/kolabd.sysconfig %{buildroot}/%{_sysconfdir}/sysconfig/kolabd
%{__install} -p -m 755 kolabd/kolabd.sysvinit %{buildroot}/%{_initddir}/kolabd
%find_lang pykolab
@@ -218,6 +223,7 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{_initddir}/kolab-saslauthd
+%config(noreplace) %{_sysconfdir}/sysconfig/kolab-saslauthd
%{_sbindir}/kolab-saslauthd
%{python_sitelib}/saslauthd/
%dir %{_localstatedir}/run/kolab-saslauthd
@@ -227,6 +233,7 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{_initddir}/kolabd
+%config(noreplace) %{_sysconfdir}/sysconfig/kolabd
%{_sbindir}/kolabd
%{python_sitelib}/kolabd/