Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 16:32:17 +0000 | Пакетов: 15011
en ru
Исходные пакеты в ветвях
свернуть окно
  • 1.4.2-alt0.M70P.1
  • 1.4.2-alt0.M70P.1
Группа :: Система/Библиотеки
Исходный пакет: ibus-hangul
Необработанный spec-файл

%global require_ibus_version 1.3.99
%global require_libhangul_version 0.1.0

Name: ibus-hangul
Version: 1.4.2
Release: alt0.M70P.1
Summary: The Hangul engine for IBus input platform
License: GPLv2+
Group: System/Libraries
URL: http://code.google.com/p/ibus/
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
# upstreamed patches

#Patch0: ibus-hangul-HEAD.patch

# not upstreamed patches

Patch1: ibus-hangul-dconf-prefix.patch
Patch2: ibus-hangul-setup-abspath.patch

BuildRequires: gettext-devel, automake, libtool
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: libhangul-devel >= %{require_libhangul_version}
BuildRequires: pkgconfig
BuildRequires: libibus-devel >= %{require_ibus_version}
BuildRequires: desktop-file-utils
BuildRequires: python-devel
#BuildRequires: python3-module-pygobject3-devel


#Requires: libibus >= %{require_ibus_version}

#Requires: libhangul >= %{require_libhangul_version}


%description
The Hangul engine for IBus platform. It provides Korean input method from
libhangul.

%prep
%setup -q
%patch1 -p1 -b .dconf-prefix
%patch2 -p1 -b .setup-abspath

#№autopoint -f

#AUTOPOINT='intltoolize --automake --copy' autoreconf -fi

%autoreconf

%build
%configure --disable-static %{?_with_hotkeys}
# make -C po update-gmo

make %{?_smp_mflags}

%install
%makeinstall_std

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

desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-hangul.desktop

%find_lang %{name}

%files -f %{name}.lang
%doc AUTHORS COPYING README
%{_libexecdir}/ibus-engine-hangul
%{_libexecdir}/ibus-setup-hangul
%{_datadir}/ibus-hangul
%{_datadir}/ibus/component/*
%{_libdir}/ibus-hangul/setup/*
%_desktopdir/ibus-setup-hangul.desktop
%_iconsdir/hicolor/*/apps/*

%changelog
* Fri May 30 2014 Andrey Cherepanov <cas at altlinux.org> 1.4.2-alt0.M70P.1
- Backport to p7 branch

* Fri May 30 2014 Andrey Cherepanov <cas at altlinux.org> 1.4.2-alt1
- Import from Fedora

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT