]> git.pld-linux.org Git - packages/eekboard.git/blob - eekboard.spec
704d272c4c8b56e4aae9df3cd4aa6a975666d0b8
[packages/eekboard.git] / eekboard.spec
1 Summary:        An Easy-to-use Virtual Keyboard Toolkit
2 Name:           eekboard
3 Version:        0.90.7
4 Release:        3
5 License:        GPL v3+
6 Group:          Applications/System
7 Source0:        http://github.com/downloads/ueno/eekboard/%{name}-%{version}.tar.gz
8 # Source0-md5:  204aa3914a1e0e12c0d7c1029bf74685
9 URL:            http://fedorahosted.org/eekboard/
10 BuildRequires:  at-spi2-core-devel
11 BuildRequires:  dbus-glib-devel
12 BuildRequires:  gobject-introspection-devel
13 BuildRequires:  gtk+3-devel
14 BuildRequires:  libcroco-devel
15 BuildRequires:  libfakekey-devel
16 BuildRequires:  libxklavier-devel
17 BuildRequires:  python-devel
18 BuildRequires:  xorg-lib-libXtst-devel
19 Requires:       %{name}-libs = %{version}-%{release}
20 Requires:       python-eekboard
21 Requires:       python-virtkey
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 eekboard is a virtual keyboard software package, including a set of
26 tools to implement desktop virtual keyboards.
27
28 %package libs
29 Summary:        Runtime libraries for eekboard
30 License:        LGPL v2+
31 Group:          Libraries
32
33 %description libs
34 This package contains the libraries for eekboard
35
36 %package devel
37 Summary:        Development tools for eekboard
38 License:        LGPLv2+ and GFDL
39 Group:          Development/Libraries
40 Requires:       %{name}-libs = %{version}-%{release}
41 Requires:       vala
42
43 %description devel
44 This package contains the development tools for eekboard.
45
46 %package -n python-eekboard
47 Summary:        Python binding of eekboard client library
48 Group:          Libraries
49
50 %description -n python-eekboard
51 This package contains the Python language binding of eekboard client
52 library.
53
54 %prep
55 %setup -q
56
57 %build
58 %configure \
59         --with-gtk=3.0 \
60         --enable-atspi \
61         --with-html-dir=%{_gtkdocdir}
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 rm $RPM_BUILD_ROOT%{_libdir}/*.la
72
73 %find_lang %{name}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 %update_icon_cache hicolor
80
81 %postun
82 %update_icon_cache hicolor
83
84 %post libs -p /sbin/ldconfig
85 %postun libs -p /sbin/ldconfig
86
87 %files -f %{name}.lang
88 %defattr(644,root,root,755)
89 %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
90 %attr(755,root,root) %{_bindir}/eekboard
91 %attr(755,root,root) %{_bindir}/eekboard-inscript
92 %attr(755,root,root) %{_bindir}/eekboard-server
93 %attr(755,root,root) %{_bindir}/eekboard-xml
94 %{_datadir}/eekboard
95 %{_datadir}/eekboard-inscript
96 %{_iconsdir}/hicolor/*/apps/eekboard.png
97 %{_iconsdir}/hicolor/scalable/apps/eekboard.svg
98 %{_desktopdir}/%{name}.desktop
99 %{_datadir}/dbus-1/services/eekboard-server.service
100
101 %files libs
102 %defattr(644,root,root,755)
103 %doc AUTHORS README
104 %attr(755,root,root) %{_libdir}/libeek*.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libeek*.so.[0-9]
106 %{_libdir}/girepository-1.0/Eek*.typelib
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libeek*.so
111 %{_includedir}/eek-0.90
112 %{_includedir}/eekboard-0.90
113 %{_datadir}/gir-1.0/Eek*.gir
114 %{_datadir}/vala/vapi/eek*.vapi
115 %{_pkgconfigdir}/eek*.pc
116 %{_gtkdocdir}/eek*
117
118 %files -n python-eekboard
119 %defattr(644,root,root,755)
120 %{py_sitescriptdir}/eekboard
This page took 0.07997 seconds and 2 git commands to generate.