ibus-m17n/ibus-m17n.spec
Mike FABIAN 31c9bc91cd
Update to 1.4.29
- Translation update from Weblate (Malayalam (ml), new, 100%, Swedish (sv) 100%)
2024-04-26 11:32:30 +05:30

67 lines
1.9 KiB
RPMSpec

%global require_ibus_version 1.4.0
Name: ibus-m17n
Version: 1.4.29
Release: %autorelease
Summary: The M17N engine for IBus platform
License: GPL-2.0-or-later
URL: https://github.com/ibus/ibus-m17n
Source0: https://github.com/ibus/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gettext-devel >= 0.19
BuildRequires: libtool
BuildRequires: m17n-lib-devel
BuildRequires: gtk3-devel
BuildRequires: ibus-devel >= %{require_ibus_version}
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: make
Requires: ibus >= %{require_ibus_version}
Requires: m17n-lib
%description
M17N engine for IBus input platform. It allows input of many languages using
the input table maps from m17n-db.
%prep
%setup -q
%build
%configure --disable-static --with-gtk=3.0
# make -C po update-gmo
%{make_build}
%install
%{make_install}
%find_lang %{name}
%check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-m17n.desktop
make check
%files -f %{name}.lang
%doc AUTHORS README
%license COPYING
%{_datadir}/metainfo/m17n.appdata.xml
%{_datadir}/ibus-m17n
%{_datadir}/icons/hicolor/16x16/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/22x22/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/24x24/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/32x32/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/48x48/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/64x64/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/128x128/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/256x256/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/scalable/apps/ibus-m17n.svg
%{_libexecdir}/ibus-engine-m17n
%{_libexecdir}/ibus-setup-m17n
%{_datadir}/ibus/component/*
%{_datadir}/applications/ibus-setup-m17n.desktop
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.m17n.gschema.xml
%changelog
%autochangelog