11Vendor: Microsoft Corporation
22Distribution: Azure Linux
3- # This package depends on automagic byte compilation
4- # https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
5- %global _python_bytecompile_extra 1
6-
7- %global snapshot 0
83
94Name: ibus-libzhuyin
10- Version: 1.9.1
11- Release: 6 %{?dist }
5+ Version: 1.10.4
6+ Release: 1 %{?dist }
127Summary: New Zhuyin engine based on libzhuyin for IBus
138License: GPLv2+
149URL: https://github.com/libzhuyin/ibus-libzhuyin
15- Source0: http://downloads.sourceforge.net/libzhuyin/ibus-libzhuyin/%{name }-%{version }.tar.gz
16- %if %snapshot
17- Patch0: ibus-libzhuyin-1.9.x-HEAD.patch
18- %endif
10+ Source0: https://downloads.sourceforge.net/libzhuyin/ibus-libzhuyin/%{name }-%{version }.tar.gz
1911
2012BuildRequires: gcc-c++
21- BuildRequires: perl(File::Find)
2213BuildRequires: gettext-devel
2314BuildRequires: intltool
2415BuildRequires: libtool
@@ -40,29 +31,27 @@ It includes a Chinese Zhuyin (Bopomofo) input method
4031based on libzhuyin for IBus.
4132
4233%prep
43- %setup -q
44- %if %snapshot
45- %patch 0 -p1 -b .head
46- %endif
47-
34+ %autosetup
4835
4936%build
5037%configure --disable-static \
5138 --disable-boost \
5239 --with-python=python3
5340
5441# make -C po update-gmo
55- make %{? _smp_mflags } V = 1
42+ % make_build
5643
5744%install
58- make install DESTDIR=${RPM_BUILD_ROOT} INSTALL=" install -p"
45+ %make_install
46+
47+ %py_byte_compile %{python3 } $RPM_BUILD_ROOT%{_datadir }/ibus-libzhuyin/setup
5948
6049%find_lang %{name }
6150
6251%files -f %{name }.lang
6352%license COPYING
6453%doc AUTHORS README ChangeLog INSTALL NEWS
65- %{_datadir }/appdata /* .appdata.xml
54+ %{_datadir }/metainfo /* .appdata.xml
6655%{_datadir }/glib-2.0/schemas/* .gschema.xml
6756%{_datadir }/applications/ibus-setup-libzhuyin.desktop
6857%{_libexecdir }/ibus-engine-libzhuyin
@@ -74,8 +63,11 @@ make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
7463%{_datadir }/ibus-libzhuyin/* symbol.txt
7564%{_libdir }/ibus-libzhuyin/
7665
77-
7866%changelog
67+ * Mon Dec 22 2025 Aditya Singh <v-aditysing@microsoft.com> - 1.10.4-1
68+ - Upgrade to version 1.10.4
69+ - License verified.
70+
7971* Wed Feb 16 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.9.1-6
8072- License verified.
8173
0 commit comments