xkeyboard-config/xkeyboard-config.spec

84 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: xkeyboard-config
2023-02-06 03:24:02 +00:00
Version: 2.38
Release: 1
Summary: The X Keyboard Extension
License: MIT
2019-09-30 11:20:14 -04:00
URL: https://www.freedesktop.org/wiki/Software/XKeyboardConfig
2023-02-06 03:24:02 +00:00
Source0: https://xorg.freedesktop.org/archive/individual/data/%{name}/%{name}-%{version}.tar.xz
2019-09-30 11:20:14 -04:00
BuildArch: noarch
2023-02-06 03:24:02 +00:00
BuildRequires: gettext gettext-devel libtool libxslt perl(XML::Parser) pkgconfig(glib-2.0) xkbcomp meson
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
2019-09-30 11:20:14 -04:00
%build
2023-02-06 03:24:02 +00:00
%meson -Dcompat-rules=true -Dxorg-rules-symlinks=true
%meson_build
2019-09-30 11:20:14 -04:00
%install
2023-02-06 03:24:02 +00:00
%meson_install
2019-09-30 11:20:14 -04:00
{
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)
2021-11-27 15:07:29 +08:00
%doc README docs/README.* docs/HOWTO.* NEWS
%{_mandir}/man7/xkeyboard-config.*
2019-09-30 11:20:14 -04:00
%changelog
2023-02-06 03:24:02 +00:00
* Mon Feb 06 2023 zhangpan <zhangpan@h-partners.com> - 2.38-1
- update to 2.38
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2.33-2
- Rebuild for next release
2021-11-27 15:07:29 +08:00
* Sat Nov 27 2021 wangkerong<wangkerong@huawei.com> - 2.33-1
- update to 2.33-1
2020-06-12 15:05:08 +08:00
* Mon Jul 20 2020 chengguipeng<chengguipeng1@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