]>
Commit | Line | Data |
---|---|---|
f426e832 MB |
1 | Summary: On-screen keyboard |
2 | Summary(pl.UTF-8): Klawiatura ekranowa | |
3 | Name: caribou | |
e3c1767c | 4 | Version: 0.4.4 |
69edf655 | 5 | Release: 1 |
f426e832 MB |
6 | License: LGPL v2+ |
7 | Group: X11/Applications/Accessibility | |
255f3164 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/caribou/0.4/%{name}-%{version}.tar.xz |
e3c1767c | 9 | # Source0-md5: 6df53b3d9d2441ab763c9b55c01c8167 |
f426e832 MB |
10 | URL: http://live.gnome.org/Caribou |
11 | BuildRequires: autoconf >= 2.63 | |
255f3164 | 12 | BuildRequires: automake >= 1:1.11 |
f426e832 MB |
13 | BuildRequires: clutter-devel >= 1.6.0 |
14 | BuildRequires: gettext-devel | |
255f3164 | 15 | BuildRequires: glib2-devel >= 1:2.30.0 |
255f3164 | 16 | BuildRequires: gobject-introspection-devel >= 0.10.7 |
823445e0 | 17 | BuildRequires: gtk+2-devel >= 2.0.0 |
f426e832 MB |
18 | BuildRequires: gtk+3-devel >= 3.0.0 |
19 | BuildRequires: intltool >= 0.40.0 | |
823445e0 PZ |
20 | BuildRequires: libgee-devel |
21 | BuildRequires: libxklavier-devel | |
22 | BuildRequires: libxml2-devel | |
f426e832 MB |
23 | BuildRequires: pkgconfig |
24 | BuildRequires: python >= 1:2.4 | |
255f3164 | 25 | BuildRequires: python-pygobject3-devel >= 3.0.0 |
f426e832 | 26 | BuildRequires: rpmbuild(macros) >= 1.592 |
444e9fce | 27 | BuildRequires: tar >= 1:1.22 |
255f3164 | 28 | BuildRequires: vala >= 2:0.14.0 |
823445e0 PZ |
29 | BuildRequires: xorg-lib-libX11-devel |
30 | BuildRequires: xorg-lib-libXtst-devel | |
444e9fce | 31 | BuildRequires: xz |
f426e832 | 32 | Requires(post,postun): glib2 >= 1:2.26.0 |
0950c22e | 33 | Requires(postun): /sbin/ldconfig |
f426e832 | 34 | Requires: clutter >= 1.6.0 |
255f3164 | 35 | Requires: gobject-introspection >= 0.10.7 |
f426e832 | 36 | Requires: python-modules |
255f3164 MB |
37 | Requires: python-pyatspi >= 2.2.0 |
38 | Requires: python-pygobject3 >= 3.0.0 | |
f426e832 MB |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | Caribou is an on-screen keyboard suitable for people who can use a | |
43 | mouse but not a hardware keyboard. This on-screen keyboard may also be | |
44 | useful for touch screen or tablet users. | |
45 | ||
46 | %description -l pl.UTF-8 | |
47 | Caribou jest klawiaturą ekranową odpowiednią dla ludzi, którzy nie | |
48 | mogą użyć zwykłej klawiatury a tylko mysz. Może być również pomocna | |
49 | dla użytkowników ekranów dotykowych oraz tabletów. | |
50 | ||
255f3164 MB |
51 | %package devel |
52 | Summary: Development files for Caribou | |
53 | Summary(pl.UTF-8): Pliki programistyczne dla Caribou | |
54 | Group: X11/Development/Libraries | |
55 | Requires: %{name} = %{version}-%{release} | |
56 | ||
57 | %description devel | |
58 | This package provides development files for Caribou. | |
59 | ||
60 | %description devel -l pl.UTF-8 | |
61 | Ten pakiet dostarcza pliki programistyczne dla Caribou. | |
62 | ||
6d506a18 ER |
63 | %package -n python-caribou |
64 | Summary: Keyboard UI for %{name} | |
65 | Group: Development/Languages/Python | |
66 | Requires: %{name} = %{version}-%{release} | |
67 | ||
68 | %description -n python-caribou | |
69 | This package contains caribou Python GUI | |
70 | ||
71 | %package gtk2-module | |
72 | Summary: Gtk2 im module for %{name} | |
73 | Group: Libraries | |
74 | Requires: %{name} = %{version}-%{release} | |
75 | Requires: gtk+2 | |
0950c22e | 76 | Conflicts: %{name} < 0.4.1-2 |
6d506a18 ER |
77 | |
78 | %description gtk2-module | |
79 | This package contains caribou im module for Gtk2. | |
80 | ||
81 | %package gtk3-module | |
82 | Summary: Gtk3 im module for %{name} | |
83 | Group: Libraries | |
84 | Requires: %{name} = %{version}-%{release} | |
85 | Requires: gtk+3 | |
0950c22e | 86 | Conflicts: %{name} < 0.4.1-2 |
6d506a18 ER |
87 | |
88 | %description gtk3-module | |
89 | This package contains caribou im module for Gtk3. | |
90 | ||
91 | %package antler | |
92 | Summary: Keyboard implementation for %{name} | |
93 | Group: X11/Applications | |
94 | Requires: %{name} = %{version}-%{release} | |
0950c22e | 95 | Conflicts: %{name} < 0.4.1-2 |
6d506a18 ER |
96 | |
97 | %description antler | |
98 | This package contains caribou keyboard implementation. | |
99 | ||
f426e832 MB |
100 | %prep |
101 | %setup -q | |
102 | ||
103 | %build | |
444e9fce | 104 | %{__libtoolize} |
f426e832 MB |
105 | %{__aclocal} -I m4 |
106 | %{__autoconf} | |
107 | %{__automake} | |
108 | %configure \ | |
255f3164 MB |
109 | --disable-silent-rules \ |
110 | --disable-static | |
f426e832 MB |
111 | %{__make} |
112 | ||
113 | %install | |
114 | rm -rf $RPM_BUILD_ROOT | |
115 | ||
116 | %{__make} install \ | |
117 | DESTDIR=$RPM_BUILD_ROOT | |
118 | ||
119 | %find_lang %{name} | |
120 | ||
121 | %py_postclean | |
122 | ||
255f3164 MB |
123 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtk-*/modules/libcaribou-gtk-module.la |
124 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
3a36459e | 125 | |
f426e832 MB |
126 | %clean |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
6d506a18 | 129 | %post -p /sbin/ldconfig |
f426e832 | 130 | %postun |
823445e0 | 131 | /sbin/ldconfig |
6d506a18 ER |
132 | if [ $1 -eq 0 ] ; then |
133 | %glib_compile_schemas | |
134 | fi | |
135 | ||
136 | %posttrans | |
f426e832 MB |
137 | %glib_compile_schemas |
138 | ||
139 | %files -f %{name}.lang | |
140 | %defattr(644,root,root,755) | |
141 | %doc AUTHORS ChangeLog NEWS README | |
142 | %attr(755,root,root) %{_bindir}/caribou | |
823445e0 | 143 | %attr(755,root,root) %{_bindir}/caribou-preferences |
823445e0 PZ |
144 | %attr(755,root,root) %{_libdir}/libcaribou.so.*.*.* |
145 | %attr(755,root,root) %ghost %{_libdir}/libcaribou.so.0 | |
f426e832 MB |
146 | %{_datadir}/caribou |
147 | %{_datadir}/glib-2.0/schemas/org.gnome.caribou.gschema.xml | |
148 | %{_desktopdir}/caribou.desktop | |
f426e832 | 149 | %{_sysconfdir}/xdg/autostart/caribou-autostart.desktop |
3a36459e | 150 | %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop |
823445e0 | 151 | %{_libdir}/girepository-1.0/Caribou-1.0.typelib |
255f3164 | 152 | |
6d506a18 ER |
153 | %files -n python-caribou |
154 | %defattr(644,root,root,755) | |
155 | %{py_sitescriptdir}/caribou | |
156 | ||
157 | %files gtk2-module | |
158 | %defattr(644,root,root,755) | |
159 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so | |
160 | ||
161 | %files gtk3-module | |
162 | %defattr(644,root,root,755) | |
163 | %attr(755,root,root) %{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so | |
164 | ||
165 | %files antler | |
166 | %defattr(644,root,root,755) | |
167 | %{_datadir}/antler | |
168 | %{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service | |
169 | %attr(755,root,root) %{_libexecdir}/antler-keyboard | |
170 | %{_datadir}/glib-2.0/schemas/org.gnome.antler.gschema.xml | |
171 | ||
255f3164 MB |
172 | %files devel |
173 | %defattr(644,root,root,755) | |
174 | %attr(755,root,root) %{_libdir}/libcaribou.so | |
175 | %{_includedir}/libcaribou | |
176 | %{_datadir}/gir-1.0/Caribou-1.0.gir |