diff --git a/fcitx-cloudpinyin-0.3.7.tar.xz b/fcitx-cloudpinyin-0.3.7.tar.xz new file mode 100644 index 0000000..d0dd36c Binary files /dev/null and b/fcitx-cloudpinyin-0.3.7.tar.xz differ diff --git a/fcitx-cloudpinyin.spec b/fcitx-cloudpinyin.spec new file mode 100644 index 0000000..7944eb0 --- /dev/null +++ b/fcitx-cloudpinyin.spec @@ -0,0 +1,45 @@ +Name: fcitx-cloudpinyin +Version: 0.3.7 +Release: 1 +Summary: Cloudpinyin module for fcitx +License: GPLv2+ +URL: https://fcitx-im.org/wiki/Cloudpinyin +Source0: http://download.fcitx-im.org/fcitx-cloudpinyin/%{name}-%{version}.tar.xz + +BuildRequires: gcc cmake, fcitx-devel, gettext, intltool, libcurl-devel, pkgconfig +Requires: fcitx + +%description +Cloudpinyin is Fcitx addon that will add one candidate word to your pinyin +list. It current support four provider, Sogou, QQ, Baidu, Google. + + +%prep +%setup -q -n %{name}-%{version} + + +%build +mkdir -pv build +pushd build +%cmake .. +make %{?_smp_mflags} VERBOSE=1 +popd + +%install +rm -rf $RPM_BUILD_ROOT +pushd build +make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +popd + +%find_lang %{name} + +%files -f %{name}.lang +%doc README COPYING +%{_datadir}/fcitx/configdesc/*.desc +%{_datadir}/fcitx/addon/*.conf +%{_libdir}/fcitx/*.so + + +%changelog +* Tue Dec 22 2020 weidong - 0.3.7-1 +- Initial Package