Initial Package
This commit is contained in:
parent
56c4f289cf
commit
10b1b7068a
BIN
fcitx-cloudpinyin-0.3.7.tar.xz
Normal file
BIN
fcitx-cloudpinyin-0.3.7.tar.xz
Normal file
Binary file not shown.
45
fcitx-cloudpinyin.spec
Normal file
45
fcitx-cloudpinyin.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user