Evgeniy Antonyuk
c1fa203780
* Create specfiles and systemd scripts * Add fix * Add systemd packaging * add fix * Add fix * Add configuracion and fixes * Update app-conf.sh and change cfg dir * Add ability to start nodejs * Update config * Change owner of folders * Delete temporary files * Fix chmod config * Fix configure docs * Сode optimization * Add configuration elasticsearch * Rename directory * Fix work with the name of branches that include '/' * Fix work with the name of branches that include '/' * Revert "Fix work with the name of branches that include '/'" This reverts commit c0970cd84657dac503843720b0cdbce0130a329c. * Revert "Fix work with the name of branches that include '/'" This reverts commit 6ea3718df8950dd6ec87642195822a6ee433c40e. * Add fix * Add fix * Add ability to change the release and version * Fix docs configuration * Add kafka configuration * Add environment variables * Add fix * Add old rpms removal and buildroot removal * Add OneClickInstall * Correct the typo * Move systemd from rpm to common * Add a user-defined configuration option .json * Add minor fix * Add a machinekey generation * Add a typo fix * Change nodejs version * Change the location of some folders * Fix minor bugs * Fix minor bugs * Rename service directories * Fix kafka privileges Co-authored-by: Alexey Golubev <alexey.golubev@onlyoffice.com>
69 lines
1.6 KiB
RPMSpec
69 lines
1.6 KiB
RPMSpec
%define debug_package %{nil}
|
|
Name: onlyoffice-appserver
|
|
Summary: Business productivity tools.
|
|
Version: %version
|
|
Release: %release
|
|
Group: Applications/Internet
|
|
URL: http://onlyoffice.com
|
|
Vendor: Ascensio System SIA
|
|
Packager: Ascensio System SIA <support@onlyoffice.com>
|
|
ExclusiveArch: x86_64
|
|
AutoReq: no
|
|
AutoProv: no
|
|
License: GPLv3
|
|
Source0: https://github.com/ONLYOFFICE/appserver/archive/%GIT_BRANCH.tar.gz
|
|
BuildRequires: nodejs >= 12.0
|
|
BuildRequires: yarn
|
|
BuildRequires: libgdiplus
|
|
BuildRequires: dotnet-sdk-3.1
|
|
Requires: %name-backup
|
|
Requires: %name-files_services
|
|
Requires: %name-notify
|
|
Requires: %name-files
|
|
Requires: %name-api_system
|
|
Requires: %name-proxy
|
|
Requires: %name-people.server
|
|
Requires: %name-urlshortener
|
|
Requires: %name-thumbnails
|
|
Requires: %name-studio
|
|
Requires: %name-studio.notify
|
|
Requires: %name-socket
|
|
Requires: %name-api
|
|
AutoReqProv: no
|
|
%description
|
|
App Server is a platform for building your own online office by connecting ONLYOFFICE modules packed as separate apps.
|
|
|
|
%include package.spec
|
|
|
|
%prep
|
|
|
|
rm -rf %{_rpmdir}/%{_arch}/%{name}-*
|
|
%setup -n AppServer-%GIT_BRANCH
|
|
|
|
%include build.spec
|
|
|
|
%include install.spec
|
|
|
|
%include files.spec
|
|
|
|
%pre
|
|
|
|
%pre common
|
|
|
|
getent group onlyoffice >/dev/null || groupadd -r onlyoffice
|
|
getent passwd onlyoffice >/dev/null || useradd -r -g onlyoffice -s /sbin/nologin onlyoffice
|
|
|
|
%post
|
|
|
|
chmod +x %{_bindir}/appserver-configuration.sh
|
|
|
|
%preun
|
|
|
|
%postun
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%changelog
|