已合并
import package from master #10
Funda Wang创建于 8月29日
import package from master #10
已合并
从已删除 :openEuler-24.03-LTS-Next合入到src-openeuler/libimeopenEuler-24.03-LTS-Next
共 5 个文件变更+108-0
| @@ -0,0 +1,3 @@ | |||
| 1 | +version https://git-lfs.github.com/spec/v1 | ||
| 2 | +oid sha256:a4746bc855516968114cdfab32d0b48afdbd4185c0c3e7b8acdbac85e4eaad9e | ||
| 3 | +size 49587642 | ||
| @@ -0,0 +1,98 @@ | |||
| 1 | +Name: libime | ||
| 2 | +Version: 1.1.10 | ||
| 3 | +License: LGPL-2.1-or-later and MIT and BSD | ||
| 4 | +Release: 1 | ||
| 5 | +Summary: This is a library to support generic input method implementation | ||
| 6 | +URL: https://github.com/fcitx/libime | ||
| 7 | +Source0: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}_dict.tar.zst | ||
| 8 | + | ||
| 9 | +BuildRequires: cmake | ||
| 10 | +BuildRequires: ninja-build | ||
| 11 | +BuildRequires: gcc-c++ | ||
| 12 | +BuildRequires: fcitx5-devel | ||
| 13 | +BuildRequires: boost-devel >= 1.61 | ||
| 14 | +BuildRequires: extra-cmake-modules | ||
| 15 | +BuildRequires: python3 | ||
| 16 | +BuildRequires: doxygen | ||
| 17 | +BuildRequires: pkgconfig(zlib) | ||
| 18 | +BuildRequires: pkgconfig(bzip2) | ||
| 19 | +BuildRequires: pkgconfig(libzstd) | ||
| 20 | +BuildRequires: pkgconfig(eigen3) | ||
| 21 | +Requires: %{name}-data | ||
| 22 | + | ||
| 23 | + | ||
| 24 | +%description | ||
| 25 | +This is a library to support generic input method implementation. | ||
| 26 | + | ||
| 27 | +%package data | ||
| 28 | +Summary: Data files of %{name} | ||
| 29 | +BuildArch: noarch | ||
| 30 | +Requires: %{name} = %{version}-%{release} | ||
| 31 | +Requires: hicolor-icon-theme | ||
| 32 | + | ||
| 33 | +%description data | ||
| 34 | +The %{name}-data package provides shared data for %{name}. | ||
| 35 | + | ||
| 36 | +%package devel | ||
| 37 | +Summary: Development files for %{name} | ||
| 38 | +Requires: %{name}%{?_isa} = %{version}-%{release} | ||
| 39 | +Requires: boost-devel%{?_isa} | ||
| 40 | + | ||
| 41 | +%description devel | ||
| 42 | +Development files for %{name} | ||
| 43 | + | ||
| 44 | +%prep | ||
| 45 | +%autosetup | ||
| 46 | + | ||
| 47 | +%build | ||
| 48 | +%cmake -GNinja -S. -B %{__cmake_builddir} | ||
| 49 | +%cmake_build | ||
| 50 | + | ||
| 51 | +%install | ||
| 52 | +%cmake_install | ||
| 53 | + | ||
| 54 | +%check | ||
| 55 | +%ctest | ||
| 56 | + | ||
| 57 | +%files | ||
| 58 | +%license LICENSES/LGPL-2.1-or-later.txt src/libime/core/kenlm/LICENSE | ||
| 59 | +%doc README.md | ||
| 60 | +%{_bindir}/%{name}_history | ||
| 61 | +%{_bindir}/%{name}_pinyindict | ||
| 62 | +%{_bindir}/%{name}_prediction | ||
| 63 | +%{_bindir}/%{name}_slm_build_binary | ||
| 64 | +%{_bindir}/%{name}_tabledict | ||
| 65 | +%{_bindir}/%{name}_migrate_fcitx4_pinyin | ||
| 66 | +%{_bindir}/%{name}_migrate_fcitx4_table | ||
| 67 | +%{_libdir}/libIMECore.so.0 | ||
| 68 | +%{_libdir}/libIMEPinyin.so.0 | ||
| 69 | +%{_libdir}/libIMETable.so.0 | ||
| 70 | +# upstream's soname and soversion dont match | ||
| 71 | +# libxxx.so.X* won't work | ||
| 72 | +%{_libdir}/libIMECore.so.*.* | ||
| 73 | +%{_libdir}/libIMEPinyin.so.*.* | ||
| 74 | +%{_libdir}/libIMETable.so.*.* | ||
| 75 | +%dir %{_libdir}/%{name} | ||
| 76 | +%{_libdir}/%{name}/zh_CN.lm | ||
| 77 | +%{_libdir}/%{name}/zh_CN.lm.predict | ||
| 78 | + | ||
| 79 | +%files data | ||
| 80 | +%dir %{_datadir}/%{name} | ||
| 81 | +%{_datadir}/%{name}/*.dict | ||
| 82 | + | ||
| 83 | +%files devel | ||
| 84 | +%{_libdir}/libIMECore.so | ||
| 85 | +%{_libdir}/libIMEPinyin.so | ||
| 86 | +%{_libdir}/libIMETable.so | ||
| 87 | +%{_libdir}/cmake/LibIME* | ||
| 88 | +%{_includedir}/LibIME/ | ||
| 89 | + | ||
| 90 | +%changelog | ||
| 91 | +* Wed Jul 30 2025 Funda Wang <fundawang@yeah.net> - 1.1.10-1 | ||
| 92 | +- update to 1.1.10 | ||
| 93 | + | ||
| 94 | +* Tue Feb 18 2025 Funda Wang <fundawang@yeah.net> - 1.1.8-2 | ||
| 95 | +- adopt to new cmake macro | ||
| 96 | + | ||
| 97 | +* Wed Aug 14 2024 liu-hengjian <411918005@qq.com> - 1.1.8-1 | ||
| 98 | +- Init package version to 1.1.8 | ||