6 Star 0 Fork 4

OpenCloudOS Stream/libxcb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libxcb.spec 3.37 KB
一键复制 编辑 原始数据 按行查看 历史
Summary: A library implementing the client-side of the X11 display server protocol
Name: libxcb
Version: 1.16
Release: 3%{?dist}
License: MIT
URL: http://xcb.freedesktop.org/
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.gz
BuildRequires: make libtool pkgconfig
BuildRequires: libxslt doxygen graphviz
BuildRequires: pkgconfig(xau) >= 0.99.2
BuildRequires: pkgconfig(xcb-proto) >= 1.13
BuildRequires: pkgconfig(xorg-macros) >= 1.18
BuildRequires: python3 python3-devel
%description
XCB (X protocol C-language Binding) is a library implementing the client-side of
the X11 display server protocol. XCB is written in the C programming language and
distributed under the MIT License. The project was started in 2001 by Bart Massey
and aims to replace Xlib.
%package devel
Summary: libxcb development package
Requires: %{name} = %{version}-%{release}
%description devel
This package includes header files, libraries necessary for
developing programs which use libxcb library.
%prep
%autosetup -p1
%build
sed -i 's/pthread-stubs //' configure.ac
autoreconf -fiv
%configure \
--disable-static \
--enable-selinux \
--enable-xkb \
--enable-xinput \
--disable-xprint \
--disable-silent-rules \
--docdir=%{_pkgdocdir}
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%make_install
echo -e 'prefix=%{_prefix}\nexec_prefix=%{_exec_prefix}\nlibdir=%{_libdir}' \
> %{buildroot}%{_libdir}/pkgconfig/pthread-stubs.pc
find %{buildroot} -name '*.la' -delete
%files
%license COPYING
%doc NEWS README.md
%{_libdir}/libxcb-composite.so.0*
%{_libdir}/libxcb-damage.so.0*
%{_libdir}/libxcb-dpms.so.0*
%{_libdir}/libxcb-dri2.so.0*
%{_libdir}/libxcb-dri3.so.0*
%{_libdir}/libxcb-glx.so.0*
%{_libdir}/libxcb-present.so.0*
%{_libdir}/libxcb-randr.so.0*
%{_libdir}/libxcb-record.so.0*
%{_libdir}/libxcb-render.so.0*
%{_libdir}/libxcb-res.so.0*
%{_libdir}/libxcb-screensaver.so.0*
%{_libdir}/libxcb-shape.so.0*
%{_libdir}/libxcb-shm.so.0*
%{_libdir}/libxcb-sync.so.1*
%{_libdir}/libxcb-xf86dri.so.0*
%{_libdir}/libxcb-xfixes.so.0*
%{_libdir}/libxcb-xinerama.so.0*
%{_libdir}/libxcb-xinput.so.0*
%{_libdir}/libxcb-xkb.so.1*
%{_libdir}/libxcb-xselinux.so.0*
%{_libdir}/libxcb-xtest.so.0*
%{_libdir}/libxcb-xv.so.0*
%{_libdir}/libxcb-xvmc.so.0*
%{_libdir}/libxcb-dbe.so.0*
%{_libdir}/libxcb.so.1*
%{_pkgdocdir}
%files devel
%{_includedir}/xcb
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*.3*
%changelog
* Thu Sep 26 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.16-3
- Rebuilt for clarifying the packages requirement in BaseOS and AppStream
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.16-2
- Rebuilt for loongarch release
* Thu Dec 21 2023 Upgrade Robot <upbot@opencloudos.org> - 1.16-1
- Upgrade to version 1.16
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.14-4
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.14-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.14-2
- Rebuilt for OpenCloudOS Stream 23
* Thu Jul 28 2022 ZoeDong <zoedong@tencent.com> - 1.14-1
- Initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/libxcb.git
git@gitee.com:opencloudos-stream/libxcb.git
opencloudos-stream
libxcb
libxcb
master

搜索帮助