Accepting request 966709 from home:MargueriteSu:branches:M17N

- add baselibs.conf back due to fcitx-qt5

OBS-URL: https://build.opensuse.org/request/show/966709
OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=168
This commit is contained in:
Marguerite Su 2022-04-04 05:17:46 +00:00 committed by Git OBS Bridge
parent a696245f25
commit 7935b1ce82
3 changed files with 46 additions and 2 deletions

38
baselibs.conf Normal file
View File

@ -0,0 +1,38 @@
libfcitx-core0
post "/sbin/ldconfig"
postun "/sbin/ldconfig"
libfcitx-gclient1
post "/sbin/ldconfig"
postun "/sbin/ldconfig"
libfcitx-utils0
post "/sbin/ldconfig"
postun "/sbin/ldconfig"
libfcitx-config4
post "/sbin/ldconfig"
postun "/sbin/ldconfig"
fcitx-gtk2
supplements "(fcitx and libgtk-2_0-0-<targettype>)"
post "%if "%_lib" == "lib64""
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
post "%else"
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
post "%endif"
postun "%if "%_lib" == "lib64""
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
postun "%else"
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
postun "%endif"
fcitx-gtk3
supplements "(fcitx and libgtk-3-0-<targettype>)"
post "%if "%_lib" == "lib64""
post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache"
post "%else"
post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache"
post "%endif"
postun "%if "%_lib" == "lib64""
postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache"
postun "%else"
postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache"
postun "%endif"
fcitx-qt4
supplements "(fcitx and libqt4-<targettype>)"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 4 04:08:25 UTC 2022 - Marguerite Su <i@marguerite.su>
- add baselibs.conf back due to fcitx-qt5
-------------------------------------------------------------------
Sun Feb 20 10:55:08 UTC 2022 - Marguerite Su <i@marguerite.su>

View File

@ -33,6 +33,7 @@ Source2: fcitx-README.suse
Source3: xim.fcitx.suse.template
Source8: openSUSE-themes.tar.gz
Source9: macros.%{name}
Source99: baselibs.conf
Source100: https://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz.sig
# PATCH-FIX-OPENSUSE fcitx-autostart-check-INPUT_METHOD.patch boo#947576
Patch2: fcitx-autostart-check-INPUT_METHOD.patch
@ -71,7 +72,7 @@ BuildRequires: pkgconfig(xkbfile)
Requires: %{name}-branding = %{version}
Recommends: %{name}-pinyin = %{version}-%{release}
Recommends: %{name}-table = %{version}-%{release}
# These libraries are dlopen-ed in fcitx at runtime
# These libraries are dlopen-ed in fcitx at runtime
# for spell-checking for keyboard users. ld can't find
# them, so explicitly recommends.
Recommends: libenchant1
@ -119,8 +120,8 @@ Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
Requires: libfcitx-config4 = %{version}
Requires: libfcitx-core0 = %{version}
Requires: libfcitx-utils0 = %{version}
Requires: libfcitx-gclient1 = %{version}
Requires: libfcitx-utils0 = %{version}
%description devel
Development header files for Fcitx input method framework.