forked from pool/fcitx
Accepting request 309527 from M17N
1 OBS-URL: https://build.opensuse.org/request/show/309527 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcitx?expand=0&rev=46
This commit is contained in:
commit
37b10b4ef1
@ -1,11 +1,11 @@
|
||||
libfcitx-4_2_8
|
||||
libfcitx-4_2_9
|
||||
requires "fcitx = <version>"
|
||||
obsoletes "libfcitx-<targettype> < <version>"
|
||||
provides "libfcitx-<targettype> = <version>"
|
||||
obsoletes "libfcitx-<targettype> < <version>"
|
||||
provides "libfcitx-<targettype> = <version>"
|
||||
post "/sbin/ldconfig"
|
||||
postun "/sbin/ldconfig"
|
||||
postun "/sbin/ldconfig"
|
||||
fcitx-gtk2
|
||||
requires "libfcitx-4_2_8-<targettype> = <version>"
|
||||
requires "libfcitx-4_2_9-<targettype> = <version>"
|
||||
post "%if "%_lib" == "lib64""
|
||||
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
||||
post "%else"
|
||||
@ -17,8 +17,8 @@ fcitx-gtk2
|
||||
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
||||
postun "%endif"
|
||||
fcitx-gtk3
|
||||
requires "libfcitx-4_2_8-<targettype> = <version>"
|
||||
post "%if "%_lib" == "lib64""
|
||||
requires "libfcitx-4_2_9-<targettype> = <version>"
|
||||
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"
|
||||
@ -29,4 +29,4 @@ fcitx-gtk3
|
||||
postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache"
|
||||
postun "%endif"
|
||||
fcitx-qt4
|
||||
requires "libfcitx-4_2_8-<targettype> = <version>"
|
||||
requires "libfcitx-4_2_9-<targettype> = <version>"
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:91034e9ef976bbe2649a96b67adf0c133d64e2c0d53be440cc40a4370569d597
|
||||
size 8694328
|
3
fcitx-4.2.9_dict.tar.xz
Normal file
3
fcitx-4.2.9_dict.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a935b7098fe573b126f8e393d93bccc6d4e4e9988830430fa9b1c87876bfc6c
|
||||
size 8675292
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 30 17:22:00 UTC 2015 - Led <ledest@gmail.com>
|
||||
|
||||
- fix BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 30 05:43:52 UTC 2015 - i@marguerite.su
|
||||
|
||||
- update version 4.2.9
|
||||
* [qt,core]use xkbcommon for compose
|
||||
* [qt,keyboard]use xkbcommon better by checking return value
|
||||
* [qt, core] adjust xkb context log level
|
||||
* [qt,core] adjust init order to ensure set log level works
|
||||
* [unicode] fix decimal unicode search
|
||||
* [qt] fix compose when fcitx is not running
|
||||
* [gtk] use xkbcommon also for gtk im context
|
||||
* [gtk] reset xkb compose state when context reset
|
||||
* [gtk, gclient] make connection and xkb context/table of
|
||||
fcitxclient shared
|
||||
* [gclient] fix some gtk-doc comment
|
||||
* [qt] disable qt lib by option
|
||||
* [core] fix invalid global imname
|
||||
- clean specfile, drop fedora support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 2 14:20:58 UTC 2015 - i@marguerite.su
|
||||
|
||||
|
156
fcitx.spec
156
fcitx.spec
@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define libver -4_2_8
|
||||
%define libver -4_2_9
|
||||
|
||||
Name: fcitx
|
||||
Version: 4.2.8.6
|
||||
Version: 4.2.9
|
||||
Release: 0
|
||||
Summary: Flexible Context-aware Input Tool with eXtension
|
||||
License: GPL-2.0+
|
||||
@ -36,19 +36,11 @@ Source9: macros.%{name}
|
||||
Source99: baselibs.conf
|
||||
Patch: fcitx-4.2.8.5-fix-bashisms.patch
|
||||
BuildRequires: cairo-devel
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: dbus-1-devel
|
||||
BuildRequires: dbus-1-glib-devel
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libxkbfile-devel
|
||||
%endif
|
||||
BuildRequires: enchant-devel
|
||||
BuildRequires: iso-codes-devel
|
||||
BuildRequires: update-desktop-files
|
||||
# Dictionary ownership
|
||||
BuildRequires: kde4-filesystem
|
||||
%if 0%{?suse_version} >= 1140
|
||||
@ -56,37 +48,39 @@ BuildRequires: kdebase4-runtime-branding-openSUSE
|
||||
%endif
|
||||
BuildRequires: libpresage-devel
|
||||
BuildRequires: pango-devel
|
||||
%if 0%{?suse_version} >= 1110 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1110
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1110 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildRequires: libqt4-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1210 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} <= 1210
|
||||
BuildRequires: lua-devel
|
||||
%else
|
||||
BuildRequires: lua51-devel
|
||||
%endif
|
||||
BuildRequires: cmake
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: opencc-devel
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk3-devel
|
||||
%endif
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: xz
|
||||
BuildRequires: pkgconfig(xkbcommon) >= 0.5.0
|
||||
Requires: %{name}-gtk2 = %{version}-%{release}
|
||||
Requires: lib%{name}%{libver} = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
Requires: %{name}-gtk3 = %{version}-%{release}
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1110 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} > 1110
|
||||
Requires: %{name}-qt4 = %{version}-%{release}
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Recommends: %{name}-pinyin = %{version}-%{release}
|
||||
Recommends: %{name}-table = %{version}-%{release}
|
||||
# These libraries are dlopen-ed in fcitx at runtime
|
||||
@ -96,16 +90,6 @@ Recommends: libopencc2
|
||||
Recommends: libpresage1
|
||||
Recommends: libenchant1
|
||||
Requires: %{name}-branding = %{version}
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
Requires: %{name}-pinyin = %{version}-%{release}
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
Requires: enchant
|
||||
Requires: libpresage1
|
||||
Requires: opencc
|
||||
Requires(post): %{_sbindir}/alternatives
|
||||
Requires(postun): %{_sbindir}/alternatives
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: locale(ko;zh_CN;zh_SG)
|
||||
|
||||
@ -144,18 +128,13 @@ Requires(postun): gtk2
|
||||
%description gtk2
|
||||
GTK+ version 2 input module for Fcitx input method rfamework.
|
||||
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
|
||||
%package gtk3
|
||||
Summary: Gtk3 IM module for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%if 0%{?suse_version}
|
||||
%gtk3_immodule_requires
|
||||
%else
|
||||
Requires(post): gtk3
|
||||
Requires(postun): gtk3
|
||||
%endif
|
||||
|
||||
%description gtk3
|
||||
GTK+ version 3 input module for Fcitx input method framework.
|
||||
@ -171,7 +150,8 @@ Pinyin and QuWei input methods. It's flexible and fast.
|
||||
This package provides the GObject Introspection bindings for Fcitx.
|
||||
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1110 || 0%{?fedora_version}
|
||||
|
||||
%if 0%{?suse_version} > 1110
|
||||
|
||||
%package qt4
|
||||
Summary: Qt4 IM module for %{name}
|
||||
@ -213,7 +193,7 @@ It's the basic component for other users except some Chinese.
|
||||
Summary: Simplified Chinese Tsang-Jei(Cangjie) table for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -224,7 +204,7 @@ Fcitx Tsang Jei (Cang Jie) input tables for Simplified Chinese.
|
||||
Summary: Telegram(Dianbao) table for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -235,7 +215,7 @@ Fcitx Telegram (Dian Bao) input tables for Simplified Chinese.
|
||||
Summary: Two stroke(Erbi) table for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -246,7 +226,7 @@ Fcitx Two Stroke (Er Bi) input tables for Simplified Chinese.
|
||||
Summary: Icefrog Holography(QXM) table for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -257,7 +237,7 @@ Fcitx Icefrog Holography (Bing Chan Quan Xi, or QXM) input tables for Simplified
|
||||
Summary: Evening Breeze(Wanfeng) table for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -269,7 +249,7 @@ Summary: Wubi and pinyin(wubi-pinyin) table for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Provides: locale(fcitx-table:zh-cn;)
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -283,7 +263,7 @@ Summary: Wubi table for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Provides: locale(fcitx-table:zh-cn;)
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -296,7 +276,7 @@ Wubi in Fcitx is based on wubi x86.
|
||||
Summary: Nature(Ziran) table for %{name}
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -321,8 +301,6 @@ Requires: lib%{name}%{libver} = %{version}-%{release}
|
||||
%description pinyin-tools
|
||||
Tools to convert txt or scel(sougou pinyin data format) pinyin sheets to fcitx match lists.
|
||||
|
||||
%if 0%{?suse_version}
|
||||
|
||||
%package branding-openSUSE
|
||||
Summary: openSUSE default Skins for Fcitx
|
||||
Group: System/I18n/Chinese
|
||||
@ -353,13 +331,11 @@ New Air skin for Fcitx, inspired by KDE Air theme.
|
||||
You can either use this package or download from kde-look.org using knewstaff in
|
||||
fcitx-config-kde4.
|
||||
|
||||
%endif
|
||||
|
||||
%package skin-classic
|
||||
Summary: Fcitx Classic Skin
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -372,7 +348,7 @@ You can either use this package or download from kde-look.org using knewstaff in
|
||||
Summary: Fcitx Dark Skin
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -406,7 +382,7 @@ cmake .. \
|
||||
-DOPENCC_LIBRARY_FILENAME=libopencc.so.2 \
|
||||
-DENCHANT_LIBRARY_FILENAME=libenchant.so.1 \
|
||||
-DPRESAGE_LIBRARY_FILENAME=libpresage.so.1 \
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
-DENABLE_GTK3_IM_MODULE=On \
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1210
|
||||
@ -427,12 +403,9 @@ make
|
||||
|
||||
%install
|
||||
cd build
|
||||
# support fedora 17
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
%makeinstall
|
||||
cd ..
|
||||
|
||||
%if 0%{?suse_version}
|
||||
# install openSUSE skins
|
||||
tar -xzf %{SOURCE8}
|
||||
mv openSUSE-themes/Harlequin %{buildroot}%{_datadir}/%{name}/skin/
|
||||
@ -449,28 +422,15 @@ cp -r openSUSE-themes/input-Harlequin.svgz %{buildroot}%{_kde4_appsdir}/desktopt
|
||||
pushd %{buildroot}%{_datadir}/%{name}/configdesc
|
||||
sed -i 's/DefaultValue=default/DefaultValue=Harlequin/' %{buildroot}%{_datadir}/%{name}/configdesc/fcitx-classic-ui.desc
|
||||
popd
|
||||
%endif
|
||||
|
||||
# fix desktop file
|
||||
sed -i "s/x-fskin/x-fskin;/" %{buildroot}%{_datadir}/applications/fcitx-skin-installer.desktop
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file fcitx Utility DesktopUtility
|
||||
%suse_update_desktop_file fcitx-skin-installer Utility DesktopUtility
|
||||
%suse_update_desktop_file -r fcitx-configtool System X-SuSE-SystemSetup
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version}
|
||||
desktop-file-install --add-category="Utility" --delete-original --dir=%{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}/%{_datadir}/applications/fcitx.desktop
|
||||
desktop-file-install --add-category="Utility" --delete-original --dir=%{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}/%{_datadir}/applications/fcitx-skin-installer.desktop
|
||||
desktop-file-install --add-category="System" --delete-original --dir=%{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}/%{_datadir}/applications/fcitx-configtool.desktop
|
||||
%endif
|
||||
|
||||
# fix doc
|
||||
%if 0%{?suse_version}
|
||||
mkdir -p %{buildroot}%{_docdir}/
|
||||
mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/
|
||||
cp -r %{SOURCE2} %{buildroot}%{_docdir}/%{name}/
|
||||
@ -478,19 +438,8 @@ cp -r %{SOURCE3} %{buildroot}%{_docdir}/%{name}/
|
||||
cp -r AUTHORS %{buildroot}%{_docdir}/%{name}/
|
||||
cp -r ChangeLog %{buildroot}%{_docdir}/%{name}/
|
||||
cp -r COPYING %{buildroot}%{_docdir}/%{name}/
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
mkdir %{buildroot}%{_docdir}/packages/
|
||||
mv %{buildroot}%{_docdir}/%{name}/ %{buildroot}%{_docdir}/packages/
|
||||
cp -r %{SOURCE2} %{buildroot}%{_docdir}/packages/%{name}/
|
||||
cp -r %{SOURCE3} %{buildroot}%{_docdir}/packages/%{name}/
|
||||
cp -r AUTHORS %{buildroot}%{_docdir}/packages/%{name}/
|
||||
cp -r ChangeLog %{buildroot}%{_docdir}/packages/%{name}/
|
||||
cp -r COPYING %{buildroot}%{_docdir}/packages/%{name}/
|
||||
%endif
|
||||
|
||||
# create autostart
|
||||
%if 0%{?suse_version}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/X11/xim.d/
|
||||
install -m 644 %{S:1} %{buildroot}%{_sysconfdir}/X11/xim.d/fcitx
|
||||
|
||||
@ -508,12 +457,6 @@ popd
|
||||
|
||||
# bnc#801319 remove the unneeded fcitx-autostart.desktop which blocks ibus from starting.
|
||||
rm -rf %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version}
|
||||
mkdir -pv %{buildroot}%{_sysconfdir}/X11/xinit/xinput.d/
|
||||
install -pm 644 -D %{SOURCE7} %{buildroot}%{_sysconfdir}/X11/xinit/xinput.d/fcitx.conf
|
||||
%endif
|
||||
|
||||
# install rpm macros
|
||||
install -D -m644 %{SOURCE9} %{buildroot}%{_sysconfdir}/rpm/macros.%{name}
|
||||
@ -525,10 +468,6 @@ install -D -m644 %{SOURCE9} %{buildroot}%{_sysconfdir}/rpm/macros.%{name}
|
||||
|
||||
%if 0%{?suse_version} >= 1110
|
||||
%fdupes %{buildroot}
|
||||
%else
|
||||
%if 0%{?fedora_version}
|
||||
fdupes -n -q -r %{buildroot}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%post gtk2
|
||||
@ -537,7 +476,7 @@ fdupes -n -q -r %{buildroot}
|
||||
%postun gtk2
|
||||
%gtk2_immodule_postun
|
||||
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
|
||||
%post gtk3
|
||||
%gtk3_immodule_post
|
||||
@ -554,29 +493,9 @@ fi
|
||||
|
||||
%endif
|
||||
|
||||
# fedora autostart
|
||||
%if 0%{?fedora_version}
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_sysconfdir}/X11/xinit/xinput.d/fcitx.conf 55 || :
|
||||
update-desktop-database %{_datadir}/applications &>/dev/null || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ "$1" = "0" ]; then
|
||||
%{_sbindir}/alternatives --remove xinputrc %{_sysconfdir}/X11/xinit/xinput.d/fcitx.conf || :
|
||||
# if alternative was set to manual, reset to auto
|
||||
[ -L %{_sysconfdir}/alternatives/xinputrc -a "`readlink %{_sysconfdir}/alternatives/xinputrc`" = "%{_sysconfdir}/X11/xinit/xinput.d/fcitx.conf" ] && %{_sbindir}/alternatives --auto xinputrc || :
|
||||
fi
|
||||
update-desktop-database %{_datadir}/applications &>/dev/null ||
|
||||
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%post -n lib%{name}%{libver} -p /sbin/ldconfig
|
||||
|
||||
@ -599,15 +518,8 @@ update-desktop-database %{_datadir}/applications &>/dev/null ||
|
||||
%{_mandir}/man1/fcitx.1.gz
|
||||
%{_mandir}/man1/fcitx-remote.1.gz
|
||||
%{_libdir}/%{name}/
|
||||
%if 0%{?suse_version}
|
||||
%config %{_sysconfdir}/X11/xim.d/
|
||||
%doc %{_docdir}/%{name}/
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
%config %{_sysconfdir}/X11/xinit/xinput.d/
|
||||
%doc %{_docdir}/packages/%{name}/
|
||||
%config %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
|
||||
%endif
|
||||
|
||||
# excludes
|
||||
%exclude %{_datadir}/%{name}/pinyin
|
||||
@ -625,11 +537,9 @@ update-desktop-database %{_datadir}/applications &>/dev/null ||
|
||||
%exclude %{_libdir}/%{name}/libexec/comp-spell-dict
|
||||
%exclude %{_libdir}/%{name}/libexec/fcitx-po-parser
|
||||
%exclude %{_libdir}/%{name}/libexec/fcitx-scanner
|
||||
%if 0%{?suse_version}
|
||||
%exclude %{_datadir}/%{name}/skin/Harlequin
|
||||
%exclude %{_datadir}/%{name}/skin/Dartmouth
|
||||
%exclude %{_datadir}/%{name}/skin/NewAir
|
||||
%endif
|
||||
%exclude %{_datadir}/%{name}/skin/classic
|
||||
%exclude %{_datadir}/%{name}/skin/dark
|
||||
|
||||
@ -642,7 +552,7 @@ update-desktop-database %{_datadir}/applications &>/dev/null ||
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/gtk-2.0/*
|
||||
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
|
||||
%files gtk3
|
||||
%defattr(-,root,root)
|
||||
@ -734,8 +644,6 @@ update-desktop-database %{_datadir}/applications &>/dev/null ||
|
||||
%{_mandir}/man1/mb2org.1.gz
|
||||
%{_mandir}/man1/scel2org.1.gz
|
||||
|
||||
%if 0%{?suse_version}
|
||||
|
||||
%files branding-openSUSE
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/%{name}/skin/Harlequin
|
||||
@ -756,8 +664,6 @@ update-desktop-database %{_datadir}/applications &>/dev/null ||
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/%{name}/skin/NewAir
|
||||
|
||||
%endif
|
||||
|
||||
%files skin-classic
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/%{name}/skin/classic
|
||||
@ -776,11 +682,11 @@ update-desktop-database %{_datadir}/applications &>/dev/null ||
|
||||
%{_libdir}/%{name}/libexec/fcitx-scanner
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_datadir}/cmake/
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
%{_datadir}/gir-1.0/Fcitx-1.0.gir
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} > 1110 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} > 1110
|
||||
|
||||
%files qt4
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user