File ibus-table-others.spec of Package ibus-table-others

#
# spec file for package ibus-table-others
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           ibus-table-others
Version:        1.3.4
Release:        0
Summary:        Other non-Chinese tables for ibus
License:        GPL-3.0
Group:          System/Localization
Url:            https://github.com/moebiuscurve/ibus-table-others
BuildRequires:  gnome-common
BuildRequires:  ibus-table >= 1.8.0
BuildRequires:  ibus-table-devel >= 1.8.0
BuildRequires:  pkg-config
BuildRequires:  python
Source:         https://github.com/moebiuscurve/ibus-table-others/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains all other non-Chinese tables for ibus
e.g. CNS11643, Compose, Emoji, Ipx-x-sampa, Latex, Rustrad,
Thai, Translit-ua, Translit, Viqr, Yawerty.
This package contains only COPYING and Documents,
Please select the table you want to use.

%package -n ibus-table-latex

Summary:        Latex input method for IBus framework  
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-latex
ibus-table-latex provides Latex input method on IBus Table under
IBus framework.

%package -n ibus-table-cns11643

Summary:        Cns11643 input method for IBus framework  
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-cns11643
ibus-table-cns11643 provides Cns11643 input method on IBus Table under
IBus framework.

%package -n ibus-table-emoji

Summary:        Emoji input method for IBus framework  
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-emoji
ibus-table-emoji provides Emoji input method on IBus Table under
IBus framework.
顏文字(表情)

%package -n ibus-table-rustrad

Summary:        Rustrad input method for IBus framework  
Group:          System/Localization
Provides:       locale(ibus:ru)
Requires:       ibus-table

%description -n ibus-table-rustrad
ibus-table-rustrad provides Rustrad input method on IBus Table under
IBus framework.

%package -n ibus-table-translit

Summary:        Translit input method for IBus framework  
Group:          System/Localization
Provides:       locale(ibus:ru)
Requires:       ibus-table

%description -n ibus-table-translit
ibus-table-translit provides Translit input method on IBus Table under
IBus framework.

%package -n ibus-table-translit-ua

Summary:        Translit-ua input method for IBus framework  
Group:          System/Localization
Provides:       locale(ibus:uk)
Requires:       ibus-table

%description -n ibus-table-translit-ua
ibus-table-translit-ua provides Translit-ua input method on IBus Table under
IBus framework.

%package -n ibus-table-yawerty

Summary:        Yawerty input method for IBus framework    
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-yawerty
ibus-table-yawerty provides Yawerty input method on IBus Table under
IBus framework.

%package -n ibus-table-compose

Summary:        The Compose table for ibus-table  
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-compose
ibus-table-compose provides the Compose table for ibus-table.

%package -n ibus-table-ipa-x-sampa

Summary:        The ipa-x-sampa table for ibus-table  
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-ipa-x-sampa
ibus-table-ipa-x-sampa provides the ipa-x-sampa table for ibus-table.

%package -n ibus-table-thai

Summary:        The Thai table for ibus-table  
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-thai
ibus-table-thai provides the Thai table for ibus-table.
ภาษาไทย / Thai 

%package -n ibus-table-viqr

Summary:        The Viqr (Vietnamese) table for ibus-table  
Group:          System/Localization
Provides:       locale(ibus:vi)
Requires:       ibus-table

%description -n ibus-table-viqr
ibus-table-viqr provides the Viqr (Vietnamese) table for ibus-table.
Tiếng Việt / Vietnamese

%package -n ibus-table-mathwriter
Summary:        Mathematics symbols table for ibus-table  
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-mathwriter
The package contains table for writing Unicode mathematics symbols.

%package -n ibus-table-rusle
Summary:        Rusle table for ibus-table  
Group:          System/Localization
Requires:       ibus-table

%description -n ibus-table-rusle
ibus-table-rusle provides the Rusle table for ibus-table.

%prep
%setup

%build
./autogen.sh
%configure
alias python=python3
make %{?jobs:-j%jobs}

%install
make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install
cd ${RPM_BUILD_ROOT}/%{_datadir}/ibus-table/tables/
%{_bindir}/ibus-table-createdb -i -n cns11643.db
%{_bindir}/ibus-table-createdb -i -n compose.db
%{_bindir}/ibus-table-createdb -i -n emoji-table.db
%{_bindir}/ibus-table-createdb -i -n ipa-x-sampa.db
%{_bindir}/ibus-table-createdb -i -n latex.db
%{_bindir}/ibus-table-createdb -i -n rustrad.db
%{_bindir}/ibus-table-createdb -i -n thai.db
%{_bindir}/ibus-table-createdb -i -n translit.db
%{_bindir}/ibus-table-createdb -i -n translit-ua.db
%{_bindir}/ibus-table-createdb -i -n viqr.db
%{_bindir}/ibus-table-createdb -i -n yawerty.db
%{_bindir}/ibus-table-createdb -i -n mathwriter-ibus.db

%post

%postun

%files
%defattr(-,root,root)
%doc ChangeLog README COPYING AUTHORS

%files -n ibus-table-latex
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/latex*
%{_datadir}/ibus-table/tables/latex*

%files -n ibus-table-cns11643
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/cns11643*
%{_datadir}/ibus-table/tables/cns11643*

%files -n ibus-table-emoji
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/ibus-emoji*
%{_datadir}/ibus-table/tables/emoji*

%files -n ibus-table-rustrad
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/rustrad.png
%{_datadir}/ibus-table/tables/rustrad.db

%files -n ibus-table-translit
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/translit.svg
%{_datadir}/ibus-table/tables/translit.db

%files -n ibus-table-translit-ua
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/translit-ua.svg
%{_datadir}/ibus-table/tables/translit-ua.db

%files -n ibus-table-yawerty
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/yawerty.png
%{_datadir}/ibus-table/tables/yawerty.db

%files -n ibus-table-compose
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/compose.svg
%{_datadir}/ibus-table/tables/compose.db

%files -n ibus-table-ipa-x-sampa
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/ipa-x-sampa.svg
%{_datadir}/ibus-table/tables/ipa-x-sampa.db

%files -n ibus-table-thai
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/thai.png
%{_datadir}/ibus-table/tables/thai.db

%files -n ibus-table-viqr
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/viqr.png
%{_datadir}/ibus-table/tables/viqr.db

%files -n ibus-table-mathwriter
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/mathwriter.png
%{_datadir}/ibus-table/tables/mathwriter-ibus.db

%files -n ibus-table-rusle
%defattr(-,root,root)
%{_datadir}/ibus-table/icons/rusle.png
%{_datadir}/ibus-table/tables/rusle.db

%changelog
openSUSE Build Service is sponsored by