No longer package Zend as vendor library
All RPM installations now depend on php-ZendFramework which is avaiable through the EPEL repository.
This commit is contained in:
parent
764c67cc66
commit
b2c22ebcf9
|
@ -163,18 +163,6 @@ Requires: %{php} >= 5.3.0
|
||||||
Icinga Web 2 vendor library Parsedown
|
Icinga Web 2 vendor library Parsedown
|
||||||
|
|
||||||
|
|
||||||
%package vendor-Zend
|
|
||||||
Version: 1.12.9
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: Icinga Web 2 vendor library Zend Framework
|
|
||||||
Group: Development/Libraries
|
|
||||||
License: BSD
|
|
||||||
Requires: %{php} >= 5.3.0
|
|
||||||
|
|
||||||
%description vendor-Zend
|
|
||||||
Icinga Web 2 vendor library Zend
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
@ -182,12 +170,12 @@ Icinga Web 2 vendor library Zend
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}/{%{basedir}/{modules,library,public},%{bindir},%{configdir}/modules/setup,%{logdir},%{phpdir},%{wwwconfigdir},%{_sysconfdir}/bash_completion.d,%{docsdir}}
|
mkdir -p %{buildroot}/{%{basedir}/{modules,library/vendor,public},%{bindir},%{configdir}/modules/setup,%{logdir},%{phpdir},%{wwwconfigdir},%{_sysconfdir}/bash_completion.d,%{docsdir}}
|
||||||
cp -prv application doc %{buildroot}/%{basedir}
|
cp -prv application doc %{buildroot}/%{basedir}
|
||||||
cp -pv etc/bash_completion.d/icingacli %{buildroot}/%{_sysconfdir}/bash_completion.d/icingacli
|
cp -pv etc/bash_completion.d/icingacli %{buildroot}/%{_sysconfdir}/bash_completion.d/icingacli
|
||||||
cp -prv modules/{monitoring,setup,doc,translation} %{buildroot}/%{basedir}/modules
|
cp -prv modules/{monitoring,setup,doc,translation} %{buildroot}/%{basedir}/modules
|
||||||
cp -prv library/Icinga %{buildroot}/%{phpdir}
|
cp -prv library/Icinga %{buildroot}/%{phpdir}
|
||||||
cp -prv library/vendor %{buildroot}/%{basedir}/library
|
cp -prv library/vendor/{dompdf,HTMLPurifier,JShrink,lessphp,Parsedown} %{buildroot}/%{basedir}/library/vendor
|
||||||
cp -prv public/{css,img,js,error_norewrite.html} %{buildroot}/%{basedir}/public
|
cp -prv public/{css,img,js,error_norewrite.html} %{buildroot}/%{basedir}/public
|
||||||
cp -pv packages/files/apache/icingaweb2.conf %{buildroot}/%{wwwconfigdir}/icingaweb2.conf
|
cp -pv packages/files/apache/icingaweb2.conf %{buildroot}/%{wwwconfigdir}/icingaweb2.conf
|
||||||
cp -pv packages/files/bin/icingacli %{buildroot}/%{bindir}
|
cp -pv packages/files/bin/icingacli %{buildroot}/%{bindir}
|
||||||
|
@ -273,8 +261,3 @@ exit 0
|
||||||
%files vendor-Parsedown
|
%files vendor-Parsedown
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{basedir}/library/vendor/Parsedown
|
%{basedir}/library/vendor/Parsedown
|
||||||
|
|
||||||
|
|
||||||
%files vendor-Zend
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{basedir}/library/vendor/Zend
|
|
||||||
|
|
Loading…
Reference in New Issue