From b972505a468743f796152ceb7f07725a18ec191c Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Fri, 21 Mar 2014 20:52:42 +0100 Subject: [PATCH] Actually add spec file. --- xcb-util-cursor.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 xcb-util-cursor.spec diff --git a/xcb-util-cursor.spec b/xcb-util-cursor.spec new file mode 100644 index 0000000..2796555 --- /dev/null +++ b/xcb-util-cursor.spec @@ -0,0 +1,71 @@ +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 - 0.1.1-2 +- Disable silent build, as suggested in the review. + +* Mon Mar 10 2014 Thomas Moschny - 0.1.1-1 +- New package.