98 lines
3.1 KiB
RPMSpec
98 lines
3.1 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
|
|
# SPDX-FileContributor: jingyupu <pujingyu@iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%define lname xcb-util
|
|
|
|
Name: xcb-util
|
|
Version: 0.4.1
|
|
Release: %autorelease
|
|
Summary: XCB utility modules
|
|
License: MIT
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://xcb.freedesktop.org/
|
|
VCS: git://anongit.freedesktop.org/xcb/util
|
|
#!RemoteAsset
|
|
Source: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
|
|
Source1: baselibs.conf
|
|
BuildRequires: gperf
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(xcb) >= 1.4
|
|
BuildRequires: pkgconfig(xproto) >= 7.0.8
|
|
|
|
%description
|
|
The XCB util modules provide a number of libraries which sit on top
|
|
of libxcb, the core X protocol library, and some of the extension
|
|
libraries. These experimental libraries provide convenience functions
|
|
and interfaces which make the raw X protocol more usable. Some of the
|
|
libraries also provide client-side code which is not strictly part of
|
|
the X protocol but which have traditionally been provided by Xlib.
|
|
|
|
Included in this package are:
|
|
|
|
- atom: Standard core X atom constants and atom caching.
|
|
- aux: Convenient access to connection setup and some core requests.
|
|
- event: Callback X event handling.
|
|
|
|
%package -n %{lname}
|
|
Summary: XCB utility modules
|
|
Group: System/Libraries
|
|
|
|
%description -n %{lname}
|
|
The XCB util modules provide a number of libraries which sit on top
|
|
of libxcb, the core X protocol library, and some of the extension
|
|
libraries. These experimental libraries provide convenience functions
|
|
and interfaces which make the raw X protocol more usable. Some of the
|
|
libraries also provide client-side code which is not strictly part of
|
|
the X protocol but which have traditionally been provided by Xlib.
|
|
|
|
Included in this package are:
|
|
|
|
- atom: Standard core X atom constants and atom caching.
|
|
- aux: Convenient access to connection setup and some core requests.
|
|
- event: Callback X event handling.
|
|
|
|
%package devel
|
|
Summary: Development files for the XCB utility modules
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{lname} = %{version}
|
|
|
|
%description devel
|
|
The XCB util modules provide a number of libraries which sit on top
|
|
of libxcb, the core X protocol library, and some of the extension
|
|
libraries. These experimental libraries provide convenience functions
|
|
and interfaces which make the raw X protocol more usable. Some of the
|
|
libraries also provide client-side code which is not strictly part of
|
|
the X protocol but which have traditionally been provided by Xlib.
|
|
|
|
This package contains the development headers for the library found
|
|
in %{lname}.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
|
|
|
%files -n %{lname}
|
|
%{_libdir}/libxcb-util.so.1*
|
|
|
|
%files devel
|
|
%license COPYING
|
|
%doc README.md
|
|
%{_includedir}/xcb
|
|
%{_libdir}/libxcb-util.so
|
|
%{_libdir}/pkgconfig/xcb-*.pc
|
|
|
|
%changelog
|
|
%{?autochangelog}
|