[Tizen-submit] 3192: New package Tizen:2.1:Main/libSM

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:44:22 GMT 2013


Hi,
Adding new package libSM in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/uifw/xorg/lib/libsm
Tag: submit/tizen_2.1/20130424.234443
Commit: 6eb3207 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3192

  submit:       Tizen:2.1:Main:build/libSM(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/uifw/xorg/lib/libsm
Tag: submit/tizen_2.1/20130424.234443
Commit: 6eb3207 Tizen 2.1 base

State:   new        2013-04-24T16:15:01 tizenrobot
Comment: <no comment>
new:
----
  libSM-1.2.1.tar.gz
  libSM.spec

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

++++++ new spec file:
--- libSM.spec
+++ libSM.spec
@@ -0,0 +1,74 @@
+Summary: X.Org X11 SM runtime library
+Name: libSM
+Version: 1.2.1
+Release: 1
+VCS:        framework/uifw/xorg/lib/libsm#2.1_release-0-g6eb3207
+License: MIT
+Group: System Environment/Libraries
+URL: http://www.x.org
+
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig
+BuildRequires:  pkgconfig(xproto)
+BuildRequires:  pkgconfig(xorg-macros)
+BuildRequires: xorg-x11-xtrans-devel >= 1.0.3-4
+BuildRequires: libICE-devel
+BuildRequires: libuuid-devel
+
+%description
+The X.Org X11 SM (Session Management) runtime library.
+
+%package devel
+Summary: X.Org X11 SM development package
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libICE-devel
+
+%description devel
+The X.Org X11 SM (Session Management) development package.
+
+%prep
+%setup -q
+
+%build
+
+%reconfigure --with-libuuid --disable-static \
+           LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p %{buildroot}/usr/share/license
+cp -af COPYING %{buildroot}/usr/share/license/%{name}
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# We intentionally don't ship *.la files
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# we %%doc these ourselves, later, and only the text versions
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
+%remove_docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+/usr/share/license/%{name}
+#%doc AUTHORS COPYING ChangeLog
+%{_libdir}/libSM.so.6
+%{_libdir}/libSM.so.6.*
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/X11/SM
+%{_includedir}/X11/SM/SM.h
+%{_includedir}/X11/SM/SMlib.h
+%{_includedir}/X11/SM/SMproto.h
+%{_libdir}/libSM.so
+%{_libdir}/pkgconfig/sm.pc

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list