]>
Commit | Line | Data |
---|---|---|
f426e832 MB |
1 | Summary: On-screen keyboard |
2 | Summary(pl.UTF-8): Klawiatura ekranowa | |
3 | Name: caribou | |
7c87dbd4 ŁK |
4 | Version: 0.4.1 |
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 |
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 |
823445e0 | 36 | Requires: gtk+2 |
f426e832 MB |
37 | Requires: gtk+3 |
38 | Requires: python-modules | |
255f3164 MB |
39 | Requires: python-pyatspi >= 2.2.0 |
40 | Requires: python-pygobject3 >= 3.0.0 | |
f426e832 MB |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
43 | %description | |
44 | Caribou is an on-screen keyboard suitable for people who can use a | |
45 | mouse but not a hardware keyboard. This on-screen keyboard may also be | |
46 | useful for touch screen or tablet users. | |
47 | ||
48 | %description -l pl.UTF-8 | |
49 | Caribou jest klawiaturą ekranową odpowiednią dla ludzi, którzy nie | |
50 | mogą użyć zwykłej klawiatury a tylko mysz. Może być również pomocna | |
51 | dla użytkowników ekranów dotykowych oraz tabletów. | |
52 | ||
255f3164 MB |
53 | %package devel |
54 | Summary: Development files for Caribou | |
55 | Summary(pl.UTF-8): Pliki programistyczne dla Caribou | |
56 | Group: X11/Development/Libraries | |
57 | Requires: %{name} = %{version}-%{release} | |
58 | ||
59 | %description devel | |
60 | This package provides development files for Caribou. | |
61 | ||
62 | %description devel -l pl.UTF-8 | |
63 | Ten pakiet dostarcza pliki programistyczne dla Caribou. | |
64 | ||
f426e832 MB |
65 | %prep |
66 | %setup -q | |
67 | ||
68 | %build | |
444e9fce | 69 | %{__libtoolize} |
f426e832 MB |
70 | %{__aclocal} -I m4 |
71 | %{__autoconf} | |
72 | %{__automake} | |
73 | %configure \ | |
255f3164 MB |
74 | --disable-silent-rules \ |
75 | --disable-static | |
f426e832 MB |
76 | %{__make} |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %{__make} install \ | |
82 | DESTDIR=$RPM_BUILD_ROOT | |
83 | ||
84 | %find_lang %{name} | |
85 | ||
86 | %py_postclean | |
87 | ||
255f3164 MB |
88 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtk-*/modules/libcaribou-gtk-module.la |
89 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
3a36459e | 90 | |
f426e832 MB |
91 | %clean |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %post | |
823445e0 | 95 | /sbin/ldconfig |
f426e832 MB |
96 | %glib_compile_schemas |
97 | ||
98 | %postun | |
823445e0 | 99 | /sbin/ldconfig |
f426e832 MB |
100 | %glib_compile_schemas |
101 | ||
102 | %files -f %{name}.lang | |
103 | %defattr(644,root,root,755) | |
104 | %doc AUTHORS ChangeLog NEWS README | |
105 | %attr(755,root,root) %{_bindir}/caribou | |
823445e0 PZ |
106 | %attr(755,root,root) %{_bindir}/caribou-preferences |
107 | %attr(755,root,root) %{_libexecdir}/antler-keyboard | |
108 | %attr(755,root,root) %{_libdir}/libcaribou.so.*.*.* | |
109 | %attr(755,root,root) %ghost %{_libdir}/libcaribou.so.0 | |
444e9fce AF |
110 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so |
111 | %attr(755,root,root) %{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so | |
823445e0 | 112 | %{_datadir}/antler |
f426e832 | 113 | %{_datadir}/caribou |
823445e0 PZ |
114 | %{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service |
115 | %{_datadir}/glib-2.0/schemas/org.gnome.antler.gschema.xml | |
f426e832 MB |
116 | %{_datadir}/glib-2.0/schemas/org.gnome.caribou.gschema.xml |
117 | %{_desktopdir}/caribou.desktop | |
118 | %{py_sitescriptdir}/caribou | |
119 | %{_sysconfdir}/xdg/autostart/caribou-autostart.desktop | |
3a36459e | 120 | %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop |
823445e0 | 121 | %{_libdir}/girepository-1.0/Caribou-1.0.typelib |
255f3164 MB |
122 | |
123 | %files devel | |
124 | %defattr(644,root,root,755) | |
125 | %attr(755,root,root) %{_libdir}/libcaribou.so | |
126 | %{_includedir}/libcaribou | |
127 | %{_datadir}/gir-1.0/Caribou-1.0.gir |