[Tizen-submit] 3215: New package Tizen:2.1:Main/libXtst

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:47:01 GMT 2013


Hi,
Adding new package libXtst 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/libxtst
Tag: submit/tizen_2.1/20130424.234724
Commit: ec6f154 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3215

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


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

State:   new        2013-04-24T16:17:40 tizenrobot
Comment: <no comment>
new:
----
  libXtst-1.2.0.tar.gz
  libXtst.spec

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

++++++ new spec file:
--- libXtst.spec
+++ libXtst.spec
@@ -0,0 +1,84 @@
+Summary: X.Org X11 libXtst runtime library
+Name: libXtst
+Version: 1.2.0
+Release: 3
+VCS:        framework/uifw/xorg/lib/libxtst#2.1_release-0-gec6f154
+License: MIT
+Group: System Environment/Libraries
+URL: http://www.x.org
+
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires:  pkgconfig(xorg-macros)
+BuildRequires:  pkgconfig(xproto)
+BuildRequires:  pkgconfig(xextproto)
+BuildRequires:  pkgconfig(randrproto)
+BuildRequires:  pkgconfig(inputproto)
+BuildRequires:  pkgconfig(recordproto)
+BuildRequires:  pkgconfig(xextproto)
+BuildRequires: libX11-devel
+BuildRequires: libXext-devel
+BuildRequires: libXi-devel
+
+%description
+X.Org X11 libXtst runtime library
+
+%package devel
+Summary: X.Org X11 libXtst development package
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libXi-devel
+Provides: libxtst-devel
+
+%description devel
+X.Org X11 libXtst development package
+
+%prep
+%setup -q
+
+# Disable static library creation by default.
+%define with_static 0
+
+%build
+
+%reconfigure --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
+
+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 COPYING ChangeLog
+%{_libdir}/libXtst.so.6
+%{_libdir}/libXtst.so.6.1.0
+
+%files devel

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


More information about the Tizen-submit mailing list