Initial Package

This commit is contained in:
weidong 2021-01-12 17:28:49 +08:00
parent 56c4f289cf
commit 10b1b7068a
2 changed files with 45 additions and 0 deletions

Binary file not shown.

45
fcitx-cloudpinyin.spec Normal file
View File

@ -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 <weidong@uniontech.com> - 0.3.7-1
- Initial Package