[Tizen-submit] 3207: New package Tizen:2.1:Main/libxkbfile

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:46:09 GMT 2013


Hi,
Adding new package libxkbfile 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/libxkbfile
Tag: submit/tizen_2.1/20130424.234629
Commit: 5de6249 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3207

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


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

State:   new        2013-04-24T16:16:47 tizenrobot
Comment: <no comment>
new:
----
  libxkbfile-1.0.8.tar.gz
  libxkbfile.spec

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

++++++ new spec file:
--- libxkbfile.spec
+++ libxkbfile.spec
@@ -0,0 +1,71 @@
+Summary: X.Org X11 libxkbfile runtime library
+Name: libxkbfile
+Version: 1.0.8
+Release: 1
+VCS:        framework/uifw/xorg/lib/libxkbfile#2.1_release-0-g5de6249
+License: MIT
+Group: System Environment/Libraries
+URL: http://www.x.org
+
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(xproto) pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+X.Org X11 libxkbfile runtime library
+
+%package devel
+Summary: X.Org X11 libxkbfile development package
+Group: Development/Libraries
+Provides: libxkbfile-devel 
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+X.Org X11 libxkbfile development package
+
+%prep
+%setup -q
+
+%build
+# FIXME: We use -fno-strict-aliasing, to work around the following bug:
+# maprules.c:1373: warning: dereferencing type-punned pointer will break strict-aliasing rules)
+export CFLAGS="${CFLAGS} $RPM_OPT_FLAGS -fno-strict-aliasing"
+%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
+
+%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}/libxkbfile.so.1
+%{_libdir}/libxkbfile.so.1.0.2
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/XKBbells.h
+%{_includedir}/X11/extensions/XKBconfig.h
+%{_includedir}/X11/extensions/XKBfile.h
+%{_includedir}/X11/extensions/XKBrules.h
+%{_includedir}/X11/extensions/XKM.h
+%{_includedir}/X11/extensions/XKMformat.h
+%{_libdir}/libxkbfile.so
+%{_libdir}/pkgconfig/xkbfile.pc

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

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


More information about the Tizen-submit mailing list