|
|
@ -75,22 +75,12 @@ BuildRequires: libidn-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
|
|
|
|
|
|
|
# PYTHON support
|
|
|
|
# PYTHON support
|
|
|
|
%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9
|
|
|
|
%global python python3
|
|
|
|
%define with_python 0
|
|
|
|
|
|
|
|
%global __python %__python3
|
|
|
|
%global __python %__python3
|
|
|
|
%else
|
|
|
|
%global python_sitearch %{python3_sitearch}
|
|
|
|
%define with_python 1
|
|
|
|
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
|
|
%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8
|
|
|
|
|
|
|
|
%global python python2
|
|
|
|
|
|
|
|
%global __python %__python2
|
|
|
|
|
|
|
|
%global python_sitearch %{python2_sitearch}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global python python
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
BuildRequires: %{python}
|
|
|
|
BuildRequires: %{python}
|
|
|
|
BuildRequires: %{python}-devel
|
|
|
|
BuildRequires: %{python}-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# SUSE desktop files utility
|
|
|
|
# SUSE desktop files utility
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%if 0%{?suse_version}
|
|
|
@ -280,6 +270,8 @@ export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz
|
|
|
|
%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz
|
|
|
|
%{tde_datadir}/icons/hicolor/*/apps/konversation.png
|
|
|
|
%{tde_datadir}/icons/hicolor/*/apps/konversation.png
|
|
|
|
%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz
|
|
|
|
%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz
|
|
|
|
|
|
|
|
%{tde_mandir}/man1/konversation.1*
|
|
|
|
|
|
|
|
%{tde_mandir}/man1/konversationircprotocolhandler.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|