diff --git a/ibus-hangul.spec b/ibus-hangul.spec index 063b3f1..2a5bb69 100644 --- a/ibus-hangul.spec +++ b/ibus-hangul.spec @@ -3,7 +3,7 @@ Name: ibus-hangul Version: 1.5.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Hangul engine for IBus input platform License: GPLv2+ URL: https://github.com/libhangul/ibus-hangul @@ -36,13 +36,14 @@ libhangul. %setup -q %patch1 -p1 -b .setup-abspath -# autopoint -f -# AUTOPOINT='intltoolize --automake --copy' autoreconf -fi - %build ./autogen.sh -%configure --disable-static --with-python=python3 %{?_with_hotkeys} -# make -C po update-gmo +%configure \ + --disable-static \ + --with-python=python3 \ + %{?_with_hotkeys} \ + %{nil} + make %{?_smp_mflags} %install @@ -50,42 +51,6 @@ make DESTDIR=${RPM_BUILD_ROOT} install INSTALL="install -p" %py_byte_compile %{python3} $RPM_BUILD_ROOT%{_datadir}/ibus-hangul/setup -# Register as an AppStream component to be visible in the software center -# -# NOTE: It would be *awesome* if this file was maintained by the upstream -# project, translated and installed into the right place during `make install`. -# -# See http://www.freedesktop.org/software/appstream/docs/ for more details. -# -mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata -cat > $RPM_BUILD_ROOT%{_datadir}/appdata/hangul.appdata.xml < - - hangul.xml - CC0-1.0 - Hangul - Korean input method - -

- The Hangul input method is designed for entering Korean text. -

-

- Input methods are typing systems allowing users to input complex languages. - They are necessary because these contain too many characters to simply be laid - out on a traditional keyboard. -

-
- http://code.google.com/p/ibus/ - GNOME - GNOME - The GNOME Project - https://code.google.com/p/ibus/issues/list - http://www.gnome.org/friends/ - https://code.google.com/p/ibus/wiki/FAQ - -
-EOF - rm -f ${RPM_BUILD_ROOT}%{_bindir}/ibus-setup-hangul sed -i 's!^Exec=ibus-setup-hangul!Exec=%{_libexecdir}/ibus-setup-hangul!' ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-hangul.desktop @@ -105,7 +70,6 @@ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-hangu %doc AUTHORS COPYING README %{_libexecdir}/ibus-engine-hangul %{_libexecdir}/ibus-setup-hangul -%{_datadir}/appdata/*.appdata.xml %{_datadir}/metainfo/*.metainfo.xml %{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/ibus-hangul @@ -114,6 +78,9 @@ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-hangu %{_datadir}/icons/hicolor/*/apps/* %changelog +* Wed Sep 2 2020 Peng Wu - 1.5.4-2 +- Clean up the spec file + * Mon Aug 24 2020 Peng Wu - 1.5.4-1 - Update to 1.5.4