xcb-util-cursor/xcb-util-cursor.spec
yangbo 3cbab6fb8d Build xz tarballs instead of bzip2
Signed-off-by: yangbo <yangbo1@xfusion.com>
2023-01-09 12:12:41 +08:00

78 lines
1.4 KiB
RPMSpec

Name: xcb-util-cursor
Version: 0.1.3
Release: 3
Summary: Cursor library on top of libxcb
License: MIT
URL: http://xcb.freedesktop.org
Source0: http://www.x.org/archive/individual/xcb/%{name}-%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: pkgconfig(xcb-util) >= 0.3.8
BuildRequires: pkgconfig(xcb-render)
BuildRequires: pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: m4
Patch0001: backport-0001-Build-xz-tarballs-instead-of-bzip2.patch
%description
XCB util-cursor module provides the following libraries:
- cursor: port of libxcursor
%package devel
Summary: Development and header files for xcb-util-cursos
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for xcb-util-cursor.
%prep
%setup -q
%patch0001 -p1
%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
%doc README
%license COPYING
%{_libdir}/*.so.*
%files devel
%doc NEWS
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_includedir}/xcb/*.h
%changelog
* Mon Jan 9 2023 yangbo <yangbo1@xfusion.com> - 0.1.3-3
- Build xz tarballs instead of bzip2
* Tue Nov 22 2022 caodongxia <caodongxia@h-partners.com> - 0.1.3-2
- Modify invalid source0
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 0.1.3-1
- Initial release for OpenEuler