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