Update package manager DB on installing or uninstalling package
[platform/core/uifw/ise-engine-hangul.git] / packaging / ise-engine-hangul.spec
1 Name:       ise-engine-hangul
2 Summary:    Hangul Input Method Engine for ISF
3 Version:    0.4.0
4 Release:    4
5 Group:      Graphics & UI Framework/Input
6 License:    GPL-2.0+
7 Source0:    %{name}-%{version}.tar.gz
8 BuildRequires:  gettext-tools
9 BuildRequires:  pkgconfig(isf)
10 BuildRequires:  pkgconfig(glib-2.0)
11 BuildRequires:  pkgconfig(libhangul)
12
13 %description
14 Hangul Input Method Engine enables isf to input Hangul (Korean)
15 characters from the keyboard using the plugin modules and the data files.
16
17
18 %prep
19 %setup -q
20
21 %build
22
23 ./bootstrap
24 %configure --prefix=%{_prefix} --disable-static
25
26 make %{?jobs:-j%jobs}
27
28 %install
29 rm -rf %{buildroot}
30 %make_install
31 mkdir -p %{buildroot}%{_datadir}/license
32 install -m0644 %{_builddir}/%{buildsubdir}/COPYING %{buildroot}%{_datadir}/license/%{name}
33
34 %post
35 pkg_initdb
36
37 %postun
38 pkg_initdb
39
40 %files
41 %defattr(-,root,root,-)
42 %{_datadir}/scim/icons/*
43 %{_datadir}/scim/hangul/symbol.txt
44 %{_datadir}/locale/*/LC_MESSAGES/*
45 %{_datadir}/packages/*
46 %{_libdir}/scim-1.0/1.4.0/IMEngine/hangul.so
47 %{_datadir}/license/%{name}
48