diff --git a/.gitignore b/.gitignore index e69de29..aa24f28 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/xcb-util-image-0.3.8.tar.bz2 diff --git a/sources b/sources index e69de29..3b3f00e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +245a96041f373b05764148e52d2e0211 xcb-util-image-0.3.8.tar.bz2 diff --git a/xcb-util-image.spec b/xcb-util-image.spec new file mode 100644 index 0000000..4982c05 --- /dev/null +++ b/xcb-util-image.spec @@ -0,0 +1,69 @@ +Name: xcb-util-image +Version: 0.3.8 +Release: 2%{?dist} +Summary: Port of Xlib's XImage and XShmImage functions 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: m4 + +%description +XCB util-image module provides the following library: + + - image: Port of Xlib's XImage and XShmImage functions. + + +%package devel +Summary: Development and header files for xcb-util-image +Group: System Environment/Libraries +Requires: %{name}%{_isa} = %{version}-%{release}, pkgconfig + +%description devel +Development files for xcb-util-image. + + +%prep +%setup -q + + +%build +%configure --with-pic --disable-static +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 +* Thu Apr 5 2012 Thomas Moschny - 0.3.8-2 +- Specfile cleanups. + +* Mon Dec 5 2011 Thomas Moschny - 0.3.8-1 +- New package. +