From ced7787839ffdeeaaa39f3c259cfa0fff614f91e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:48:16 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.4.4-1mamba;Thu Mar 11 2021] --- README.md | 2 ++ ibus-m17n.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 ibus-m17n.spec diff --git a/README.md b/README.md index 8bc706d..1a88c63 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ibus-m17n +M17N engine for IBus. + diff --git a/ibus-m17n.spec b/ibus-m17n.spec new file mode 100644 index 0000000..9407330 --- /dev/null +++ b/ibus-m17n.spec @@ -0,0 +1,91 @@ +Name: ibus-m17n +Version: 1.4.4 +Release: 1mamba +Summary: M17N engine for IBus +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ibus/ibus-m17n +Source: https://github.com/ibus/ibus-m17n.git/%{version}/ibus-m17n-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libatk-devel +BuildRequires: libbrotli-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libexpat-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgraphite2-devel +BuildRequires: libgtk2-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libibus-devel +BuildRequires: liblzma-devel +BuildRequires: libm17n-devel +BuildRequires: libpango-devel +BuildRequires: libpcre-devel +BuildRequires: libpng-devel +BuildRequires: libthai-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END + +%description +M17N engine for IBus. + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +if [ $1 -ge 1 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +fi +: + +%postun +if [ $1 -eq 0 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +fi +: + +%files -f %{name}.lang +%defattr(-,root,root) +%{_libexecdir}/ibus-engine-m17n +%{_libexecdir}/ibus-setup-m17n +%{_datadir}/metainfo/m17n.appdata.xml +%{_datadir}/applications/ibus-setup-m17n.desktop +%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.m17n.gschema.xml +%dir %{_datadir}/ibus-m17n +%{_datadir}/ibus-m17n/default.xml +%dir %{_datadir}/ibus-m17n/icons +%{_datadir}/ibus-m17n/icons/ibus-m17n.svg +%dir %{_datadir}/ibus-m17n/setup +%{_datadir}/ibus-m17n/setup/ibus-m17n-preferences.ui +%dir %{_datadir}/ibus/component +%{_datadir}/ibus/component/m17n.xml +%doc AUTHORS COPYING + +%changelog +* Thu Mar 11 2021 Silvan Calarco 1.4.4-1mamba +- package created using the webbuild interface