1 %define gs_version %(rpm -q --qf '%{VERSION}' gnome-shell)
2 %define gjs_version %(rpm -q --qf '%{VERSION}' gjs-devel)
3 Summary: IBus gnome-shell extension
4 Summary(pl.UTF-8): Rozszerzenie IBus dla powłoki gnome-shell
6 Version: 3.4.1.20130115
10 ##Source0Download: https://github.com/fujiwarat/ibus-gjs/releases
11 Source0: http://fujiwara.fedorapeople.org/ibus/gnome-shell/%{name}-%{version}.tar.gz
12 # Source0-md5: da9a22c82ab33423d7afeb3da4146fa8
13 Patch0: %{name}-fixes.patch
14 URL: https://github.com/fujiwarat/ibus-gjs
15 BuildRequires: gettext-tools
16 BuildRequires: gjs-devel
17 BuildRequires: gnome-shell
18 BuildRequires: gtk-doc >= 1.9
19 BuildRequires: ibus-devel >= 1.5.0
20 BuildRequires: intltool >= 0.35.0
21 BuildRequires: libtool
22 BuildRequires: pkgconfig
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 IBus gnome-shell extension.
28 %description -l pl.UTF-8
29 Rozszerzenie IBus dla powłoki gnome-shell.
31 %package -n ibus-gnome3
32 Summary: IBus gnome-shell-extension for GNOME3
33 Summary(pl.UTF-8): Rozszerzenie gnome-shell IBus dla GNOME3
36 Requires: ibus >= 1.5.0
38 %description -n ibus-gnome3
39 This is a transitional package which allows users to try out new IBus
40 GUI for GNOME3 in development. Note that this package will be marked
41 as obsolete once the integration has completed in the GNOME3 upstream.
43 %description -n ibus-gnome3 -l pl.UTF-8
44 Pakiet przejściowy pozwalający użytkownikom wypróbować nowe GUI IBus
45 dla GNOME3 w trakcie tworzenia. Uwaga: ten pakiet zostanie oznaczony
46 jako przestarzały po zakończeniu integracji w GNOME3.
50 %{__rm} js/ui/status/ibus/xkbLayout.js
55 --with-gnome-shell-version="%{gs_version},3.6,3.4,3.2" \
56 --with-gjs-version="%{gjs_version},1.33.3,1.32,1.31.22,1.31.20,1.31.10,1.31.6,1.31.11,1.30"
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
69 rm -rf $RPM_BUILD_ROOT
71 %files -n ibus-gnome3 -f ibus-gjs.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog README
74 %{_datadir}/gnome-shell/js/ui/status/ibus
75 %{_datadir}/gnome-shell/extensions/ibus-indicator@example.com