[Tizen-submit] 3195: New package Tizen:2.1:Main/libXaw

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


Hi,
Adding new package libXaw 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/libxaw
Tag: submit/tizen_2.1/20130424.234508
Commit: c84dd0a Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3195

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


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

State:   new        2013-04-24T16:15:26 tizenrobot
Comment: <no comment>
new:
----
  libXaw-1.0.11.tar.gz
  libXaw.spec

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

++++++ new spec file:
--- libXaw.spec
+++ libXaw.spec
@@ -0,0 +1,81 @@
+Summary: X Athena Widget Set
+Name: libXaw
+Version: 1.0.11
+Release: 1
+VCS:        framework/uifw/xorg/lib/libxaw#2.1_release-0-gc84dd0a
+License: MIT
+URL: http://www.x.org
+Group: System Environment/Libraries
+
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(xproto) pkgconfig(x11) pkgconfig(xt)
+BuildRequires: pkgconfig(xmu) pkgconfig(xpm) pkgconfig(xext)
+BuildRequires:  pkgconfig(xorg-macros)
+# Required by the configury.
+BuildRequires: ed
+BuildRequires: xorg-x11-xutils-dev
+
+%description
+Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Provides: libxaw-devel
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+Requires: pkgconfig(xproto) pkgconfig(xmu) pkgconfig(xt) pkgconfig(xpm)
+
+%description devel
+X.Org X11 libXaw development package
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="${CFLAGS} $RPM_OPT_FLAGS -Os"
+%reconfigure \
+           LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed" \
+	       --disable-xaw8 --disable-static \
+	       --disable-xaw6
+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 INSTALL="install -p"
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%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 README ChangeLog
+%{_libdir}/libXaw.so.7
+%{_libdir}/libXaw7.so.7
+%{_libdir}/libXaw7.so.7.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/X11/Xaw
+%doc COPYING
+%{_includedir}/X11/Xaw/*.h
+# FIXME:  Is this C file really supposed to be here?
+%{_includedir}/X11/Xaw/Template.c
+%{_libdir}/libXaw.so

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


More information about the Tizen-submit mailing list