Bugfix/change a spec file (#514)
* Add a necessary sources * Visual code changes * Update appserver.spec
This commit is contained in:
parent
3b3f4566b4
commit
f4d6cdde59
@ -1,24 +1,29 @@
|
|||||||
%define debug_package %{nil}
|
|
||||||
%global product appserver
|
%global product appserver
|
||||||
%global buildpath %{_var}/www/%{product}
|
%global buildpath %{_var}/www/%{product}
|
||||||
%global sourcename AppServer-%GIT_BRANCH
|
%global sourcename AppServer-%GIT_BRANCH
|
||||||
|
|
||||||
Name: onlyoffice-appserver
|
Name: onlyoffice-appserver
|
||||||
Summary: Business productivity tools.
|
Summary: Business productivity tools.
|
||||||
|
Group: Applications/Internet
|
||||||
Version: %version
|
Version: %version
|
||||||
Release: %release
|
Release: %release
|
||||||
Group: Applications/Internet
|
ExclusiveArch: x86_64
|
||||||
|
AutoReqProv: no
|
||||||
|
|
||||||
URL: http://onlyoffice.com
|
URL: http://onlyoffice.com
|
||||||
Vendor: Ascensio System SIA
|
Vendor: Ascensio System SIA
|
||||||
Packager: Ascensio System SIA <support@onlyoffice.com>
|
Packager: Ascensio System SIA <support@onlyoffice.com>
|
||||||
ExclusiveArch: x86_64
|
|
||||||
AutoReq: no
|
|
||||||
AutoProv: no
|
|
||||||
License: AGPLv3
|
License: AGPLv3
|
||||||
Source0: https://github.com/ONLYOFFICE/%{product}/archive/%GIT_BRANCH.tar.gz
|
|
||||||
|
Source0: https://github.com/ONLYOFFICE/%{product}/archive/%GIT_BRANCH.tar.gz#/%{sourcename}.tar.gz
|
||||||
|
Source1: https://github.com/ONLYOFFICE/document-templates/archive/main/community-server.tar.gz#/document-templates-main-community-server.tar.gz
|
||||||
|
Source2: https://github.com/ONLYOFFICE/dictionaries/archive/master.tar.gz#/dictionaries-master.tar.gz
|
||||||
|
Source3: https://github.com/ONLYOFFICE/CommunityServer/archive/master.tar.gz#/CommunityServer-master.tar.gz
|
||||||
|
|
||||||
BuildRequires: nodejs >= 12.0
|
BuildRequires: nodejs >= 12.0
|
||||||
BuildRequires: yarn
|
BuildRequires: yarn
|
||||||
BuildRequires: libgdiplus
|
|
||||||
BuildRequires: dotnet-sdk-5.0
|
BuildRequires: dotnet-sdk-5.0
|
||||||
|
|
||||||
Requires: %name-api-system
|
Requires: %name-api-system
|
||||||
Requires: %name-calendar
|
Requires: %name-calendar
|
||||||
Requires: %name-crm
|
Requires: %name-crm
|
||||||
@ -40,7 +45,7 @@ Requires: %name-urlshortener
|
|||||||
Requires: %name-api
|
Requires: %name-api
|
||||||
Requires: %name-studio
|
Requires: %name-studio
|
||||||
Requires: %name-proxy
|
Requires: %name-proxy
|
||||||
AutoReqProv: no
|
|
||||||
%description
|
%description
|
||||||
App Server is a platform for building your own online office by connecting ONLYOFFICE modules packed as separate apps.
|
App Server is a platform for building your own online office by connecting ONLYOFFICE modules packed as separate apps.
|
||||||
|
|
||||||
@ -49,7 +54,10 @@ App Server is a platform for building your own online office by connecting ONLYO
|
|||||||
%prep
|
%prep
|
||||||
|
|
||||||
rm -rf %{_rpmdir}/%{_arch}/%{name}-*
|
rm -rf %{_rpmdir}/%{_arch}/%{name}-*
|
||||||
%setup -n %{sourcename}
|
%setup -b1 -b2 -b3 -n %{sourcename}
|
||||||
|
mv -f %{_builddir}/document-templates-main-community-server/* %{_builddir}/%{sourcename}/products/ASC.Files/Server/DocStore/
|
||||||
|
mv -f %{_builddir}/dictionaries-master/* %{_builddir}/%{sourcename}/common/Tests/Frontend.Translations.Tests/dictionaries/
|
||||||
|
mv -f %{_builddir}/CommunityServer-master/build/sql/* %{_builddir}/%{sourcename}/build/install/docker/config/
|
||||||
|
|
||||||
%include build.spec
|
%include build.spec
|
||||||
|
|
||||||
@ -74,6 +82,6 @@ chmod +x %{_bindir}/%{product}-configuration.sh
|
|||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
|
||||||
rm -rf %{buildroot}
|
rm -rf %{_builddir} %{buildroot}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user