Evgeniy Antonyuk
4e5bd47c26
* Add a build and install new services * Change the packaging for the new build script * Correct the configuration * Add a bug fix with a mysql password containing ';' * Fix services crash error * Fix incorrect value addition in mysql * Fix a rabbitmq error on CentOS 8 * Fix creating an invalid mysql password * Fix non-existent tables Tenants * Add an update to 1click * Code correction * Add two new services * Add the buildpath variable * Code Optimization * Renaming services and creating a variable for the app name * Revert "Merge branch 'feature/rpm-update' of https://github.com/ONLYOFFICE/AppServer into feature/rpm-update" This reverts commit 19c1eae6f6e3f22f4cbc0e3276fa892b0d9fa97a, reversing changes made to fb36a996366291486e3b9f5a6f46398916ef8a6c. * Code Optimization * Code optimization * Code optimization and creating a variables
308 lines
11 KiB
RPMSpec
308 lines
11 KiB
RPMSpec
%files
|
|
%config %attr(644, root, root) %{_bindir}/*
|
|
|
|
%files api
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/studio/api/
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-api.service
|
|
%dir %{buildpath}/studio/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files backup
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.Data.Backup/
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-backup.service
|
|
%dir %{buildpath}/services/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files common
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%config %{_sysconfdir}/onlyoffice/%{product}/
|
|
%{_var}/log/onlyoffice/%{product}/
|
|
%{buildpath}/sql/
|
|
%dir %{_sysconfdir}/onlyoffice/
|
|
%dir %{_var}/log/onlyoffice/
|
|
|
|
%files files-services
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/products/ASC.Files/service/
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.People/server/ASC.People*.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-files-services.service
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files notify
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.Notify/
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-notify.service
|
|
%dir %{buildpath}/services/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files files
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/products/ASC.Files/server/
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-files.service
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files api-system
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.ApiSystem/
|
|
%{_sysconfdir}/systemd/system/%{product}-api-system.service
|
|
%dir %{buildpath}/services/
|
|
|
|
%files proxy
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{_sysconfdir}/nginx/includes/*
|
|
%{_sysconfdir}/nginx/conf.d/*
|
|
%{buildpath}/public/
|
|
%{buildpath}/studio/client/
|
|
%{buildpath}/studio/login
|
|
%{buildpath}/products/ASC.People/client/
|
|
%{buildpath}/products/ASC.Files/client/
|
|
%{buildpath}/products/ASC.Files/editor/
|
|
%{buildpath}/products/ASC.CRM/client/
|
|
%{buildpath}/products/ASC.Projects/client
|
|
%{buildpath}/products/ASC.Calendar/client/
|
|
%{buildpath}/products/ASC.Mail/client
|
|
%dir %{buildpath}/studio/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Calendar/
|
|
%dir %{buildpath}/products/ASC.Mail/
|
|
|
|
%files studio-notify
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.Studio.Notify/
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-studio-notify.service
|
|
%dir %{buildpath}/services/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files people-server
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/products/ASC.People/server/
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-people-server.service
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files urlshortener
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.UrlShortener/
|
|
%{_sysconfdir}/systemd/system/%{product}-urlshortener.service
|
|
%dir %{buildpath}/services/
|
|
|
|
%files thumbnails
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.Thumbnails/
|
|
%{_sysconfdir}/systemd/system/%{product}-thumbnails.service
|
|
%dir %{buildpath}/services/
|
|
|
|
%files socket
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.Socket.IO/
|
|
%{buildpath}/products/ASC.Files/server/
|
|
%{buildpath}/products/ASC.People/server/
|
|
%{buildpath}/products/ASC.CRM/server/
|
|
%{buildpath}/products/ASC.Projects/server/
|
|
%{_sysconfdir}/systemd/system/%{product}-socket.service
|
|
%dir %{buildpath}/services/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
|
|
%files studio
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/studio/server/
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-studio.service
|
|
%dir %{buildpath}/studio/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files storage-encryption
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.Data.Storage.Encryption/
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-storage-encryption.service
|
|
%dir %{buildpath}/services/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server
|
|
|
|
%files storage-migration
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.Data.Storage.Migration/
|
|
%{buildpath}/products/ASC.Files/server/
|
|
%{buildpath}/products/ASC.People/server/
|
|
%{buildpath}/products/ASC.CRM/server/
|
|
%{buildpath}/products/ASC.Projects/server/
|
|
%{_sysconfdir}/systemd/system/%{product}-storage-migration.service
|
|
%dir %{buildpath}/services/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
|
|
%files projects-server
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/products/ASC.Projects/server/
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-projects-server.service
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
|
|
%files telegram-service
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/services/ASC.TelegramService/
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.CRM/server/ASC.CRM*.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-telegram-service.service
|
|
%dir %{buildpath}/services/
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.People/
|
|
%dir %{buildpath}/products/ASC.People/server/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.CRM/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files crm
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/products/ASC.CRM/server/
|
|
%{buildpath}/products/ASC.Files/server/ASC.Files*.dll
|
|
%{buildpath}/products/ASC.People/server/ASC.People.dll
|
|
%{buildpath}/products/ASC.Projects/server/ASC.Projects*.dll
|
|
%{_sysconfdir}/systemd/system/%{product}-crm.service
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.CRM/
|
|
%dir %{buildpath}/products/ASC.Files/
|
|
%dir %{buildpath}/products/ASC.Files/server/
|
|
%dir %{buildpath}/products/ASC.Projects/
|
|
%dir %{buildpath}/products/ASC.Projects/server/
|
|
|
|
%files calendar
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/products/ASC.Calendar/server/
|
|
%{_sysconfdir}/systemd/system/%{product}-calendar.service
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.Calendar/
|
|
|
|
%files mail
|
|
%defattr(-, onlyoffice, onlyoffice, -)
|
|
%{buildpath}/products/ASC.Mail/server/
|
|
%{_sysconfdir}/systemd/system/%{product}-mail.service
|
|
%dir %{buildpath}/products/
|
|
%dir %{buildpath}/products/ASC.Mail/
|