Files
desktop/xcb-util-wm/xcb-util-wm.spec
2025-12-30 14:03:26 +08:00

55 lines
1.7 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
Name: xcb-util-wm
Version: 0.4.2
Release: %autorelease
Summary: XCB utility module for client- and WM-side ICCCM helpers
License: MIT
URL: http://xcb.freedesktop.org/
#!RemoteAsset
Source: http://xorg.freedesktop.org/releases/individual/xcb/%{name}-%{version}.tar.xz
#BuildRequires: autoconf >= 2.62, automake, libtool
BuildRequires: m4
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xcb) >= 1.4
BuildRequires: pkgconfig(xorg-macros) >= 1.6.0
BuildSystem: autotools
BuildOption(conf): --disable-static
BuildOption(install): DESTDIR="%buildroot"
%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.
Included in this package is:
- icccm: Both client and window-manager helpers for ICCCM.
%package devel
Summary: Development files for the XCB EWMH/ICCCM utility modules
Requires: %{name}%{?_isa} = %{version}-%{release}
%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.
This package contains the development headers for the library found
in libxcb-icccm4/ewmh2.
%files devel
%defattr(-,root,root)
%_includedir/xcb
%_libdir/libxcb-ewmh.so
%_libdir/libxcb-icccm.so
%_libdir/pkgconfig/xcb-ewmh.pc
%_libdir/pkgconfig/xcb-icccm.pc
%changelog
%{?autochangelog}