diff --git a/README.md b/README.md index 2846ae3..413e9ab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # libxcb-image +The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries. +These experimental libraries provide convenience functions and interfaces which make the raw X protocol more usable. +Some of the libraries also provide client-side code which is not strictly part of the X protocol but which have traditionally been provided by Xlib. + +These libraries are currently included, roughly ordered by maturity: +* image: Port of Xlib's XImage and XShmImage functions. + diff --git a/libxcb-image.spec b/libxcb-image.spec new file mode 100644 index 0000000..f9c2ff8 --- /dev/null +++ b/libxcb-image.spec @@ -0,0 +1,79 @@ +Name: libxcb-image +Version: 0.3.9 +Release: 1mamba +Summary: XCB image support library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://xcb.freedesktop.org +Source: http://xcb.freedesktop.org/dist/xcb-util-image-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libxcb-devel +BuildRequires: libxcb-util-devel +## AUTOBUILDREQ-END +BuildRequires: gperf +BuildRequires: libxcb-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries. +These experimental libraries provide convenience functions and interfaces which make the raw X protocol more usable. +Some of the libraries also provide client-side code which is not strictly part of the X protocol but which have traditionally been provided by Xlib. + +These libraries are currently included, roughly ordered by maturity: +* image: Port of Xlib's XImage and XShmImage functions. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries. +These experimental libraries provide convenience functions and interfaces which make the raw X protocol more usable. +Some of the libraries also provide client-side code which is not strictly part of the X protocol but which have traditionally been provided by Xlib. + +These libraries are currently included, roughly ordered by maturity: +* image: Port of Xlib's XImage and XShmImage functions. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n xcb-util-image-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libxcb-image.so.* +%doc README + +%files devel +%defattr(-,root,root) +%{_includedir}/xcb +%{_libdir}/libxcb-image.a +%{_libdir}/libxcb-image.la +%{_libdir}/libxcb-image.so +%{_libdir}/pkgconfig/xcb-image.pc + +%changelog +* Sat Jul 21 2012 Silvan Calarco 0.3.9-1mamba +- update to 0.3.9 + +* Thu Apr 28 2011 Silvan Calarco 0.3.8-1mamba +- package created