72 lines
1.3 KiB
RPMSpec
72 lines
1.3 KiB
RPMSpec
Name: xcb-util-cursor
|
|
Version: 0.1.1
|
|
Release: 2%{?dist}
|
|
Summary: Cursor library on top of libxcb
|
|
Group: System Environment/Libraries
|
|
License: MIT
|
|
URL: http://xcb.freedesktop.org
|
|
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
|
|
BuildRequires: pkgconfig(xcb-util) >= 0.3.8
|
|
BuildRequires: pkgconfig(xcb-render)
|
|
BuildRequires: pkgconfig(xcb-renderutil)
|
|
BuildRequires: pkgconfig(xcb-image)
|
|
BuildRequires: m4
|
|
|
|
%description
|
|
XCB util-cursor module provides the following libraries:
|
|
|
|
- cursor: port of libxcursor
|
|
|
|
|
|
%package devel
|
|
Summary: Development and header files for xcb-util-cursos
|
|
Group: System Environment/Libraries
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Development files for xcb-util-cursor.
|
|
|
|
|
|
%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
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%doc README
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%files devel
|
|
%doc NEWS
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/*.so
|
|
%{_includedir}/xcb/*.h
|
|
|
|
|
|
%changelog
|
|
* Mon Mar 17 2014 Thomas Moschny <thomas.moschny@gmx.de> - 0.1.1-2
|
|
- Disable silent build, as suggested in the review.
|
|
|
|
* Mon Mar 10 2014 Thomas Moschny <thomas.moschny@gmx.de> - 0.1.1-1
|
|
- New package.
|