-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathxruskb.spec
47 lines (38 loc) · 1.3 KB
/
xruskb.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%define version 1.15.3
%define release 1
Name: xruskb
Summary: program for switching two keyboard layouts
Version: %{version}
Release: %{release}
Copyright: GNU GPL
Group: X11/Utilities
Source: ftp://ftp.yars.free.net/pub/software/unix/X11/xruskb-%{version}.tar.gz
BuildRoot: /tmp/xruskb-%{version}-root
%description
Xrus - program for switching two keyboard layouts with a hot
key combination. It also serves as autolock.
It can be compiled with Motif, Lesstif, Xaw or without any
widget library. In the later case it won't show its icon with
keyboard indicator.
It gets all keyboard and mouse events; when a particular hot
key combination is pressed, it swaps 1,2 and 3,4 columns of
keyboard map. When a timeout without keyboard and mouse events
passes, it starts a locker.
%prep
%setup
%build
%define __libtoolize true
%configure
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%attr(755, root, root) %{_bindir}/*
%attr(644, root, man) %{_mandir}/man*/*
%attr(755, root, root) %dir %{_datadir}/xruskb
%attr(644, root, root) %{_datadir}/xruskb/*
%attr(-, root, root) %doc README xrus.doc* NEWS TODO Xrus.ad Xrus.wmaker
%attr(-, root, root) %doc keymaps/README.keymaps icons/README.icons
%attr(-, root, root) %doc xmodmap/README.xrusmodmap README.WindowMaker