[Tizen-submit] 3197: New package Tizen:2.1:Main/libXcursor

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


Hi,
Adding new package libXcursor 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/libxcursor
Tag: submit/tizen_2.1/20130424.234521
Commit: 57f70ee Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3197

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


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

State:   new        2013-04-24T16:15:39 tizenrobot
Comment: <no comment>
new:
----
  libXcursor-1.1.13.tar.gz
  libXcursor.spec

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

++++++ new spec file:
--- libXcursor.spec
+++ libXcursor.spec
@@ -0,0 +1,88 @@
+Summary: Cursor management library
+Name: libXcursor
+Version: 1.1.13
+Release: 1
+VCS:        framework/uifw/xorg/lib/libxcursor#2.1_release-0-g57f70ee
+License: MIT
+Group: System Environment/Libraries
+URL: http://www.x.org
+#VCS: git:git://anongit.freedesktop.org/xorg/lib/libXcursor
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: xorg-x11-xutils-dev
+BuildRequires:  pkgconfig(xorg-macros)
+BuildRequires:  pkgconfig(xproto)
+BuildRequires: libX11-devel
+BuildRequires: libXfixes-devel
+BuildRequires: libXrender-devel >= 0.8.2
+
+
+%description
+This is  a simple library designed to help locate and load cursors.
+Cursors can be loaded from files or memory. A library of common cursors
+exists which map to the standard X cursor names.Cursors can exist in
+several sizes and the library automatically picks the best size.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Provides: libxcursor-devel
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+libXcursor development package.
+
+%prep
+%setup -q
+iconv --from=ISO-8859-2 --to=UTF-8 COPYING > COPYING.new && \
+touch -r COPYING COPYING.new && \
+mv COPYING.new COPYING
+
+# Disable static library creation by default.
+%define with_static 0
+
+%build
+#export CFLAGS="${CFLAGS} $RPM_OPT_FLAGS -DICONDIR=\"%{_datadir}/icons\""
+%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 INSTALL="install -p"
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/default
+
+# 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 AUTHORS COPYING README ChangeLog
+%{_libdir}/libXcursor.so.1
+%{_libdir}/libXcursor.so.1.0.2

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


More information about the Tizen-submit mailing list