-
Notifications
You must be signed in to change notification settings - Fork 5
/
ibus-array.spec.in
58 lines (48 loc) · 1.59 KB
/
ibus-array.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%define mod_path ibus-@PACKAGE_VERSION_MAJOR@.@PACKAGE_VERSION_MINOR@
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: IBus Array 30 project
License: GPLv2+
Group: System Environment/Libraries
URL: https://github.com/lexical/ibus-array
Source0: https://github.com/lexical/ibus-array/archive/release-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: meson
BuildRequires: ibus-devel
BuildRequires: gettext-devel
BuildRequires: opencc-devel
%if 0%{?suse_version} || 0%{?sle_version} || 0%{?mandriva_version}
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel >= 3.0
%endif
Requires: ibus
%description
IBus Array 30 project.
%prep
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
# %dir %{python_sitearch}/ibus
# %{python_sitearch}/ibus/*
%{_datadir}/%{name}/
%{_datadir}/ibus/component/array.xml
%{_libexecdir}/ibus-engine-array
%{_libexecdir}/ibus-setup-array
%changelog
* Sun Apr 21 2024 Danilo Chang <[email protected]> - 0.2.3
* Fri Jul 17 2020 Keng-Yu Lin <[email protected]> - 0.2.2
* Sat Apr 22 2009 Yu-Chun Wang <[email protected]> - 0.0.1
- The first version.