Projects
Kontact:4.13:Development
libkolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 23
View file
libkolab.spec
Changed
@@ -80,6 +80,8 @@ %endif Development headers for the Kolab object libraries. +%if 0%{?fedora} >= 25 +%else %package -n php-kolab Summary: PHP Bindings for libkolab Group: System Environment/Libraries @@ -98,6 +100,8 @@ %description -n php-kolab PHP Bindings for libkolab +%endif + %package -n python-kolab Summary: Python bindings for libkolab Group: System Environment/Libraries @@ -147,8 +151,11 @@ %if 0%{?rhel} < 7 && 0%{?fedora} < 20 -DUSE_LIBCALENDARING=ON \ %endif +%if 0%{?fedora} >= 25 +%else -DPHP_BINDINGS=ON \ -DPHP_INSTALL_DIR=%{php_extdir} \ +%endif -DPYTHON_BINDINGS=ON \ -DPYTHON_INSTALL_DIR=%{python_sitearch} \ .. @@ -161,6 +168,8 @@ make install DESTDIR=%{buildroot} popd +%if 0%{?fedora} >= 25 +%else mkdir -p %{buildroot}/%{_datadir}/%{php} mv %{buildroot}/%{php_extdir}/*.php %{buildroot}/%{_datadir}/%{php}/. @@ -179,6 +188,7 @@ extension=dummy.so EOF +%endif touch %{buildroot}/%{python_sitearch}/kolab/__init__.py @@ -213,6 +223,8 @@ %{_libdir}/cmake/Libkolab %{_includedir}/kolab +%if 0%{?fedora} >= 25 +%else %files -n php-kolab %config(noreplace) %{php_inidir}/kolab.ini %config(noreplace) %{php_inidir}/kolabdummy.ini @@ -226,6 +238,7 @@ %{php_extdir}/kolabshared.so %{_datadir}/%{php}/dummy.php %{php_extdir}/dummy.so +%endif %files -n python-kolab %dir %{python_sitearch}/kolab/
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
.