[Tizen-submit] 2877: New package Tizen:2.1:Main/lzo

noreply at tizen.org noreply at tizen.org
Wed Apr 24 22:57:15 GMT 2013


Hi,
Adding new package lzo 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: external/lzo2
Tag: submit/tizen_2.1/20130424.225734
Commit: 9a3e2fd Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2877

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


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/lzo2
Tag: submit/tizen_2.1/20130424.225734
Commit: 9a3e2fd Tizen 2.1 base

State:   new        2013-04-24T15:27:54 tizenrobot
Comment: <no comment>
new:
----
  lzo-2.03.tar.gz
  lzo.spec

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

++++++ new spec file:
--- lzo.spec
+++ lzo.spec
@@ -0,0 +1,106 @@
+
+Name:       lzo
+Summary:    Data compression library with very fast (de)compression
+Version:    2.03
+Release:    1
+VCS:        external/lzo2#2.1_release-0-g9a3e2fd
+Group:      System/Libraries
+License:    GPLv2+
+URL:        http://www.oberhumer.com/opensource/lzo/
+Source0:    http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  zlib-devel
+
+
+%description
+LZO is a portable lossless data compression library written in ANSI C.
+It offers pretty fast compression and very fast decompression.
+Decompression requires no memory. In addition there are slower
+compression levels achieving a quite competitive compression ratio
+while still decompressing at this very high speed.
+
+
+
+%package minilzo
+Summary:    Mini version of lzo for apps which don't need the full version
+Group:      System/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description minilzo
+A small (mini) version of lzo for embedding into applications which don't need
+full blown lzo compression support.
+
+
+%package devel
+Summary:    Development files for the lzo library
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   zlib-devel
+
+%description devel
+LZO is a portable lossless data compression library written in ANSI C.
+It offers pretty fast compression and very fast decompression.
+This package contains development files needed for lzo.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+
+%configure --disable-static \
+    --disable-dependency-tracking \
+    --enable-shared \
+    CFLAGS="`echo $CFLAGS | sed 's/-O2//g'`"
+
+make %{?jobs:-j%jobs}
+
+# build minilzo too (bz 439979)
+gcc %{optflags} -O2 -g -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
+#gcc -O2 -g -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
+gcc -g -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
+%install
+rm -rf %{buildroot}
+%make_install 
+
+install -m 755 libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}
+ln -s libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}/libminilzo.so
+install -p -m 644 minilzo/minilzo.h $RPM_BUILD_ROOT%{_includedir}/lzo
+

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


More information about the Tizen-submit mailing list