File ibus-gjs.spec of Package ibus-gjs
#
# spec file for package ibus-gjs
#
# 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/
#
%define ibus_version 1.3.99
Name: ibus-gjs
Version: 3.2.1.20111128
Release: 1
Summary: GNOME-Shell GJS Plugin for IBus
License: LGPLv2+
Group: System/I18n/Chinese
URL: http://code.google.com/p/ibus/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_topdir}/%{name}-%{version}-root
BuildRequires: gjs
BuildRequires: gnome-shell
BuildRequires: ibus-devel >= %{ibus_version}
BuildRequires: intltool
BuildRequires: libtool
Requires: gnome-shell
Requires: ibus >= %{ibus_version}
Requires: libibus-1_0-0 >= %{ibus_version}
%description
This is a transitional package which allows users to try out new IBus
GUI for GNOME3 in development. Note that this package will be marked
as obsolete once the integration has completed in the GNOME3 upstream.
%prep
%setup -q
%build
./autogen.sh
%configure --disable-static
# make -C po update-gmo
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_datadir}/gnome-shell/js/ui/status/ibus
%{_datadir}/gnome-shell/extensions/ibus-indicator@example.com/
%changelog