]>
Commit | Line | Data |
---|---|---|
a548ede5 | 1 | Summary: An Easy-to-use Virtual Keyboard Toolkit |
20443567 | 2 | Summary(pl.UTF-8): Łatwy w użyciu toolkit wirtualnej klawiatury |
a548ede5 | 3 | Name: eekboard |
20443567 | 4 | Version: 1.0.8 |
6d091a19 | 5 | Release: 7 |
20443567 | 6 | License: LGPL v2+ (libraries), GPL v3+ (programs) |
a548ede5 | 7 | Group: Applications/System |
20443567 | 8 | #Source0Download: https://github.com/ueno/eekboard/downloads |
a548ede5 | 9 | Source0: http://github.com/downloads/ueno/eekboard/%{name}-%{version}.tar.gz |
20443567 | 10 | # Source0-md5: 83584689cd3353d2f471d01f4f5f2efd |
a548ede5 JR |
11 | URL: http://fedorahosted.org/eekboard/ |
12 | BuildRequires: at-spi2-core-devel | |
0488eaac | 13 | BuildRequires: gettext-tools |
20443567 JB |
14 | BuildRequires: glib2-devel >= 1:2.26.0 |
15 | BuildRequires: gobject-introspection-devel >= 0.9.0 | |
20443567 | 16 | BuildRequires: gtk+3-devel >= 3.0 |
6d091a19 | 17 | BuildRequires: gtk-doc >= 1.14 |
20443567 JB |
18 | BuildRequires: intltool >= 0.35.0 |
19 | BuildRequires: libcanberra-gtk3-devel | |
20 | BuildRequires: libcroco-devel >= 0.6 | |
a548ede5 | 21 | BuildRequires: libxklavier-devel |
20443567 JB |
22 | BuildRequires: pango-devel |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: xorg-lib-libX11-devel | |
a548ede5 JR |
25 | BuildRequires: xorg-lib-libXtst-devel |
26 | Requires: %{name}-libs = %{version}-%{release} | |
a548ede5 JR |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | eekboard is a virtual keyboard software package, including a set of | |
31 | tools to implement desktop virtual keyboards. | |
32 | ||
20443567 JB |
33 | %description -l pl.UTF-8 |
34 | eekboard to pakiet oprogramowania wirtualnej klawiatury, zawierający | |
35 | zestaw narzędzi do implementowania graficznych wirtualnych klawiatur. | |
36 | ||
a548ede5 JR |
37 | %package libs |
38 | Summary: Runtime libraries for eekboard | |
20443567 | 39 | Summary(pl.UTF-8): Biblioteki współdzielone eekboard |
a548ede5 JR |
40 | License: LGPL v2+ |
41 | Group: Libraries | |
20443567 JB |
42 | Requires: glib2 >= 1:2.26.0 |
43 | Obsoletes: python-eekboard | |
a548ede5 JR |
44 | |
45 | %description libs | |
20443567 JB |
46 | This package contains the libraries for eekboard. |
47 | ||
48 | %description libs -l pl.UTF-8 | |
49 | Ten pakiet zawiera biblioteki eekboard. | |
a548ede5 JR |
50 | |
51 | %package devel | |
20443567 JB |
52 | Summary: Development files for eekboard |
53 | Summary(pl.UTF-8): Pliki programistyczne bibliotek eekboard | |
54 | License: LGPL v2+ (libraries), FDL v1.3+ (documentation) | |
a548ede5 JR |
55 | Group: Development/Libraries |
56 | Requires: %{name}-libs = %{version}-%{release} | |
20443567 JB |
57 | Requires: glib2-devel >= 1:2.26.0 |
58 | Requires: gtk+3-devel >= 3.0 | |
59 | Requires: libxklavier-devel | |
a548ede5 JR |
60 | |
61 | %description devel | |
20443567 | 62 | This package contains the development files for eekboard. |
a548ede5 | 63 | |
20443567 JB |
64 | %description devel -l pl.UTF-8 |
65 | Pliki programistyczne bibliotek eekboard. | |
66 | ||
67 | %package -n vala-eekboard | |
68 | Summary: Vala API for eekboard libraries | |
69 | Summary(pl.UTF-8): API języka Vala do bibliotek eekboard | |
70 | License: LGPL v2+ | |
71 | Group: Development/Libraries | |
72 | Requires: %{name}-devel = %{version}-%{release} | |
73 | Requires: vala >= 2:0.10.0 | |
6d091a19 ER |
74 | %if "%{_rpmversion}" >= "5" |
75 | BuildArch: noarch | |
76 | %endif | |
20443567 JB |
77 | |
78 | %description -n vala-eekboard | |
79 | Vala API for eekboard libraries. | |
a548ede5 | 80 | |
20443567 JB |
81 | %description -n vala-eekboard -l pl.UTF-8 |
82 | API języka Vala do bibliotek eekboard. | |
a548ede5 JR |
83 | |
84 | %prep | |
85 | %setup -q | |
86 | ||
87 | %build | |
88 | %configure \ | |
20443567 | 89 | --disable-silent-rules \ |
a548ede5 JR |
90 | --enable-atspi \ |
91 | --with-html-dir=%{_gtkdocdir} | |
92 | ||
93 | %{__make} | |
94 | ||
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %{__make} install \ | |
99 | DESTDIR=$RPM_BUILD_ROOT | |
100 | ||
20443567 JB |
101 | # obsoleted by pkg-config |
102 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
a548ede5 JR |
103 | |
104 | %find_lang %{name} | |
105 | ||
106 | %clean | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %post | |
20443567 | 110 | %glib_compile_schemas |
a548ede5 JR |
111 | %update_icon_cache hicolor |
112 | ||
113 | %postun | |
20443567 | 114 | %glib_compile_schemas |
a548ede5 JR |
115 | %update_icon_cache hicolor |
116 | ||
20443567 JB |
117 | %post libs -p /sbin/ldconfig |
118 | %postun libs -p /sbin/ldconfig | |
a548ede5 JR |
119 | |
120 | %files -f %{name}.lang | |
121 | %defattr(644,root,root,755) | |
122 | %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop | |
123 | %attr(755,root,root) %{_bindir}/eekboard | |
a548ede5 | 124 | %attr(755,root,root) %{_bindir}/eekboard-server |
20443567 | 125 | %attr(755,root,root) %{_libexecdir}/eekboard-setup |
a548ede5 | 126 | %{_datadir}/eekboard |
20443567 JB |
127 | %{_datadir}/dbus-1/services/eekboard-server.service |
128 | %{_datadir}/glib-2.0/schemas/org.fedorahosted.eekboard.gschema.xml | |
a548ede5 JR |
129 | %{_iconsdir}/hicolor/*/apps/eekboard.png |
130 | %{_iconsdir}/hicolor/scalable/apps/eekboard.svg | |
131 | %{_desktopdir}/%{name}.desktop | |
a548ede5 JR |
132 | |
133 | %files libs | |
134 | %defattr(644,root,root,755) | |
20443567 JB |
135 | %doc AUTHORS README TODO |
136 | %attr(755,root,root) %{_libdir}/libeek.so.*.*.* | |
137 | %attr(755,root,root) %ghost %{_libdir}/libeek.so.0 | |
138 | %attr(755,root,root) %{_libdir}/libeek-gtk.so.*.*.* | |
139 | %attr(755,root,root) %ghost %{_libdir}/libeek-gtk.so.0 | |
140 | %attr(755,root,root) %{_libdir}/libeek-xkl.so.*.*.* | |
141 | %attr(755,root,root) %ghost %{_libdir}/libeek-xkl.so.0 | |
142 | %attr(755,root,root) %{_libdir}/libeekboard.so.*.*.* | |
143 | %attr(755,root,root) %ghost %{_libdir}/libeekboard.so.0 | |
144 | %{_libdir}/girepository-1.0/Eek-0.90.typelib | |
145 | %{_libdir}/girepository-1.0/EekGtk-0.90.typelib | |
146 | %{_libdir}/girepository-1.0/EekXkl-0.90.typelib | |
147 | %{_libdir}/girepository-1.0/Eekboard-0.90.typelib | |
a548ede5 JR |
148 | |
149 | %files devel | |
150 | %defattr(644,root,root,755) | |
20443567 JB |
151 | %attr(755,root,root) %{_libdir}/libeek.so |
152 | %attr(755,root,root) %{_libdir}/libeek-gtk.so | |
153 | %attr(755,root,root) %{_libdir}/libeek-xkl.so | |
154 | %attr(755,root,root) %{_libdir}/libeekboard.so | |
a548ede5 JR |
155 | %{_includedir}/eek-0.90 |
156 | %{_includedir}/eekboard-0.90 | |
20443567 JB |
157 | %{_datadir}/gir-1.0/Eek-0.90.gir |
158 | %{_datadir}/gir-1.0/EekGtk-0.90.gir | |
159 | %{_datadir}/gir-1.0/EekXkl-0.90.gir | |
160 | %{_datadir}/gir-1.0/Eekboard-0.90.gir | |
161 | %{_pkgconfigdir}/eek-0.90.pc | |
162 | %{_pkgconfigdir}/eek-gtk-0.90.pc | |
163 | %{_pkgconfigdir}/eek-xkl-0.90.pc | |
164 | %{_pkgconfigdir}/eekboard-0.90.pc | |
165 | %{_gtkdocdir}/eek | |
166 | %{_gtkdocdir}/eekboard | |
167 | ||
168 | %files -n vala-eekboard | |
a548ede5 | 169 | %defattr(644,root,root,755) |
20443567 JB |
170 | %{_datadir}/vala/vapi/eek-0.90.deps |
171 | %{_datadir}/vala/vapi/eek-0.90.vapi | |
172 | %{_datadir}/vala/vapi/eek-gtk-0.90.deps | |
173 | %{_datadir}/vala/vapi/eek-gtk-0.90.vapi | |
174 | %{_datadir}/vala/vapi/eek-xkl-0.90.deps | |
175 | %{_datadir}/vala/vapi/eek-xkl-0.90.vapi |