xkeyboard-config/xkeyboard-config.spec

81 lines
2.3 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:20:14 -04:00
Name: xkeyboard-config
2020-08-17 15:45:34 +08:00
Version: 2.30
2021-12-03 17:07:24 +08:00
Release: 2
2019-09-30 11:20:14 -04:00
Summary: The X Keyboard Extension
License: MIT
URL: https://www.freedesktop.org/wiki/Software/XKeyboardConfig
Source0: https://xorg.freedesktop.org/archive/individual/data/%{name}/%{name}-%{version}.tar.bz2
2020-08-17 15:45:34 +08:00
Patch01: 0001-Fix-symbols-in-syntax-error-spurious-git-conflict-ma.patch
2021-12-03 17:07:24 +08:00
Patch02: 0001-remove-duplicate-cm-tel-kagapa.patch
2020-08-17 15:45:34 +08:00
2019-09-30 11:20:14 -04:00
BuildArch: noarch
2020-08-17 15:45:34 +08:00
BuildRequires: gettext gettext-devel libtool libxslt perl(XML::Parser) pkgconfig(glib-2.0) xkbcomp
BuildRequires: pkgconfig(x11) >= 1.4.3 pkgconfig(xorg-macros) >= 1.12 pkgconfig(xproto) >= 7.0.20
2019-09-30 11:20:14 -04:00
%description
The non-arch keyboard configuration database for X Window. The goal is to
provide the consistent, well-structured, frequently released open source of
X keyboard configuration data for X Window System implementations (free,
open source and commercial). The project is targeted to XKB-based systems.
%package devel
Summary: Header files for xkeyboard-config
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
Header files for xkeyboard-config
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
2020-08-17 15:45:34 +08:00
autoreconf -v --force --install || exit 1
2019-09-30 11:20:14 -04:00
%configure --enable-compat-rules --with-xkb-base=%{_datadir}/X11/xkb --with-xkb-rules-symlink=xorg
%make_build
%install
%make_install
{
FILESLIST=${PWD}/files.list
pushd $RPM_BUILD_ROOT
find .%{_datadir}/X11/xkb -type d | sed -e "s/^\./%dir /g" > $FILESLIST
find .%{_datadir}/X11/xkb -type f | sed -e "s/^\.//g" >> $FILESLIST
popd
}
%files
%defattr(-,root,root)
2019-11-06 19:56:21 +08:00
%doc AUTHORS
%license COPYING
2019-09-30 11:20:14 -04:00
%{_datadir}/locale/*
%{_datadir}/X11/xkb/*
%files devel
%defattr(-,root,root)
%{_datadir}/pkgconfig/xkeyboard-config.pc
%files help
%defattr(-,root,root)
2020-08-17 15:45:34 +08:00
%doc README docs/README.* docs/HOWTO.* TODO NEWS
%{_mandir}/man7/xkeyboard-config.*
2019-09-30 11:20:14 -04:00
%changelog
2021-12-03 17:07:24 +08:00
* Fri Dec 3 2021 zhangshaoning <zhangshaoning@uniontech.com> - 2.30-2
- remove duplicate cm and tel-kagapa
2020-08-17 15:45:34 +08:00
* Tue Aug 18 2020 zhanzhimin <zhanzhimin@huawei.com> - 2.30-1
- Upgrade to 2.30-1
2019-11-06 19:56:21 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.24-6
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
2019-09-30 11:20:14 -04:00
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.24-5
- Package init