add packaging
authorAnas Nashif <anas.nashif@intel.com>
Tue, 6 Nov 2012 22:41:06 +0000 (14:41 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Tue, 6 Nov 2012 22:41:06 +0000 (14:41 -0800)
packaging/xcb-util.spec [new file with mode: 0644]

diff --git a/packaging/xcb-util.spec b/packaging/xcb-util.spec
new file mode 100644 (file)
index 0000000..d421a22
--- /dev/null
@@ -0,0 +1,66 @@
+#
+# Please submit bugfixes or comments via http://bugs.tizen.org/
+#
+
+Name:           xcb-util
+Version:        0.3.8
+Release:        slp.1.2
+License:        MIT
+Summary:        utility libraries for X C Binding
+Url:            http://xcb.freedesktop.org/
+Group:          System/Libraries
+Source:         %{name}-%{version}.tar.gz
+
+BuildRequires:  gperf
+BuildRequires:  libxcb-devel >= 1.4
+BuildRequires:  m4
+BuildRequires:  pkgconfig(xorg-macros)
+BuildRequires:  pkgconfig(xproto)
+
+%description
+Description: %{summary}
+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.
+
+%package       devel
+Summary:        Development and header files for xcb-util
+Group:          System Environment/Libraries
+Requires:       %{name} = %{version}
+Requires:       pkgconfig
+
+%description   devel
+Development files for xcb-util.
+
+%prep
+%setup -q
+
+%build
+
+./autogen.sh
+%reconfigure --disable-static
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%remove_docs
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libxcb-util.so.0*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+%{_includedir}/xcb/*.h
+
+