aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/xkeyboard-config.spec
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkbdata.src/xkeyboard-config.spec')
-rw-r--r--xorg-server/xkbdata.src/xkeyboard-config.spec45
1 files changed, 45 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/xkeyboard-config.spec b/xorg-server/xkbdata.src/xkeyboard-config.spec
new file mode 100644
index 000000000..96c0b5afe
--- /dev/null
+++ b/xorg-server/xkbdata.src/xkeyboard-config.spec
@@ -0,0 +1,45 @@
+Name: xkeyboard-config
+Summary: XML-based XKB configuration registry
+Version: 1.4
+Release: 1
+License: X11/MIT
+Group: User Interface/X
+
+Url: http://gswitchit.sourceforge.net/
+
+Source: http://gswitchit.sourceforge.net/%{name}-%{version}.tar.gz
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+
+%description
+Just XML stuff. Later hopefully will be part of XFree86
+
+%prep
+%setup -q
+
+%build
+
+if [ ! -f configure ]; then
+ CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh
+fi
+
+CFLAGS="$RPM_OPT_FLAGS" ./configure
+
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make prefix=$RPM_BUILD_ROOT%{_prefix} install
+rm -rf $RPM_BUILD_ROOT%{_prefix}/share/locale
+
+%clean
+rm -rf %{buildroot}
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}
+
+%files
+%defattr(-, root, root)
+
+%doc AUTHORS CREDITS ChangeLog NEWS README COPYING docs/README.config docs/README.enhancing docs/README.symbols docs/HOWTO.transition docs/HOWTO.testing
+%{_prefix}/lib/X11/xkb/*