move the .engine files to m17n-db and m17n-contrib (#466410)
This commit is contained in:
parent
5cf5e736ff
commit
229d84bf93
151
ibus-m17n.spec
151
ibus-m17n.spec
@ -2,7 +2,7 @@
|
||||
%define mod_path ibus-0.1
|
||||
Name: ibus-m17n
|
||||
Version: 0.1.1.20081013
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: The M17N engine for IBus platform
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
@ -15,76 +15,13 @@ BuildRequires: libtool
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: swig
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
BuildRequires: m17n-lib-devel
|
||||
BuildRequires: m17n-contrib-assamese
|
||||
BuildRequires: m17n-contrib-bengali
|
||||
BuildRequires: m17n-contrib-esperanto
|
||||
BuildRequires: m17n-contrib-gujarati
|
||||
BuildRequires: m17n-contrib-hindi
|
||||
BuildRequires: m17n-contrib-kannada
|
||||
BuildRequires: m17n-contrib-malayalam
|
||||
BuildRequires: m17n-contrib-marathi
|
||||
BuildRequires: m17n-contrib-nepali
|
||||
BuildRequires: m17n-contrib-oriya
|
||||
BuildRequires: m17n-contrib-punjabi
|
||||
BuildRequires: m17n-contrib-russian
|
||||
BuildRequires: m17n-contrib-sinhala
|
||||
BuildRequires: m17n-contrib-tai
|
||||
BuildRequires: m17n-contrib-tamil
|
||||
BuildRequires: m17n-contrib-telugu
|
||||
BuildRequires: m17n-contrib-urdu
|
||||
BuildRequires: m17n-contrib-vietnamese
|
||||
BuildRequires: m17n-db-amharic
|
||||
BuildRequires: m17n-db-arabic
|
||||
BuildRequires: m17n-db-armenian
|
||||
BuildRequires: m17n-db-assamese
|
||||
BuildRequires: m17n-db-bengali
|
||||
BuildRequires: m17n-db-cham
|
||||
BuildRequires: m17n-db-chinese
|
||||
BuildRequires: m17n-db-common-cjk
|
||||
BuildRequires: m17n-db-croatian
|
||||
BuildRequires: m17n-db-danish
|
||||
# BuildRequires: m17n-db-datafiles
|
||||
BuildRequires: m17n-db-dhivehi
|
||||
BuildRequires: m17n-db-farsi
|
||||
BuildRequires: m17n-db-french
|
||||
BuildRequires: m17n-db-generic
|
||||
BuildRequires: m17n-db-greek
|
||||
BuildRequires: m17n-db-gregorian
|
||||
BuildRequires: m17n-db-gujarati
|
||||
BuildRequires: m17n-db-hebrew
|
||||
BuildRequires: m17n-db-hindi
|
||||
BuildRequires: m17n-db-japanese
|
||||
BuildRequires: m17n-db-kannada
|
||||
BuildRequires: m17n-db-kazakh
|
||||
BuildRequires: m17n-db-khmer
|
||||
BuildRequires: m17n-db-korean
|
||||
BuildRequires: m17n-db-lao
|
||||
BuildRequires: m17n-db-latin
|
||||
BuildRequires: m17n-db-malayalam
|
||||
BuildRequires: m17n-db-myanmar
|
||||
BuildRequires: m17n-db-oriya
|
||||
BuildRequires: m17n-db-punjabi
|
||||
BuildRequires: m17n-db-russian
|
||||
BuildRequires: m17n-db-serbian
|
||||
BuildRequires: m17n-db-sinhala
|
||||
BuildRequires: m17n-db-slovak
|
||||
BuildRequires: m17n-db-swedish
|
||||
BuildRequires: m17n-db-syriac
|
||||
BuildRequires: m17n-db-tamil
|
||||
BuildRequires: m17n-db-telugu
|
||||
BuildRequires: m17n-db-thai
|
||||
BuildRequires: m17n-db-tibetan
|
||||
BuildRequires: m17n-db-uyghur
|
||||
BuildRequires: m17n-db-vietnamese
|
||||
|
||||
Requires: ibus
|
||||
Requires: m17n-lib
|
||||
|
||||
%description
|
||||
M17N engine for IBus input platform. It allows input of many launguaes using
|
||||
the input table maps from m17n-db.
|
||||
M17N engine for IBus input platform. It allows input of many languages using
|
||||
input maps from m17n-db.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -99,6 +36,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||
rm -f $RPM_BUILD_ROOT%{python_sitearch}/_m17n.la
|
||||
|
||||
# .engine files are now in m17n-db and m17n-contrib
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/ibus/engine/m17n-*.engine
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
@ -113,83 +53,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/ibus-m17n/*
|
||||
%{_bindir}/ibus-engine-m17n
|
||||
|
||||
%define lang_meta_pkg() \
|
||||
%package %1\
|
||||
Summary: IBus for %(echo %1 | sed -e "s/\\(.*\\)/\\u\\1/") support\
|
||||
Group: System Environment/Libraries\
|
||||
Requires: %(echo %* | sed -e "s/[a-z]* [a-z]* //")\
|
||||
\
|
||||
%description %1\
|
||||
This package requires the IBus M17N packages needed for %(echo %1 | sed -e "s/\\(.*\\)/\\u\\1/") support.\
|
||||
\
|
||||
%files %1\
|
||||
%defattr(-,root,root,-)\
|
||||
%{_datadir}/ibus/engine/m17n-%2-*.engine\
|
||||
|
||||
|
||||
%lang_meta_pkg amharic am ibus-m17n m17n-db-amharic
|
||||
%lang_meta_pkg arabic ar ibus-m17n m17n-db-arabic
|
||||
%lang_meta_pkg armenian hy ibus-m17n m17n-db-armenian
|
||||
%lang_meta_pkg assamese as ibus-m17n m17n-db-assamese m17n-contrib-assamese
|
||||
%lang_meta_pkg bengali bn ibus-m17n m17n-db-bengali m17n-contrib-bengali
|
||||
%lang_meta_pkg cham cmc ibus-m17n m17n-db-cham
|
||||
%lang_meta_pkg chinese zh ibus-m17n m17n-db-chinese
|
||||
%lang_meta_pkg danish da ibus-m17n m17n-db-danish
|
||||
%lang_meta_pkg dhivehi dv ibus-m17n m17n-db-dhivehi
|
||||
%lang_meta_pkg esperanto eo ibus-m17n m17n-db-esperanto m17n-contrib-esperanto
|
||||
%lang_meta_pkg farsi fa ibus-m17n m17n-db-farsi
|
||||
%lang_meta_pkg french fr ibus-m17n m17n-db-french
|
||||
%lang_meta_pkg gujarati gu ibus-m17n m17n-db-gujarati m17n-contrib-gujarati
|
||||
%lang_meta_pkg greek grc ibus-m17n m17n-db-greek
|
||||
|
||||
%{_datadir}/ibus/engine/m17n-el-kbd.engine
|
||||
|
||||
%lang_meta_pkg gregorian ka ibus-m17n m17n-db-gregorian
|
||||
%lang_meta_pkg hindi hi ibus-m17n m17n-db-hindi m17n-contrib-hindi
|
||||
%lang_meta_pkg hebrew he ibus-m17n m17n-db-hebrew
|
||||
%lang_meta_pkg croatian hr ibus-m17n m17n-db-croatian
|
||||
%lang_meta_pkg japanese ja m17n-db-japanese
|
||||
%lang_meta_pkg kannada kn ibus-m17n m17n-db-kannada m17n-contrib-kannada
|
||||
%lang_meta_pkg kazakh kk ibus-m17n m17n-db-kazakh
|
||||
%lang_meta_pkg khmer km ibus-m17n m17n-db-khmer
|
||||
%lang_meta_pkg korean ko ibus-m17n m17n-db-korean
|
||||
%lang_meta_pkg lao lo ibus-m17n m17n-db-lao
|
||||
%lang_meta_pkg latin t-latn ibus-m17n m17n-db-latin
|
||||
%lang_meta_pkg malayalam ml ibus-m17n m17n-db-malayalam m17n-contrib-malayalam
|
||||
%lang_meta_pkg marathi mr ibus-m17n m17n-contrib-marathi
|
||||
%lang_meta_pkg myanmar my ibus-m17n m17n-db-myanmar
|
||||
%lang_meta_pkg nepali ne ibus-m17n m17n-contrib-nepali
|
||||
%lang_meta_pkg oriya or ibus-m17n m17n-db-oriya m17n-contrib-oriya
|
||||
%lang_meta_pkg punjabi pa ibus-m17n m17n-db-punjabi m17n-contrib-punjabi
|
||||
%lang_meta_pkg russian ru ibus-m17n m17n-db-russian m17n-contrib-russian
|
||||
%lang_meta_pkg serbian sr ibus-m17n m17n-db-serbian
|
||||
%lang_meta_pkg sinhalese si ibus-m17n m17n-db-sinhala m17n-contrib-sinhala
|
||||
%lang_meta_pkg slovak sk ibus-m17n m17n-db-slovak
|
||||
%lang_meta_pkg swedish sv ibus-m17n m17n-db-swedish
|
||||
%lang_meta_pkg tai tai ibus-m17n m17n-contrib-tai
|
||||
%lang_meta_pkg tamil ta ibus-m17n m17n-db-tamil m17n-contrib-tamil
|
||||
%lang_meta_pkg telugu te ibus-m17n m17n-db-telugu m17n-contrib-telugu
|
||||
%lang_meta_pkg thai th ibus-m17n m17n-db-thai
|
||||
%lang_meta_pkg tibetan bo ibus-m17n m17n-db-tibetan
|
||||
%lang_meta_pkg urdu ur ibus-m17n m17n-db-urdu
|
||||
%lang_meta_pkg uyghur ug ibus-m17n m17n-db-uyghur
|
||||
%lang_meta_pkg vietnamese vi ibus-m17n m17n-db-vietnamese m17n-contrib-vietnamese
|
||||
%lang_meta_pkg syriac t-syrc ibus-m17n m17n-db-syriac
|
||||
|
||||
%package generic
|
||||
Summary: IBus for generic support
|
||||
Group: System Environment/Libraries
|
||||
Requires: ibus-m17n m17n-db-generic
|
||||
|
||||
%description generic
|
||||
This package requires the IBus M17N packages needed for generic support.
|
||||
|
||||
%files generic
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/ibus/engine/m17n-t-unicode.engine
|
||||
%{_datadir}/ibus/engine/m17n-t-rfc1345.engine
|
||||
|
||||
%changelog
|
||||
* Thu Oct 16 2008 Jens Petersen <petersen@redhat.com> - 0.1.1.20081013-3
|
||||
- move the .engine files to m17n-db and m17n-contrib (#466410)
|
||||
|
||||
* Wed Oct 15 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20081013-2
|
||||
- Move unicode, rfc1345 to generic package, and syrc-phonetic to syriac package.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user