2019-12-13 15:42:19 +08:00
|
|
|
Name: libX11
|
2023-04-12 10:15:09 +08:00
|
|
|
Version: 1.8.4
|
2023-06-19 16:08:17 +08:00
|
|
|
Release: 2
|
2019-12-13 15:42:19 +08:00
|
|
|
Summary: Core X11 protocol client library
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://www.x.org
|
2022-06-20 11:25:18 +08:00
|
|
|
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz
|
2019-09-30 10:59:10 -04:00
|
|
|
|
2019-12-13 15:42:19 +08:00
|
|
|
Patch1: dont-forward-keycode-0.patch
|
2023-04-12 10:15:09 +08:00
|
|
|
#Patch6001: backport-CVE-2022-3554.patch
|
2023-06-19 16:08:17 +08:00
|
|
|
Patch6001: backport-CVE-2023-3138.patch
|
2020-09-30 15:20:06 +08:00
|
|
|
|
2019-12-13 15:42:19 +08:00
|
|
|
BuildRequires: xorg-x11-util-macros >= 1.11 xorg-x11-proto-devel perl-Pod-Usage libXau-devel
|
2022-06-20 11:25:18 +08:00
|
|
|
BuildRequires: libxcb-devel >= 1.2 libXdmcp-devel xorg-x11-xtrans-devel >= 1.0.3-4 make
|
2019-12-13 15:42:19 +08:00
|
|
|
|
|
|
|
|
Provides: %{name}-common = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-common < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Provides: %{name}-xcb = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-xcb < %{version}-%{release}
|
2019-09-30 10:59:10 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Core X11 protocol client library.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for %{name}.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -ivf
|
2023-04-11 06:35:48 +00:00
|
|
|
%if 0%{?build_cross} == 1
|
|
|
|
|
%configure --disable-silent-rules --enable-malloc0returnsnull --disable-static
|
|
|
|
|
%else
|
2022-11-04 07:54:20 +00:00
|
|
|
%configure --disable-silent-rules --disable-static
|
2023-04-11 06:35:48 +00:00
|
|
|
%endif
|
2019-09-30 10:59:10 -04:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
2019-12-13 15:42:19 +08:00
|
|
|
%make_install
|
2019-09-30 10:59:10 -04:00
|
|
|
|
2019-12-13 15:42:19 +08:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/cache/libX11/compose
|
2019-09-30 10:59:10 -04:00
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make %{?_smp_mflags} check
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2019-12-13 15:42:19 +08:00
|
|
|
%doc AUTHORS
|
2019-11-06 19:35:41 +08:00
|
|
|
%license COPYING
|
2019-12-13 15:42:19 +08:00
|
|
|
%{_libdir}/*.so.*
|
2019-09-30 10:59:10 -04:00
|
|
|
%{_datadir}/X11/locale/*
|
|
|
|
|
%{_datadir}/X11/XErrorDB
|
|
|
|
|
%dir /var/cache/libX11/compose
|
2019-12-13 15:42:19 +08:00
|
|
|
%exclude %{_docdir}/*
|
|
|
|
|
%exclude %{_datadir}/X11/Xcms.txt
|
2019-09-30 10:59:10 -04:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_includedir}/X11/*.h
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2021-12-15 10:53:02 +08:00
|
|
|
%{_includedir}/X11/extensions/XKBgeom.h
|
2019-09-30 10:59:10 -04:00
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
2023-04-12 10:15:09 +08:00
|
|
|
%doc README.md ChangeLog
|
2019-09-30 10:59:10 -04:00
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-06-19 16:08:17 +08:00
|
|
|
* Mon Jun 19 2023 liweigang <liweiganga@uniontech.com> - 1.8.4-2
|
|
|
|
|
- fix CVE-2023-3138
|
|
|
|
|
|
2023-04-12 10:15:09 +08:00
|
|
|
* Wed Apr 12 2023 liweiganga <liweiganga@uniontech.com> - 1.8.4-1
|
|
|
|
|
- update to 1.8.4
|
|
|
|
|
|
2023-04-11 06:35:48 +00:00
|
|
|
* Tue Apr 11 2023 zhangpan <zhangpan103@h-partners.com> - 1.8.1-4
|
|
|
|
|
- add build options for i686
|
|
|
|
|
|
2022-11-04 07:54:20 +00:00
|
|
|
* Fri Nov 04 2022 wangkerong <wangkerong@h-partners.com> - 1.8.1-3
|
|
|
|
|
- disable static library
|
|
|
|
|
|
2022-10-24 19:10:59 +08:00
|
|
|
* Mon Oct 24 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.8.1-2
|
|
|
|
|
- fix CVE-2022-3554
|
|
|
|
|
|
2022-06-20 11:25:18 +08:00
|
|
|
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.8.1-1
|
|
|
|
|
- update to 1.8.1
|
|
|
|
|
|
2021-12-15 10:53:02 +08:00
|
|
|
* Wed Dec 15 2021 wangkerong <wangkerong@huawei.com> - 1.7.2-2
|
|
|
|
|
- provide XKBgeom header file
|
|
|
|
|
|
2021-11-27 10:29:36 +08:00
|
|
|
* Sat Nov 27 2021 dongyuzhen <dongyuzhen@huawei.com> - 1.7.2-1
|
|
|
|
|
- update to 1.7.2
|
|
|
|
|
|
2021-06-11 12:25:45 +08:00
|
|
|
* Fri Jun 11 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.7.0-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2021-31535
|
|
|
|
|
|
2021-01-28 11:24:18 +08:00
|
|
|
* Thu Jan 28 2021 hanhui <hanhui15@huawei.com> - 1.7.0-1
|
|
|
|
|
- Type: enhancement
|
|
|
|
|
- ID: NA
|
|
|
|
|
- SUG: NA
|
|
|
|
|
- DESC: update to 1.7.0
|
|
|
|
|
|
2022-06-14 07:27:11 +00:00
|
|
|
* Wed Sep 30 2020 chengguipeng<chenguipeng1@huawei.com> - 1.6.9-4
|
2020-09-30 15:20:06 +08:00
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2020-14363
|
|
|
|
|
|
2020-09-11 21:08:34 +08:00
|
|
|
* Tue Sep 8 2020 zhanghua <zhanghua40@huawei.com> - 1.6.9-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2020-14344
|
|
|
|
|
|
2019-12-13 15:42:19 +08:00
|
|
|
* Mon Nov 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.9-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove the XKBgeom.h
|
|
|
|
|
|
|
|
|
|
* Fri Nov 1 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.9-1
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to 1.6.9
|
|
|
|
|
|
2019-11-06 19:35:41 +08:00
|
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.7-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change the directory of the license file
|
|
|
|
|
|
2019-09-30 10:59:10 -04:00
|
|
|
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.7-1
|
|
|
|
|
- Package init
|