add yaml file in package

This commit is contained in:
gaochao_100 2020-06-12 15:05:08 +08:00 committed by chengguipeng
parent 5810345cbe
commit b2bb80b0da
3 changed files with 14 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,17 @@
Name: xkeyboard-config
Version: 2.24
Release: 6
Version: 2.30
Release: 1
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
BuildArch: noarch
BuildRequires: gettext intltool libtool libxslt perl-XML-Parser glib2-devel
BuildRequires: xorg-x11-util-macros xorg-x11-proto-devel xorg-x11-xkb-utils libX11-devel
BuildRequires: gettext gettext-devel libtool libxslt intltool perl(XML::Parser) pkgconfig(glib-2.0)
BuildRequires: pkgconfig(x11) >= 1.4.3
BuildRequires: pkgconfig(xorg-macros) >= 1.12
BuildRequires: pkgconfig(xproto) >= 7.0.20
BuildRequires: xkbcomp
%description
The non-arch keyboard configuration database for X Window. The goal is to
@ -36,6 +39,10 @@ AUTOPOINT="intltoolize --automake --copy" autoreconf -v --force --install || exi
%install
%make_install
# Remove unnecessary symlink
rm -f $RPM_BUILD_ROOT%{_datadir}/X11/xkb/compiled
%find_lang %{name}
{
FILESLIST=${PWD}/files.list
pushd $RPM_BUILD_ROOT
@ -61,6 +68,9 @@ AUTOPOINT="intltoolize --automake --copy" autoreconf -v --force --install || exi
%{_mandir}/man7/*.gz
%changelog
* Mon Jul 20 2020 chengguipeng<chengguipeng1@huawei.com> - 2.30-1
- Upgrade to 2.30-1
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.24-6
- Type:bugfix
- Id:NA