]> git.pld-linux.org Git - SPECS.git/blob - ibus-gjs.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / ibus-gjs.spec
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
5 Name:           ibus-gjs
6 Version:        3.4.1.20130115
7 Release:        1
8 License:        LGPL v2+
9 Group:          Libraries
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)
24
25 %description
26 IBus gnome-shell extension.
27
28 %description -l pl.UTF-8
29 Rozszerzenie IBus dla powłoki gnome-shell.
30
31 %package -n ibus-gnome3
32 Summary:        IBus gnome-shell-extension for GNOME3
33 Summary(pl.UTF-8):      Rozszerzenie gnome-shell IBus dla GNOME3
34 Group:          Libraries
35 Requires:       gnome-shell
36 Requires:       ibus >= 1.5.0
37
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.
42
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.
47
48 %prep
49 %setup -q
50 %{__rm} js/ui/status/ibus/xkbLayout.js
51 %patch0 -p1
52
53 %build
54 %configure \
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"
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %find_lang ibus-gjs
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
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
This page took 0.061529 seconds and 3 git commands to generate.