2022-02-23 14:48:51 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package systemd-inputmethod-generator
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2022 SUSE LLC
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: systemd-inputmethod-generator
|
2022-11-19 13:11:13 +00:00
|
|
|
Version: 1.0.5
|
2022-02-23 14:48:51 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Expose INPUT_METHOD environment variable
|
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
|
URL: https://github.com/openSUSE-zh/systemd-inputmethod-generator
|
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
2022-02-24 04:14:19 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2022-02-24 04:41:42 +00:00
|
|
|
Supplements: (systemd and inputmethod)
|
2022-02-23 14:48:51 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Expose INPUT_METHOD environment variable to user sessions
|
|
|
|
|
according to the priority settings in /etc/X11/xim.d, so
|
|
|
|
|
wayland sessions and systemd fcitx/ibus user services can
|
|
|
|
|
work.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%files
|
2022-02-24 04:14:19 +00:00
|
|
|
%dir %{_systemd_user_env_generator_dir}
|
|
|
|
|
%dir %{_environmentdir}
|
2022-02-23 14:48:51 +00:00
|
|
|
%{_systemd_user_env_generator_dir}/29-inputmethod.py3
|
|
|
|
|
%{_environmentdir}/99-inputmethod.conf
|
|
|
|
|
|
|
|
|
|
%changelog
|