Commit b6843635 authored by Roel van Meer's avatar Roel van Meer

ZP-1190 Install manpages in rpm packages

I haven't been able to test this - please review carefully.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 936e9193
...@@ -375,6 +375,10 @@ install -Dpm 644 config/apache2/z-push.conf \ ...@@ -375,6 +375,10 @@ install -Dpm 644 config/apache2/z-push.conf \
install -Dpm 644 config/apache2/z-push-autodiscover.conf \ install -Dpm 644 config/apache2/z-push-autodiscover.conf \
"$b/%apache_dir/conf.d/z-push-autodiscover.conf"; "$b/%apache_dir/conf.d/z-push-autodiscover.conf";
# MANPAGES
mkdir -p "$b/%_mandir/man1"
cp man/*.1 "$b/%_mandir/man1"
%post -n %name-config-apache %post -n %name-config-apache
%if 0%{?suse_version} %if 0%{?suse_version}
service apache2 reload || true service apache2 reload || true
...@@ -438,6 +442,9 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \ ...@@ -438,6 +442,9 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \
%_bindir/z-push-admin %_bindir/z-push-admin
%_bindir/z-push-top %_bindir/z-push-top
%_mandir/man1/z-push-admin.1*
%_mandir/man1/z-push-top.1*
# CALDAV # CALDAV
%files -n %name-backend-caldav %files -n %name-backend-caldav
%defattr(-, root, root) %defattr(-, root, root)
...@@ -528,6 +535,7 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \ ...@@ -528,6 +535,7 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \
%config(noreplace) %attr(0640,root,apache) %_sysconfdir/z-push/gabsync.conf.php %config(noreplace) %attr(0640,root,apache) %_sysconfdir/z-push/gabsync.conf.php
%endif %endif
%_bindir/z-push-gabsync %_bindir/z-push-gabsync
%_mandir/man1/z-push-gabsync.1*
%files -n %name-kopano-gab2contacts %files -n %name-kopano-gab2contacts
%defattr(-, root, root) %defattr(-, root, root)
...@@ -541,6 +549,7 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \ ...@@ -541,6 +549,7 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \
%config(noreplace) %attr(0640,root,apache) %_sysconfdir/z-push/gab2contacts.conf.php %config(noreplace) %attr(0640,root,apache) %_sysconfdir/z-push/gab2contacts.conf.php
%endif %endif
%_bindir/z-push-gab2contacts %_bindir/z-push-gab2contacts
%_mandir/man1/z-push-gab2contacts.1*
%files -n %name-kopano %files -n %name-kopano
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment