add packaging
authorAnas Nashif <anas.nashif@intel.com>
Sun, 4 Nov 2012 15:09:05 +0000 (07:09 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Sun, 4 Nov 2012 15:09:05 +0000 (07:09 -0800)
packaging/libpthread-stubs.spec [new file with mode: 0644]

diff --git a/packaging/libpthread-stubs.spec b/packaging/libpthread-stubs.spec
new file mode 100644 (file)
index 0000000..590391f
--- /dev/null
@@ -0,0 +1,35 @@
+#sbs-git:slp/pkgs/xorg/xcb/libpthread-stubs libpthread-stubs 0.3 ce726f595116dd79d38db013c49c113555b1a15d
+
+Name:           libpthread-stubs
+Version:        0.3
+Release:        2.8
+License:        MIT
+Summary:        PThread Stubs for XCB
+Url:            http://xcb.freedesktop.org
+Group:          System/X11
+Source:         %{name}-%{version}.tar.bz2
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%description
+PThread Stubs for XCB
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static
+# Call make instruction with smp support
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/pthread-stubs.pc
+