Projects
home:mollekopf:branches:Kolab:Winterfell
libkolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Difference Between Revision 3 and
Kolab:Winterfell
/
libkolab
View file
libkolab.spec
Changed
@@ -200,6 +200,26 @@ %description -n plesk-php74-kolab libkolab bindings for Plesk's PHP 7.4 + +%package -n plesk-php80-kolab +Summary: libkolab bindings for Plesk's PHP 8.0 +Group: System Environment/Libraries +Provides: php-bindings(libkolab) = %{version}-%{release} +Requires: libkolab%{?_isa} = %{version} +Requires: plesk-php80 + +%description -n plesk-php80-kolab +libkolab bindings for Plesk's PHP 8.0 + +%package -n plesk-php81-kolab +Summary: libkolab bindings for Plesk's PHP 8.1 +Group: System Environment/Libraries +Provides: php-bindings(libkolab) = %{version}-%{release} +Requires: libkolab%{?_isa} = %{version} +Requires: plesk-php81 + +%description -n plesk-php81-kolab +libkolab bindings for Plesk's PHP 8.1 %endif %package -n python-kolab @@ -254,6 +274,12 @@ cp -a libkolab-%{version} libkolab-%{version}-7.4 sed -i "s/-php/-php7/g" libkolab-%{version}-7.4/cmake/modules/SWIGUtils.cmake + +cp -a libkolab-%{version} libkolab-%{version}-8.0 +sed -i "s/-php/-php7/g" libkolab-%{version}-8.0/cmake/modules/SWIGUtils.cmake + +cp -a libkolab-%{version} libkolab-%{version}-8.1 +sed -i "s/-php/-php7/g" libkolab-%{version}-8.1/cmake/modules/SWIGUtils.cmake %endif %if 0%{?with_php7} @@ -262,6 +288,10 @@ popd %endif +%if 0%{?with_python} +cp -a libkolab-%{version} libkolab-%{version}-python2 +%endif + %if 0%{?with_python3} cp -a libkolab-%{version} libkolab-%{version}-python3 %endif @@ -309,7 +339,7 @@ popd %if 0%{with_python} - pushd %{name}-%{version}-python + pushd %{name}-%{version}-python2 rm -rf build mkdir -p build pushd build @@ -361,9 +391,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 @@ -418,9 +448,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 @@ -457,6 +487,7 @@ make install DESTDIR=%{buildroot} INSTALL='install -p' popd touch %{buildroot}/%{python2_sitearch}/kolab/__init__.py +popd %endif @@ -466,6 +497,7 @@ make install DESTDIR=%{buildroot} INSTALL='install -p' popd touch %{buildroot}/%{python3_sitearch}/kolab/__init__.py +popd %endif %check @@ -555,6 +587,20 @@ /opt/plesk/php/7.4/share/php/*.php /opt/plesk/php/7.4/etc/php.d/*.ini /opt/plesk/php/7.4/etc/php-fpm.d/*.ini + +%files -n plesk-php80-kolab +%defattr(-,root,root,-) +/opt/plesk/php/8.0/lib64/php/modules/*.so +/opt/plesk/php/8.0/share/php/*.php +/opt/plesk/php/8.0/etc/php.d/*.ini +/opt/plesk/php/8.0/etc/php-fpm.d/*.ini + +%files -n plesk-php81-kolab +%defattr(-,root,root,-) +/opt/plesk/php/8.1/lib64/php/modules/*.so +/opt/plesk/php/8.1/share/php/*.php +/opt/plesk/php/8.1/etc/php.d/*.ini +/opt/plesk/php/8.1/etc/php-fpm.d/*.ini %endif %if 0%{?with_python} > 0
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
.