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