I have made the following changes intended for :
  nemo:devel:hw:ti:omap4:pandaboard / libgbm

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.merproject.org//request/show/96

Thank You,
Simonas L.

[This message was auto-generated]

---

Request # 96:

Messages from BOSS:

State: review at 2013-03-25T16:55:35 by cibot

Reviews:
       accepted by cibot : Prechecks succeeded.
       new for nemo:devel:hw:ti:omap4:pandaboard : Please replace this text 
with a review and approve/reject the review (not the SR). BOSS will take care 
of the rest

Changes:
  submit: home:sledge:branches:nemo:devel:hw:ti:omap4:pandaboard / libgbm -> 
nemo:devel:hw:ti:omap4:pandaboard / libgbm
  
changes files:
--------------

++++++ new changes file:
--- libgbm.changes
+++ libgbm.changes
@@ -0,0 +1,6 @@
+* Mon Mar 25 2013 Simonas Leleiva <[email protected]> - 9.0.0
+- Add .so versioning, so it complies to the needs of other dependencies
+
+* Mon Mar 25 2013 Simonas Leleiva <[email protected]> - 9.0.0
+- Intial packaging
+

new:
----
  0001-add-version-info.patch
  libgbm.changes
  libgbm.spec
  libgbm.yaml
  libgbm_9.0.0.orig.tar.gz

spec files:
-----------

++++++ new spec file:
--- libgbm.spec
+++ libgbm.spec
@@ -0,0 +1,87 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.25
+# 
+
+Name:       libgbm
+
+# >> macros
+# << macros
+
+Summary:    gbm frontend used by (for example) weston compositor
+Version:    9.0.0
+Release:    1
+Group:      Graphics/Display and Graphics Adaptation
+License:    MIT
+URL:        https://launchpad.net/~tiomap-dev/+archive/release/+packages
+Source0:    libgbm_%{version}.orig.tar.gz
+Source100:  libgbm.yaml
+Patch0:     0001-add-version-info.patch
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig(libudev)
+BuildRequires:  pkgconfig(libdrm)
+Provides:   libgbm = %{version}-%{release}
+
+%description
+This is the gbm frontend used by (for example) weston compositor to
+load the GLES stack, and retrieve the backing buffer objects behind
+an eglImage (created with EGL_WAYLAND_BUFFER_WL), etc.
+
+
+%package devel
+Summary:    gbm development headers
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Provides:   devel
+
+%description devel
+This package..
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+# 0001-add-version-info.patch
+%patch0 -p1
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%reconfigure --disable-static
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+# << install post
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libgbm.so*
+# >> files
+# << files
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/gbm/*.h
+%{_libdir}/pkgconfig/gbm.pc
+# >> files devel
+# << files devel

other changes:
--------------

++++++ 0001-add-version-info.patch (new)
--- 0001-add-version-info.patch
+++ 0001-add-version-info.patch
@@ -0,0 +1,11 @@
+--- libgbm-9.0.0/Makefile.am.orig      2013-03-25 16:41:51.427190797 +0000
++++ libgbm-9.0.0/Makefile.am   2013-03-25 16:39:44.380524837 +0000
+@@ -13,6 +13,8 @@
+     -D_OS_UNIX=1    \
+     -DMODULEDIR='"$(exec_prefix)/lib/gbm"'
+ 
++libgbm_la_LDFLAGS = -version-info 1:0:0
++
+ extdir = $(includedir)/gbm
+ ext_HEADERS =       \
+     gbm.h       \

++++++ libgbm.yaml (new)
--- libgbm.yaml
+++ libgbm.yaml
@@ -0,0 +1,40 @@
+Name: libgbm
+Summary: gbm frontend used by (for example) weston compositor
+Version: 9.0.0
+Release: 1
+Group: Graphics/Display and Graphics Adaptation
+License: MIT
+URL: https://launchpad.net/~tiomap-dev/+archive/release/+packages
+Sources:
+    - libgbm_%{version}.orig.tar.gz
+Patches:
+    - 0001-add-version-info.patch
+
+PkgConfigBR: 
+    - libudev
+    - libdrm
+
+Description: |
+  This is the gbm frontend used by (for example) weston compositor to
+  load the GLES stack, and retrieve the backing buffer objects behind
+  an eglImage (created with EGL_WAYLAND_BUFFER_WL), etc.
+
+Provides:
+    - libgbm = %{version}-%{release}
+
+Configure: reconfigure
+
+Files:
+    - "%{_libdir}/libgbm.so*"
+
+SubPackages:
+    - Name: devel
+      Summary: gbm development headers
+      Group: Development/Libraries
+      Description: | 
+          This package..
+      Provides:
+          - devel
+      Files:
+          - "%{_includedir}/gbm/*.h"
+          - "%{_libdir}/pkgconfig/gbm.pc"
\ No newline at end of file

++++++ libgbm_9.0.0.orig.tar.gz (new)



Reply via email to