SHA256
1
0
forked from pool/pidgin
Alexei Sorokin 2017-11-02 14:57:22 +00:00 committed by Git OBS Bridge
parent 5f603a1b4f
commit 228a281568

View File

@ -68,11 +68,15 @@ BuildRequires: meanwhile-devel
BuildRequires: mozilla-nspr-devel BuildRequires: mozilla-nspr-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python2-devel
BuildRequires: startup-notification-devel BuildRequires: startup-notification-devel
BuildRequires: tk-devel BuildRequires: tk-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
Requires: perl-base >= %{perl_version} Requires: perl-base >= %{perl_version}
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300
BuildRequires: python2-devel
%else
BuildRequires: python-devel
%endif
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse}) %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
BuildRequires: farstream-devel >= 0.2.7 BuildRequires: farstream-devel >= 0.2.7
BuildRequires: gstreamer-devel BuildRequires: gstreamer-devel
@ -88,13 +92,13 @@ Recommends: %{name}-emoticons-nld
Recommends: %{name}-emoticons-tango Recommends: %{name}-emoticons-tango
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%endif %endif
%if 0%{?suse_version} < 1120
# gnome-keyring support summary (boo#566286): # gnome-keyring support summary (boo#566286):
# 11.1 & SLE11: patch present and active (boo#569025) # 11.1 & SLE11: patch present and active (boo#569025)
# 11.2 and above: patch not applied # 11.2 and above: patch not applied
# For openSUSE, it's better to avoid this patch: # For openSUSE, it's better to avoid this patch:
# + does not work well outside GNOME # + does not work well outside GNOME
# - passwords are stored in readable form # - passwords are stored in readable form
%if 0%{?suse_version} < 1120
BuildRequires: gnome-keyring-devel BuildRequires: gnome-keyring-devel
%endif %endif
%if 0%{?suse_version} > 1210 %if 0%{?suse_version} > 1210
@ -331,7 +335,7 @@ done
%suse_update_desktop_file -N %{_name} -G "Instant Messenger" %{name} %suse_update_desktop_file -N %{_name} -G "Instant Messenger" %{name}
%find_lang %{name} %{?no_lang_C} %find_lang %{name} %{?no_lang_C}
%if 0%{?suse_version} > 1130 %if 0%{?suse_version} > 1130 && 0%{?suse_version} <= 1320
%post %post
%desktop_database_post %desktop_database_post
%icon_theme_cache_post %icon_theme_cache_post