/[packages]/cauldron/xvkbd/current/SPECS/xvkbd.spec
ViewVC logotype

Contents of /cauldron/xvkbd/current/SPECS/xvkbd.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 93691 - (show annotations) (download)
Sat Apr 30 12:26:02 2011 UTC (13 years, 6 months ago) by sander85
File size: 1965 byte(s)
imported package xvkbd
1 Name: xvkbd
2 Summary: Virtual (on-screen) keyboard for X
3 Version: 3.2
4 Release: %mkrel 1
5 Source: http://homepage3.nifty.com/tsato/%{name}/%{name}-%{version}.tar.gz
6 URL: http://homepage3.nifty.com/tsato/xvkbd/
7 License: GPLv2+
8 Group: System/X11
9 Buildrequires: imagemagick
10 Buildrequires: imake
11 BuildRequires: X11-devel
12 BuildRequires: Xaw3d-devel
13
14 %description
15 xvkbd is a virtual (graphical) keyboard program for X Window System which
16 provides facility to enter characters onto other clients (softwares) by
17 clicking on a keyboard displayed on the screen. This may be used for systems
18 without a hardware keyboard such as kiosk terminals or handheld devices.
19
20 This program also has facility to send characters specified as the command
21 line option to another client, which can help when one wants to fully utilize
22 some modern mice with multiple buttons.
23
24 %prep
25 %setup -q
26
27 %build
28 xmkmf
29 %make
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 %makeinstall_std install.man
34 rm -f $RPM_BUILD_ROOT/%_prefix/lib/X11/app-defaults
35
36 #menu
37
38 mkdir -p %{buildroot}%{_datadir}/applications
39 cat > %{buildroot}%{_datadir}/applications/mageia-%{name}.desktop <<EOF
40 [Desktop Entry]
41 Name=Virtual Keyboard
42 Comment=On-screen keyboard for X
43 Exec=%{_bindir}/%{name} -secure
44 Icon=%{name}
45 Terminal=false
46 Type=Application
47 Categories=GNOME;GTK;Utility;Accessibility;X-MandrivaLinux-MoreApplications-Accessibility;
48 EOF
49
50 #icons
51 mkdir -p $RPM_BUILD_ROOT/%_liconsdir
52 convert -size 48x48 xvkbd_icon.xbm $RPM_BUILD_ROOT/%_liconsdir/%name.png
53 mkdir -p $RPM_BUILD_ROOT/%_iconsdir
54 convert -size 32x32 xvkbd.xbm $RPM_BUILD_ROOT/%_iconsdir/%name.png
55 mkdir -p $RPM_BUILD_ROOT/%_miconsdir
56 convert -size 16x16 xvkbd.xbm $RPM_BUILD_ROOT/%_miconsdir/%name.png
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(-,root,root)
63 %doc README
64 %_prefix/bin/*
65 %config(noreplace) %_sysconfdir/X11/app-defaults/*
66 %{_mandir}/man1/*
67 %{_datadir}/applications
68 %{_liconsdir}/%name.png
69 %{_iconsdir}/%name.png
70 %{_miconsdir}/%name.png
71
72

  ViewVC Help
Powered by ViewVC 1.1.30