forked from acevery/ibus-table
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ibus-table.spec.in
92 lines (76 loc) · 2.58 KB
/
ibus-table.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: The Table engine for IBus platform
License: LGPLv2+
Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext-devel
Requires: ibus
%description
The package contains general Table engine for IBus platform.
%package additional
Summary: Additional tables for general table engine of IBus.
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description additional
This package contains additional tables.
%prep
%setup -q
%build
%configure \
--disable-static \
--enable-additional
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post additional
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/additional/compose.db
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/additional/latex.db
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_libdir}/pkgconfig/ibus-table.pc
%{_datadir}/ibus-table/engine
%{_datadir}/ibus-table/data
%{_datadir}/ibus-table/tables/template.txt
%dir %{_datadir}/ibus-table/tables
%{_datadir}/ibus-table/icons/ibus-table.svg
%{_datadir}/ibus-table/icons/full-letter.svg
%{_datadir}/ibus-table/icons/full-punct.svg
%{_datadir}/ibus-table/icons/half-letter.svg
%{_datadir}/ibus-table/icons/half-punct.svg
%{_datadir}/ibus-table/icons/onechar.svg
%{_datadir}/ibus-table/icons/phrase.svg
%{_datadir}/ibus-table/icons/py-mode.svg
%{_datadir}/ibus-table/icons/tab-mode.svg
%{_datadir}/ibus-table/icons/chinese.svg
%{_datadir}/ibus-table/icons/dcommit.svg
%{_datadir}/ibus-table/icons/english.svg
%{_datadir}/ibus-table/icons/ncommit.svg
%{_datadir}/ibus-table/icons/cb-mode.svg
%{_datadir}/ibus-table/icons/sc-mode.svg
%{_datadir}/ibus-table/icons/scb-mode.svg
%{_datadir}/ibus-table/icons/tc-mode.svg
%{_datadir}/ibus-table/icons/tcb-mode.svg
%dir %{_datadir}/ibus-table/icons
%{_bindir}/ibus-engine-table
%{_bindir}/ibus-table-createdb
%files additional
%defattr(-,root,root,-)
%{_datadir}/ibus-table/tables/compose.db
%{_datadir}/ibus-table/tables/latex.db
%{_datadir}/ibus-table/icons/compose.svg
%{_datadir}/ibus-table/icons/latex.svg
%{_datadir}/ibus/engine/compose.engine
%{_datadir}/ibus/engine/latex.engine
%changelog
* Wed Aug 19 2008 Yu Yuwei <acevery@gmail.com> - @VERSION@-1
- The first version.