Name: xcb-util-errors Version: 1.0 Release: 3%{?dist} Summary: XCB errors library Group: System Environment/Libraries License: MIT URL: https://xcb.freedesktop.org Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 BuildRequires: gcc BuildRequires: make BuildRequires: pkgconfig(xcb) >= 1.4 BuildRequires: pkgconfig(xcb-proto) BuildRequires: m4 %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: - errors: utility library that gives human readable names to error codes and event codes and also to major and minor numbers %package devel Summary: Development and header files for xcb-util-errors Group: System Environment/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for xcb-util-errors. %prep %setup -q %build %configure --with-pic --disable-static --disable-silent-rules make %{?_smp_mflags} %check make check %install make install DESTDIR=%{buildroot} INSTALL="install -p" rm %{buildroot}%{_libdir}/*.la %ldconfig_post %ldconfig_postun %files %if 0%{?_licensedir:1} %license COPYING %else %doc COPYING %endif # licensedir %{_libdir}/*.so.* %files devel %doc NEWS %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_includedir}/xcb/*.h %changelog * Sun Oct 21 2018 Sergey Korolev - 1.0-3 - Add make build dependency * Sun Oct 14 2018 Sergey Korolev - 1.0-2 - Switch to https * Thu Oct 11 2018 Rodrigo Lourenço - 1.0-1 - New package.