Projects
Kolab:16:Testing
libkolabxml
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
libkolabxml.spec
Changed
@@ -4,6 +4,9 @@ #!BuildIgnore: httpd %endif +# The cmake macro changed to build out of source by default, which breaks our own out of source build, so disable that. +%define __cmake_in_source_build 1 + %{?!mono_arches: %global mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64} %ifarch %{mono_arches} @@ -338,6 +341,27 @@ %description -n plesk-php74-kolabformat libkolabxml bindings for Plesk's PHP 7.4 + +%package -n plesk-php80-kolabformat +Summary: libkolabxml bindings for Plesk's PHP 8.0 +Group: System Environment/Libraries +Provides: php-bindings(libkolabxml) = %{version}-%{release} +Requires: libkolabxml%{?_isa} = %{version} +Requires: plesk-php80 + +%description -n plesk-php80-kolabformat +libkolabxml bindings for Plesk's PHP 8.0 + +%package -n plesk-php81-kolabformat +Summary: libkolabxml bindings for Plesk's PHP 8.1 +Group: System Environment/Libraries +Provides: php-bindings(libkolabxml) = %{version}-%{release} +Requires: libkolabxml%{?_isa} = %{version} +Requires: plesk-php81 + +%description -n plesk-php81-kolabformat +libkolabxml bindings for Plesk's PHP 8.1 + %endif # if 0%{?plesk} %if 0%{?with_python} > 0 @@ -404,6 +428,12 @@ cp -a libkolabxml-%{version} libkolabxml-%{version}-7.4 sed -i "s/-php/-php7/g" libkolabxml-%{version}-7.4/src/php/CMakeLists.txt + +cp -a libkolabxml-%{version} libkolabxml-%{version}-8.0 +sed -i "s/-php/-php8/g" libkolabxml-%{version}-8.0/src/php/CMakeLists.txt + +cp -a libkolabxml-%{version} libkolabxml-%{version}-8.1 +sed -i "s/-php/-php8/g" libkolabxml-%{version}-8.1/src/php/CMakeLists.txt %endif %if 0%{?with_php7} @@ -434,6 +464,8 @@ cp %{name}-%{version}/tztable.h %{name}-%{version}-7.2/. cp %{name}-%{version}/tztable.h %{name}-%{version}-7.3/. cp %{name}-%{version}/tztable.h %{name}-%{version}-7.4/. +cp %{name}-%{version}/tztable.h %{name}-%{version}-8.0/. +cp %{name}-%{version}/tztable.h %{name}-%{version}-8.1/. %endif %if 0%{?with_python3} > 0 cp %{name}-%{version}/tztable.h %{name}-%{version}-python3/. @@ -464,8 +496,6 @@ %endif -DBUILD_SHARED_LIBS:BOOL=ON \ %else # if 0${?suse_version} -# The cmake macro changed to build out of source by default, which breaks our own out of source build, so disable that. -%define __cmake_in_source_build 1 %cmake \ %endif -DBoost_NO_BOOST_CMAKE=TRUE \ @@ -524,9 +554,9 @@ %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 +for version in 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1; do %else -for version in 7.1 7.2 7.3 7.4; do +for version in 7.1 7.2 7.3 7.4 8.0 8.1; do %endif pushd %{name}-%{version}-${version} rm -rf build @@ -582,9 +612,9 @@ %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 +for version in 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1; do %else -for version in 7.1 7.2 7.3 7.4; do +for version in 7.1 7.2 7.3 7.4 8.0 8.1; do %endif pushd %{name}-%{version}-${version} pushd build @@ -633,9 +663,9 @@ %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 +for version in 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1; do %else -for version in 7.1 7.2 7.3 7.4; do +for version in 7.1 7.2 7.3 7.4 8.0 8.1; do %endif pushd %{name}-%{version}-${version}/build/ export LD_LIBRARY_PATH=$( pwd )/src/ @@ -732,6 +762,20 @@ /opt/plesk/php/7.4/etc/php.d/kolabformat.ini /opt/plesk/php/7.4/etc/php-fpm.d/kolabformat.ini +%files -n plesk-php80-kolabformat +%defattr(-,root,root,-) +/opt/plesk/php/8.0/lib64/php/modules/kolabformat.so +/opt/plesk/php/8.0/share/php/kolabformat.php +/opt/plesk/php/8.0/etc/php.d/kolabformat.ini +/opt/plesk/php/8.0/etc/php-fpm.d/kolabformat.ini + +%files -n plesk-php81-kolabformat +%defattr(-,root,root,-) +/opt/plesk/php/8.1/lib64/php/modules/kolabformat.so +/opt/plesk/php/8.1/share/php/kolabformat.php +/opt/plesk/php/8.1/etc/php.d/kolabformat.ini +/opt/plesk/php/8.1/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
.