Name: xcb-util-errors Version: 1.0.1 Release: 1%{?dist} Summary: Error library on top of libxcb License: MIT URL: http://xcb.freedesktop.org Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: m4 BuildRequires: libxcb-devel BuildRequires: xcb-proto BuildRequires: xorg-x11-util-macros %description %{summary}. %package devel Summary: Development and header files for xcb-util-errors Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for xcb-util-errors. %prep %setup -q %build %configure --disable-static --disable-silent-rules --with-doxygen=no make %{?_smp_mflags} %check make check %install make install DESTDIR=%{buildroot} INSTALL="install -p" rm %{buildroot}%{_libdir}/*.la %ldconfig_post %ldconfig_postun %files %license COPYING %{_libdir}/*.so.* %files devel %doc NEWS %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_includedir}/xcb/*.h %changelog * Mon Jun 17 2019 Marcin Skarbek - 1.0-1 - New package.