Projects
Kolab:Winterfell
libkolabxml
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 58
View file
libkolabxml.spec
Changed
@@ -151,8 +151,10 @@ %if 0%{?with_php} > 0 Requires: php-devel >= 5.3 %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} Requires: plesk-php56-devel Requires: plesk-php70-devel +%endif Requires: plesk-php71-devel Requires: plesk-php72-devel Requires: plesk-php73-devel @@ -241,8 +243,10 @@ BuildRequires: php >= 5.3 BuildRequires: php-devel >= 5.3 %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} BuildRequires: plesk-php56-devel BuildRequires: plesk-php70-devel +%endif BuildRequires: plesk-php71-devel BuildRequires: plesk-php72-devel BuildRequires: plesk-php73-devel @@ -255,6 +259,7 @@ %endif %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} %package -n plesk-php56-kolabformat Summary: libkolabxml bindings for Plesk's PHP 5.6 Group: System Environment/Libraries @@ -274,6 +279,7 @@ %description -n plesk-php70-kolabformat libkolabxml bindings for Plesk's PHP 7.0 +%endif %package -n plesk-php71-kolabformat Summary: libkolabxml bindings for Plesk's PHP 7.1 @@ -346,10 +352,12 @@ %endif %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} cp -a libkolabxml-%{version} libkolabxml-%{version}-5.6 cp -a libkolabxml-%{version} libkolabxml-%{version}-7.0 sed -i "s/-php/-php7/g" libkolabxml-%{version}-7.0/src/php/CMakeLists.txt +%endif cp -a libkolabxml-%{version} libkolabxml-%{version}-7.1 sed -i "s/-php/-php7/g" libkolabxml-%{version}-7.1/src/php/CMakeLists.txt @@ -376,8 +384,10 @@ popd %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} cp %{name}-%{version}/tztable.h %{name}-%{version}-5.6/. cp %{name}-%{version}/tztable.h %{name}-%{version}-7.0/. +%endif 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/. @@ -442,7 +452,11 @@ popd %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} for version in 5.6 7.0 7.1 7.2 7.3 7.4; do +%else +for version in 7.1 7.2 7.3 7.4; do +%endif pushd %{name}-%{version}-${version} rm -rf build mkdir -p build @@ -488,7 +502,11 @@ popd %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} for version in 5.6 7.0 7.1 7.2 7.3 7.4; do +%else +for version in 7.1 7.2 7.3 7.4; do +%endif pushd %{name}-%{version}-${version} pushd build make install DESTDIR=%{buildroot} INSTALL='install -p' @@ -528,7 +546,11 @@ popd %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} for version in 5.6 7.0 7.1 7.2 7.3 7.4; do +%else +for version in 7.1 7.2 7.3 7.4; do +%endif 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 ||: @@ -580,6 +602,7 @@ %config(noreplace) %{php_inidir}/kolabformat.ini %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} %files -n plesk-php56-kolabformat %defattr(-,root,root,-) /opt/plesk/php/5.6/lib64/php/modules/kolabformat.so @@ -593,6 +616,7 @@ /opt/plesk/php/7.0/share/php/kolabformat.php /opt/plesk/php/7.0/etc/php.d/kolabformat.ini /opt/plesk/php/7.0/etc/php-fpm.d/kolabformat.ini +%endif %files -n plesk-php71-kolabformat %defattr(-,root,root,-)
View file
debian.rules
Changed
@@ -8,7 +8,6 @@ PHP_VERSIONS=7.4 7.3 7.2 7.1 7.0 5.6 -# Uncomment this to turn on verbose mode. export DH_VERBOSE=1 export DH_OPTIONS=-v
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
.