File ibus-table.spec of Package ibus-tables

#
# spec file for package ibus-table
#
# Copyright (c) 2012 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/
#


Name:           ibus-table
BuildRequires:  fdupes
BuildRequires:  ibus-devel >= 1.4.99
BuildRequires:  pkgconfig
BuildRequires:  python
Version:        1.4.99.20121012
Release:        0
Summary:        The Table engine for IBus platform
License:        LGPL-2.1+
Group:          System/I18n/Chinese
Url:            http://code.google.com/p/ibus/
Source:         %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       ibus >= 1.4.99

%description
The package contains general Table engine for IBus platform.

%package devel
Summary:        Development package for ibus-table
Group:          Development/Libraries/other
Requires:       %{name} = %{version}-%{release}

%description devel
This package contains the files required for the development of ibus-table.

%prep
%setup -q
chmod -x AUTHORS COPYING README

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

%install
%makeinstall

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

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

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/*.pc

%changelog