Accepting request 1101509 from home:mike-fabian
Do not include the inscript2 input methods anymore on Tumbleweed as they are already included in m17n-db >= 1.8.2 OBS-URL: https://build.opensuse.org/request/show/1101509 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-typing-booster?expand=0&rev=234
This commit is contained in:
parent
cb42db8fe6
commit
b66754691c
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 31 12:49:52 UTC 2023 - maiku.fabian@gmail.com
|
||||
|
||||
- Include inscript2 input methods only for suse_version < 1550
|
||||
i.e. do not include it on Tumbleed anymore. Because Tumbleweed
|
||||
has m17n-db-1.8.2 which has the inscript2 input methods already.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 30 11:23:12 UTC 2023 - maiku.fabian@gmail.com
|
||||
|
||||
|
@ -94,8 +94,10 @@ input method to speedup typing.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if 0%{?suse_version} < 1550
|
||||
##extract inscript2 maps
|
||||
tar xzf %{SOURCE1}
|
||||
%endif
|
||||
|
||||
%build
|
||||
export PYTHON=%{_bindir}/python3
|
||||
@ -109,10 +111,12 @@ gzip -n --force --best %{buildroot}/%{_datadir}/%{name}/data/*.{txt,json} \
|
||||
%{buildroot}/%{_datadir}/%{name}/data/annotations/*.xml \
|
||||
%{buildroot}/%{_datadir}/%{name}/data/annotationsDerived/*.xml
|
||||
|
||||
%if 0%{?suse_version} < 1550
|
||||
#install inscript2 keymaps
|
||||
test -d %{buildroot}%{_datadir}/m17n/icons || mkdir -p %{buildroot}%{_datadir}/m17n/icons
|
||||
cp -p inscript2/IM/* %{buildroot}%{_datadir}/m17n/
|
||||
cp -p inscript2/icons/* %{buildroot}%{_datadir}/m17n/icons
|
||||
%endif
|
||||
|
||||
%suse_update_desktop_file -i -u emoji-picker GTK Utility
|
||||
|
||||
@ -214,9 +218,11 @@ fi
|
||||
%{_libdir}/ibus/ibus-setup-typing-booster
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.typing-booster.gschema.xml
|
||||
%if 0%{?suse_version} < 1550
|
||||
%dir %{_datadir}/m17n
|
||||
%{_datadir}/m17n/*.mim
|
||||
%dir %{_datadir}/m17n/icons
|
||||
%{_datadir}/m17n/icons/*.png
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user