86 lines
1.9 KiB
RPMSpec
86 lines
1.9 KiB
RPMSpec
%define lname libxkbfile1
|
|
Name: libxkbfile
|
|
Version: 1.1.2
|
|
Release: 2
|
|
Summary: X11 keyboard file manipulation library
|
|
License: MIT
|
|
URL: https://www.x.org
|
|
Source0: https://www.x.org/releases/individual/lib/%{name}-%{version}.tar.xz
|
|
Source1: baselibs.conf
|
|
|
|
Patch6000: backport-CVE-2025-26595.patch
|
|
|
|
BuildRequires: autoconf >= 2.60 automake libtool pkgconfig pkgconfig(kbproto) pkgconfig(x11) pkgconfig(xorg-macros) >= 1.8
|
|
|
|
%description
|
|
Libxkbfile is used by the X servers and utilities to parse the XKB
|
|
configuration data files.
|
|
|
|
%package devel
|
|
Summary: Development package for X11
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package is the development files for %{name}.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure --disable-static
|
|
%make_build
|
|
|
|
%check
|
|
make check
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%delete_la_and_a
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%doc ChangeLog
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/X11/extensions/*.h
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/%{name}.so
|
|
|
|
%changelog
|
|
* Thu Feb 27 2025 lingsheng <lingsheng1@h-partners.com> - 1.1.2-2
|
|
- fix CVE-2025-26595
|
|
|
|
* Tue Feb 14 2023 lilong <lilong@kylinos.cn> - 1.1.2-1
|
|
- Upgrade to 1.1.2
|
|
|
|
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.1.0-5
|
|
- Rebuild for next release
|
|
|
|
* Thu Feb 18 2021 jinzhimin <jinzhimin2@huawei.com> - 1.1.0-4
|
|
- rebuild libxkbfile
|
|
|
|
* Thu Feb 18 2021 jinzhimin <jinzhimin2@huawei.com> - 1.1.0-3
|
|
- add check in spec
|
|
|
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.0-2
|
|
- Type:enhancement
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:modify the location of COPYING
|
|
|
|
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.0-1
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:update
|
|
|
|
* Wed Aug 14 2019 openEuler Buildteam <buildteam@openeuler.org> 1.0.9-12
|
|
- Pacage init
|