46 lines
962 B
RPMSpec
46 lines
962 B
RPMSpec
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 <weidong@uniontech.com> - 0.3.7-1
|
|
- Initial Package
|