%bcond_with 32bit Name: libX11 Version: 1.8.12 Release: 1%{?dist} Summary: X11 library - core library for X Window System Summary(ru): Библиотека X11 - основная библиотека для работы с X Window System License: MIT URL: http://www.x.org/ Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.gz Packager: NICE SOFT GROUP LLC (ООО "НАЙС СОФТ ГРУПП") 5024245440 Vendor: NiceSOFT Distribution: NiceOS.Core BugURL: https://bugs.niceos.ru/ VCS: https://specs.niceos.ru/rmps/%{name} BuildRequires: libxcb-devel BuildRequires: xtrans %if %{with 32bit} BuildRequires: lib32-gcc %endif Requires: fontconfig Requires: libXau Requires: libxcb Requires: libXdmcp Provides: libX11-common = %{version}-%{release} Provides: pkgconfig(x11) %description libX11 is the core X11 client-side library. It provides the fundamental functions for communicating with an X server, including event processing, window management, and other protocol-level operations required by X11 applications. %description -l ru libX11 — основная клиентская библиотека X11. Она предоставляет базовые функции для взаимодействия с X-сервером, включая обработку событий, управление окнами и другие операции протокольного уровня, необходимые X11-приложениям. %package devel Summary: Development files for the libX11 library Summary(ru): Файлы разработки для библиотеки libX11 Requires: %{name} = %{version}-%{release} Requires: xorgproto %description -n %{name}-devel The %{name}-devel package contains the header files and development libraries required to build applications that use libX11. %description -l ru -n %{name}-devel Подпакет %{name}-devel содержит заголовочные файлы и библиотеки разработки, необходимые для сборки приложений, использующих libX11. %if %{with 32bit} %package_32bit %endif %prep %autosetup -p1 %build mkdir -pv build64 pushd build64 %configure64 --disable-static %make_build popd %if %{with 32bit} mkdir -pv build32 pushd build32 %configure32 --disable-static %make_build popd %endif %install %make64_install %if %{with 32bit} %make32_install %endif find %{buildroot} -name '*.la' -delete mkdir -p $RPM_BUILD_ROOT/var/cache/libX11/compose find $RPM_BUILD_ROOT -name 'Xcms.txt' -delete rm -rf $RPM_BUILD_ROOT%{_docdir} %check pushd build64 make %{?_smp_mflags} check popd pushd build32 make %{?_smp_mflags} check popd %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING README.md %{_libdir}/*.so.* %{_datadir}/X11/ %{_datadir}/X11/locale/ %{_datadir}/X11/XErrorDB %dir /var/cache/libX11 %dir /var/cache/libX11/compose %files devel %{_includedir}/X11/ImUtil.h %{_includedir}/X11/XKBlib.h %{_includedir}/X11/Xcms.h %{_includedir}/X11/Xlib.h %{_includedir}/X11/XlibConf.h %{_includedir}/X11/Xlibint.h %{_includedir}/X11/Xlib-xcb.h %{_includedir}/X11/Xlocale.h %{_includedir}/X11/Xregion.h %{_includedir}/X11/Xresource.h %{_includedir}/X11/Xutil.h %{_includedir}/X11/cursorfont.h %{_includedir}/X11/extensions/XKBgeom.h %{_libdir}/libX11.so %{_libdir}/libX11-xcb.so %{_libdir}/pkgconfig/x11.pc %{_libdir}/pkgconfig/x11-xcb.pc %{_mandir}/man3/*.3* %{_mandir}/man5/*.5* %if %{with 32bit} %files_32bit %endif %changelog * Sun Jan 11 2026 NiceOS Team - 1.8.12-1 - Initial build for NiceOS (Первая сборка для НАЙС.ОС)