Projects
Kolab:Winterfell
libkolabxml
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 32
View file
libkolabxml.spec
Changed
@@ -81,6 +81,9 @@ BuildRequires: boost-devel BuildRequires: cmake >= 2.6 +%if 0%{?rhel} >= 8 || 0%{?fedora} +BuildRequires: extra-cmake-modules +%endif BuildRequires: e2fsprogs-devel BuildRequires: gcc-c++ BuildRequires: libcurl-devel @@ -88,8 +91,12 @@ %if 0%{?suse_version} BuildRequires: qt-devel %else +%if 0%{?rhel} >= 8 || 0%{?fedora} +BuildRequires: qt5-qtbase-devel +%else BuildRequires: qt4-devel %endif +%endif BuildRequires: swig BuildRequires: uuid-devel BuildRequires: xsd @@ -137,6 +144,9 @@ Requires: libkolabxml%{?_isa} = %{version} Requires: boost-devel Requires: cmake >= 2.6 +%if 0%{?rhel} >= 8 || 0%{?fedora} +Requires: extra-cmake-modules +%endif Requires: e2fsprogs-devel Requires: gcc-c++ Requires: libcurl-devel @@ -153,8 +163,12 @@ %if 0%{?suse_version} Requires: qt-devel %else +%if 0%{?fedora} || 0%{?rhel} >= 8 +Requires: qt5-qtbase-devel +%else Requires: qt4-devel %endif +%endif Requires: swig Requires: uuid-devel %if 0%{?suse_version} @@ -234,7 +248,11 @@ Obsoletes: python-%{name} < %{version} Provides: python-%{name} = %{version} %endif +%if 0%{?rhel} >= 8 || 0%{?fedora} +BuildRequires: python2-devel +%else BuildRequires: python-devel +%endif %description -n python-kolabformat The PyKolab format package offers a comprehensive Python library using the @@ -290,6 +308,9 @@ -DBOOST_INCLUDEDIR=%{_includedir}/boost141 \ -DBoost_ADDITIONAL_VERSIONS="1.41;1.41.0" \ %endif +%if 0%{?rhel} >= 8 || 0%{?fedora} + -DQT5_BUILD=ON \ +%endif -DINCLUDE_INSTALL_DIR=%{_includedir} \ %if 0%{?with_csharp} > 0 -DCSHARP_BINDINGS=ON \
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
.