Projects
Kolab:16:TestingLinked
libkolabxml
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 11
View file
libkolabxml.spec
Changed
@@ -285,6 +285,15 @@ %description -n plesk-php72-kolabformat libkolabxml bindings for Plesk's PHP 7.2 + +%package -n plesk-php73-kolabformat +Summary: libkolabxml bindings for Plesk's PHP 7.3 +Group: System Environment/Libraries +Requires: libkolabxml%{?_isa} = %{version} +Requires: plesk-php73 + +%description -n plesk-php73-kolabformat +libkolabxml bindings for Plesk's PHP 7.3 %endif # if 0%{?plesk} %if 0%{?with_python} > 0 @@ -327,10 +336,15 @@ cp -a libkolabxml-%{version} libkolabxml-%{version}-7.2 sed -i "s/-php/-php7/g" libkolabxml-%{version}-7.2/src/php/CMakeLists.txt + +cp -a libkolabxml-%{version} libkolabxml-%{version}-7.3 +sed -i "s/-php/-php7/g" libkolabxml-%{version}-7.3/src/php/CMakeLists.txt %endif %if 0%{?with_php7} +pushd %{name}-%{version} sed -i "s/-php/-php7/g" src/php/CMakeLists.txt +popd %endif %build @@ -343,6 +357,7 @@ cp %{name}-%{version}/tztable.h %{name}-%{version}-7.0/. cp %{name}-%{version}/tztable.h %{name}-%{version}-7.1/. cp %{name}-%{version}/tztable.h %{name}-%{version}-7.2/. +cp %{name}-%{version}/tztable.h %{name}-%{version}-7.3/. %endif pushd %{name}-%{version} @@ -403,7 +418,7 @@ popd %if 0%{?plesk} -for version in 5.6 7.0 7.1 7.2; do +for version in 5.6 7.0 7.1 7.2 7.3; do pushd %{name}-%{version}-${version} rm -rf build mkdir -p build @@ -449,7 +464,7 @@ popd %if 0%{?plesk} -for version in 5.6 7.0 7.1 7.2; do +for version in 5.6 7.0 7.1 7.2 7.3; do pushd %{name}-%{version}-${version} pushd build make install DESTDIR=%{buildroot} INSTALL='install -p' @@ -489,8 +504,8 @@ popd %if 0%{?plesk} -for version in 5.6 7.0 7.1 7.2; do - pushd %{name}-%{version}-5.6/build/ +for version in 5.6 7.0 7.1 7.2 7.3; do + pushd %{name}-%{version}-${version}/build/ export LD_LIBRARY_PATH=$( pwd )/src/ /opt/plesk/php/${version}/bin/php -d enable_dl=On -dextension=src/php/kolabformat.so src/php/test.php ||: popd @@ -569,7 +584,13 @@ /opt/plesk/php/7.2/etc/php.d/kolabformat.ini /opt/plesk/php/7.2/etc/php-fpm.d/kolabformat.ini -%endif +%files -n plesk-php73-kolabformat +%defattr(-,root,root,-) +/opt/plesk/php/7.3/lib64/php/modules/kolabformat.so +/opt/plesk/php/7.3/share/php/kolabformat.php +/opt/plesk/php/7.3/etc/php.d/kolabformat.ini +/opt/plesk/php/7.3/etc/php-fpm.d/kolabformat.ini +%endif # if 0%{?plesk} %endif # if 0%{?with_php}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.