22.05.9.6 compila contra libreofficekit 7.5.5.2-4+gob.mx

Opciones de compilación que usó @renichbon
Archivo coolwsd.service que mandó @renichbon
This commit is contained in:
Sandino Araico Sanchez 2023-08-18 05:48:55 -06:00
parent 631f29c03e
commit ada281e3d7
No known key found for this signature in database
GPG key ID: 90E64E484EED133A
2 changed files with 62 additions and 11 deletions

View file

@ -0,0 +1,25 @@
[Unit]
Description=Collabora Online WebSocket Daemon
After=network.target
[Service]
EnvironmentFile=-/etc/sysconfig/coolwsd
ExecStart=/usr/bin/coolwsd --version --o:sys_template_path=/usr/lib64/cool/systemplate --o:child_root_path=/usr/lib64/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd
KillSignal=SIGINT
TimeoutStopSec=120
User=cool
#KillMode=control-group
Restart=always
LimitNOFILE=infinity:infinity
#ProtectSystem=strict
#ReadWritePaths=/opt/cool /var/log
ProtectHome=yes
#PrivateTmp=yes
#ProtectControlGroups=yes
#CapabilityBoundingSet=CAP_FOWNER CAP_CHOWN CAP_MKNOD CAP_SYS_CHROOT CAP_SYS_ADMIN
[Install]
WantedBy=multi-user.target

View file

@ -12,27 +12,32 @@ Name: coolwsd%{name_suffix}
Name: coolwsd
%endif
Version: 22.05.9.6
Release: 1%{?dist}
Release: 2%{?dist}
Vendor: %{vendor}
Summary: Collabora Online WebSocket Daemon
License: EULA
# https://github.com/CollaboraOnline/online/blob/master/COPYING
License: MPL
Source0: coolwsd-%{version}.tar.gz
Source1: coolwsd.service
BuildRequires: cppunit-devel
BuildRequires: chromium
BuildRequires: fontconfig
BuildRequires: gcc-c++
BuildRequires: libcap-devel
BuildRequires: libpng-devel
BuildRequires: libreoffice-core
BuildRequires: libreofficekit-devel >= 7.5.3
BuildRequires: libtool
BuildRequires: libzstd-devel >= 1.4.0
BuildRequires: m4
BuildRequires: make
BuildRequires: nodejs
BuildRequires: nodejs-devel
BuildRequires: npm
BuildRequires: pam-devel
BuildRequires: poco-devel
BuildRequires: python3
BuildRequires: python3-polib
BuildRequires: systemd-rpm-macros
BuildRequires: libreofficekit-devel >= 7.5.3
# Red Hat and CentOS
%if 0%{?rhel} == 7
@ -88,9 +93,11 @@ Requires: fontconfig libbz2-1 libexpat1 libfreetype6 libpng16-16 libuuid1
%if 0%{?suse_version}
%debug_package
%endif
%prep
%setup
%build
libtoolize
@ -102,10 +109,18 @@ scripts/refresh-git-hooks
# usando versión marrana (incluyendo una librería embebida)
%configure \
--enable-silent-rules \
--with-lokit-path=/usr/include/LibreOfficeKit \
--with-lo-path=/usr/lib64/libreoffice \
--disable-setcap \
--disable-androidapp \
--disable-android-google-play \
--disable-iosapp \
--disable-setcap \
--disable-werror \
--enable-cypress \
--enable-debug \
--enable-silent-rules \
--with-dictionaries="en_US es_ES es_MX" \
--with-lokit-path=/usr/include/LibreOfficeKit \
--with-lo-path=/usr/lib64/libreoffice \
--with-vendor="Strepsirrhini"
%if 0%{?config_options:1}
%{config_options}
%endif
@ -119,7 +134,8 @@ env BUILDING_FROM_RPMBUILD=yes make %{?_smp_mflags}
env BUILDING_FROM_RPMBUILD=yes make install DESTDIR=%{buildroot}
install -d -m 755 %{buildroot}/var/adm/fillup-templates
%if 0%{?rhel}
install -D -m 444 coolwsd.service %{buildroot}%{_unitdir}/coolwsd.service
install -D -m 444 %{SOURCE1} %{buildroot}%{_unitdir}/coolwsd.service
#install -D -m 444 coolwsd.service %{buildroot}%{_unitdir}/coolwsd.service
# systemd in RHEL 7 does not understand these options
%if 0%{?rhel} <= 7
sed -i "/^ReadWritePaths/d;/^ProtectControlGroups/d;/^ProtectSystem/d" %{buildroot}%{_unitdir}/coolwsd.service
@ -130,7 +146,8 @@ install -D -m 755 etc/apache2/coolwsd.conf %{buildroot}/etc/httpd/conf
rm %{buildroot}/etc/apache2/conf-available/coolwsd.conf
%endif
%if 0%{?suse_version}
install -D -m 444 coolwsd.service %{buildroot}%{_unitdir}/coolwsd.service
install -D -m 444 %{SOURCE1} %{buildroot}%{_unitdir}/coolwsd.service
#install -D -m 444 coolwsd.service %{buildroot}%{_unitdir}/coolwsd.service
install -D -m 644 sysconfig.coolwsd %{buildroot}/var/adm/fillup-templates
%endif
mkdir -p %{buildroot}/etc/pam.d
@ -259,6 +276,15 @@ if [ -f /etc/loolwsd/loolwsd.xml ]; then /usr/bin/coolconfig migrateconfig --wri
%endif
%changelog
* Fri Aug 18 2023 Sandino Araico Sánchez <sandino@sandino.net> - 22.05.9.6-2
- 22.05.9.6 compila contra libreofficekit 7.5.5.2-4+gob.mx
- Opciones de compilación que usó @renichbon
- Archivo coolwsd.service que mandó @renichbon
* Tue May 09 2023 Sandino Araico Sánchez <sandino@sandino.net> - 22.05.9.6-1
- basado en el spec que subió @imcsk8 de coolwsd cp-22.05.5-4
- coolws 22.05.9.6 compila contra libreofficekit 7.5.3
* Mon Aug 03 2015 Mihai Varga
- added the cronjob
* Tue May 19 2015 Tor Lillqvist