Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Daniel Berteaud | 41a2fd6563 | |
Daniel Berteaud | 6e6dc8682a |
|
@ -26,16 +26,22 @@ if [ "$NET" == "enabled" ]; then
|
|||
LISTEN=$(/sbin/e-smith/db configuration get LocalIP)
|
||||
fi
|
||||
|
||||
if [ -e "/usr/lib64/libreoffice/program/soffice.bin" ]; then
|
||||
BIN="/usr/lib64/libreoffice/program/soffice.bin";
|
||||
else
|
||||
BIN="/usr/lib/libreoffice/program/soffice.bin"
|
||||
fi
|
||||
|
||||
exec 2>&1
|
||||
|
||||
HOME=/var/cache/ooo exec \
|
||||
/usr/local/bin/setuidgid www \
|
||||
/usr/lib/openoffice.org3/program/soffice.bin \
|
||||
-headless \
|
||||
-invisible \
|
||||
-nocrashreport \
|
||||
-nodefault \
|
||||
-nofirststartwizard \
|
||||
-nologo -norestore \
|
||||
-accept="socket,host=$LISTEN,port=$PORT;urp;StarOffice.ComponentContext"
|
||||
$BIN \
|
||||
--headless \
|
||||
--invisible \
|
||||
--nocrashreport \
|
||||
--nodefault \
|
||||
--nofirststartwizard \
|
||||
--nologo --norestore \
|
||||
--accept="socket,host=$LISTEN,port=$PORT;urp;StarOffice.ComponentContext"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%define version 0.2.0
|
||||
%define version 0.2.1
|
||||
%define release 1
|
||||
%define name smeserver-ooo-headless
|
||||
|
||||
|
@ -16,10 +16,10 @@ BuildArchitectures: noarch
|
|||
BuildRequires: e-smith-devtools
|
||||
|
||||
Requires: e-smith-base >= 5.2.0
|
||||
Requires: openoffice.org-headless
|
||||
Requires: openoffice.org-writer
|
||||
Requires: openoffice.org-impress
|
||||
Requires: openoffice.org-calc
|
||||
Requires: libreoffice-headless
|
||||
Requires: libreoffice-writer
|
||||
Requires: libreoffice-impress
|
||||
Requires: libreoffice-calc
|
||||
Requires: unoconv
|
||||
|
||||
%description
|
||||
|
@ -28,6 +28,10 @@ office document to PDF. It can be used by web applications
|
|||
to create preview of office documents
|
||||
|
||||
%changelog
|
||||
* Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.1-1
|
||||
- Update dependencies and startup script for LibreOffice
|
||||
- support x86_64
|
||||
|
||||
* Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.0-1
|
||||
- Import in GIT
|
||||
|
||||
|
|
Loading…
Reference in New Issue