forked from moebiuscurve/ibus-table-others
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ibus-table-others.spec.in
71 lines (59 loc) · 2.15 KB
/
ibus-table-others.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
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 2%{?dist}
Summary: The Cyrillic tables for IBus-Table
License: GPLv3
Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/
Source0: http://cloud.github.com/downloads/kaio/ibus-table-cyrillic/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: ibus >= 1.2, ibus-table >= 1.2.0.20090912-3
Requires(post): ibus >= 1.2, ibus-table >= 1.2.0.20090912-3
BuildRequires: ibus >= 1.2, ibus-table >= 1.2.0.20090912-3
%description
The Cyrillic tables for IBus Table.
%prep
%setup -q
%build
./configure --prefix=%{_prefix} \
--disable-static \
--enable-translit \
--enable-translitua \
--enable-rusle \
--enable-rustrad \
--enable-yawerty
--enable-mathwriter
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install
# %find_lang %{name}
%post
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/translit.db
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/translit-ua.db
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/rusle.db
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/rustrad.db
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/yawerty.db
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/mathwriter-ibus.db
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_datadir}/ibus-table/icons/translit.svg
%{_datadir}/ibus-table/icons/translit-ua.svg
%{_datadir}/ibus-table/icons/rusle.png
%{_datadir}/ibus-table/icons/rustrad.png
%{_datadir}/ibus-table/icons/yawerty.png
%{_datadir}/ibus-table/tables/translit.db
%{_datadir}/ibus-table/tables/translit-ua.db
%{_datadir}/ibus-table/tables/rustrad.db
%{_datadir}/ibus-table/tables/yawerty.db
%{_datadir}/ibus-table/tables/mathwriter-ibus-table.db
%changelog
* Thu Jun 24 2010 Naveen Kumar <[email protected]> - @VERSION@-2
- Changes specific to Mathwriter
* Thu Jan 07 2010 Caius 'kaio' Chance <k at kaio.me> - @VERSION@-1
- The first version.
- Combine Translit, Translit-ua, Russian Traditional, Yawerty.