Name:		xcb-util-cursor
Version:	0.1.3
Release:	1%{?_dist_release}
Summary:	XCB util-cursor module
Group:		system
Vendor:		Project Vine
Distribution:	Vine Linux

License:	MIT
URL:		http://xcb.freedesktop.org
Source0:	http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2

BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:	xcb-util-devel
BuildRequires:	xcb-util-image-devel
BuildRequires:	xcb-util-renderutil-devel

%description
XCB util-cursor module provides the following library:

  - cursor: Port of libxcursor


%package 	devel
Summary:	Development and header files for %{name}
Summary(ja):	%{name} の開発用ファイル
Group:		programming
Requires:	%{name} = %{version}-%{release}
Requires:	pkgconfig

%description	devel
Development files for %{name}.


%debug_package


%prep
%setup -q

%build
%configure --with-pic --disable-static

make %{?_smp_mflags}


%check
make check


%install
rm -rf %{buildroot}

make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

rm %{buildroot}%{_libdir}/*.la


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc README
%{_libdir}/libxcb-cursor.so.*

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/xcb-cursor.pc
%{_libdir}/libxcb-cursor.so
%{_includedir}/xcb/*.h


%changelog
* Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1.3-1
- new upstream release.
- dropped ldconfig scriptlets.

* Fri Oct 31 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 0.1.1-2
- moved devel package to Development/Libraries Group

* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.1-1
- initial build
