File ibus-hangul.spec of Package ibus-hangul

#
# spec file for package ibus-hangul
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           ibus-hangul
BuildRequires:  fdupes ibus-devel intltool libhangul-devel pkgconfig python
Version:        1.3.1
Release:        1
Summary:        The Hangul engine for IBus input platform
License:        GPLv2+
Group:          System/I18n/Korean
Provides:       locale(ibus:ko)
Url:            http://code.google.com/p/ibus/
Source:         %{name}-%{version}.tar.gz
Patch:          ibus-hangul-ibus-1.4.patch
Patch1:         ibus-hangul-setup-dir-fix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

%prep
%setup -q
%patch -p1
%patch1 -p1
# autoreconf -fi
aclocal -Im4
automake --foreign --copy --add-missing
autoconf

%build
%configure --disable-static --libexecdir=%{_prefix}/%{_lib}/ibus
make %{?jobs:-j %jobs}

%install
%makeinstall

%find_lang %{name}
%fdupes -s $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%dir %{_libdir}/ibus
%{_libdir}/ibus/ibus-*
%{_prefix}/%{_lib}/ibus
%{_datadir}/ibus-*
%dir %{_datadir}/ibus
%dir %{_datadir}/ibus/component
%{_datadir}/ibus/component/*

%changelog
openSUSE Build Service is sponsored by