summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-19 13:47:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-19 13:47:45 +0000
commitb95d9ed429836346792bdd959eef6b6dd82ff803 (patch)
treee5dd67d4777a1ab6e70b2c0c5c8617cc7afb44ce
parenta511a947d89e4810eb8e7c29bd17582ccb49dfb7 (diff)
-rw-r--r--.gitignore1
-rw-r--r--setxkbmap.spec43
-rw-r--r--sources1
3 files changed, 45 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b697ca8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/setxkbmap-1.3.4.tar.xz
diff --git a/setxkbmap.spec b/setxkbmap.spec
new file mode 100644
index 0000000..70a3bcb
--- /dev/null
+++ b/setxkbmap.spec
@@ -0,0 +1,43 @@
+Name: setxkbmap
+Version: 1.3.4
+Release: 1
+Summary: X11 keymap client
+License: MIT
+URL: https://www.x.org
+Source0: https://www.x.org/releases/individual/app/%{name}-%{version}.tar.xz
+
+BuildRequires: make
+BuildRequires: gcc
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xkbfile)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xrandr)
+
+%description
+%{name} is an X11 client to change the keymaps in the X server for a
+specified keyboard to use the layout determined by the options listed
+on the command line. An XKB keymap is constructed from a number of
+components which are compiled only as needed.
+
+%package_help
+
+%prep
+%autosetup
+
+%build
+%configure
+%make_build
+
+%install
+%make_install
+
+%files
+%license COPYING
+%{_bindir}/setxkbmap
+
+%files help
+%{_mandir}/man1/setxkbmap.1*
+
+%changelog
+* Tue May 16 2023 Funda Wang <fundawang@yeah.net> - 1.3.4-1
+- import package
diff --git a/sources b/sources
new file mode 100644
index 0000000..f7d509f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1d61c9f4a3d1486eff575bf233e5776c setxkbmap-1.3.4.tar.xz