Compare commits

..

No commits in common. "bdb2c6d3cf34c7d4d8fcb60c76e11e5d9a357ccf" and "4a61de4274ed91cc9547ff697564f6f7814cb4f4" have entirely different histories.

3 changed files with 6 additions and 18 deletions

BIN
libxcb-1.13.1.tar.bz2 Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: libxcb
Version: 1.15
Release: 1
Version: 1.13.1
Release: 2
Summary: A C binding to the X11 protocol
License: MIT
URL: https://xcb.freedesktop.org/
Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
# This is stolen straight from the pthread-stubs source:
# http://cgit.freedesktop.org/xcb/pthread-stubs/blob/?id=6900598192bacf5fd9a34619b11328f746a5956d
@ -42,18 +42,14 @@ Man pages and other related documents for %{name}.
sed -i 's/pthread-stubs //' configure.ac
autoreconf -ivf
%configure --docdir=%{_docdir}/%{name}-%{version} --enable-selinux \
--enable-xkb --enable-xinput --disable-xprint --disable-silent-rules \
--enable-unit-tests --disable-static
--enable-xkb --enable-xinput --disable-xprint --disable-silent-rules
%disable_rpath
%make_build
%check
make check
%install
%make_install
install -pm 644 COPYING NEWS README.md $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
install -pm 644 COPYING NEWS README $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc
@ -69,6 +65,7 @@ sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefi
%defattr(-,root,root)
%{_includedir}/xcb
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc
%files help
@ -78,14 +75,5 @@ sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefi
%exclude %{_docdir}/%{name}-%{version}/COPYING
%changelog
* Thu Oct 27 2022 wangkerong <wangkerong@h-partners.com> - 1.15-1
- upgrade to 1.15
* Sun Apr 24 2022 yangcheng <yangcheng87@h-partners.com> - 1.14-2
- enable check while building
* Fri Jul 31 2020 chxssg<chxssg@qq.com> - 1.14-1
- update package to 1.14
* Tue Sep 03 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.13.1-2
- Package init