summaryrefslogtreecommitdiff
path: root/packaging/ise-engine-default.spec
blob: 2fb2949b61bd02bd32b5835380d613d58c66a7ee (plain)
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
Name:       ise-engine-default
Summary:    Multilingual Keyboard ISE
Version:    1.0.5
Release:    1
Group:      Graphics & UI Framework/Input
License:    Apache-2.0
Source0:    %{name}-%{version}.tar.gz
BuildRequires:  pkgconfig(isf)

%description
Multilingual Keyboard Input Service Engine (ISE) is a keyboard input method (IM), and
it is based on Input Service Framework(ISF).

%prep
%setup -q

%build
export CFLAGS+=" -Werror"
export CXXFLAGS+=" -Werror"
./bootstrap
%autogen
%configure --prefix=%{_prefix} --disable-static

make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install
mkdir -p %{buildroot}%{_datadir}/license
install -m0644 %{_builddir}/%{buildsubdir}/LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}

%post

%postun

%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/scim-1.0/1.4.0/IMEngine/ise-engine-default.so
%{_datadir}/scim/icons/isf-default.png
%{_datadir}/packages/*
%{_datadir}/license/%{name}