commit
de3bbaa9fd
BIN
fcitx-sunpinyin-0.4.2.tar.xz
Normal file
BIN
fcitx-sunpinyin-0.4.2.tar.xz
Normal file
Binary file not shown.
58
fcitx-sunpinyin.spec
Normal file
58
fcitx-sunpinyin.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: fcitx-sunpinyin
|
||||
Version: 0.4.2
|
||||
Release: 1
|
||||
Summary: Sunpinyin Wrapper for Fcitx
|
||||
License: GPLv2+
|
||||
URL: http://fcitx-im.org/wiki/Fcitx
|
||||
Source0: http://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc-c++, cmake, fcitx-devel, gettext, intltool, sunpinyin-devel, dbus-devel, libtool, sunpinyin, fcitx
|
||||
Requires: fcitx
|
||||
|
||||
%description
|
||||
Fcitx-sunpinyin is a Sunpinyin Wrapper for Fcitx.
|
||||
|
||||
SunPinyin is an SLM (Statistical Language Model) based input method
|
||||
engine. To model the Chinese language, it use a backoff bigram and
|
||||
trigram language model.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
mkdir -pv build
|
||||
pushd build
|
||||
%cmake ..
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd build
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
popd
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS README
|
||||
%license COPYING
|
||||
%{_libdir}/fcitx/%{name}.so
|
||||
%{_datadir}/fcitx/addon/%{name}.conf
|
||||
%{_datadir}/fcitx/inputmethod/sunpinyin.conf
|
||||
%{_datadir}/fcitx/configdesc/%{name}.desc
|
||||
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
|
||||
%{_datadir}/fcitx/skin/classic/sunpinyin.png
|
||||
%{_datadir}/fcitx/skin/dark/sunpinyin.png
|
||||
%{_datadir}/fcitx/skin/default/sunpinyin.png
|
||||
%{_datadir}/fcitx/imicon/sunpinyin.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 22 2020 weidong <weidong@uniontech.com> - 0.4.2-1
|
||||
- Initial Package
|
||||
Loading…
x
Reference in New Issue
Block a user