[Tizen-submit] 3648: New package devel:upstream/giflib

noreply at tizen.org noreply at tizen.org
Fri May 3 20:46:46 GMT 2013


Hi,
Adding new package giflib in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.204930
Git project: platform/upstream/giflib
Tag: submit/tizen/20130503.204930
Commit: 6ad656e add packaging

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3648

  submit:       devel:upstream:build/giflib(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.204930
Git project: platform/upstream/giflib
Tag: submit/tizen/20130503.204930
Commit: 6ad656e add packaging

State:   new        2013-05-03T13:17:20 tizenrobot
Comment: <no comment>
new:
----
  giflib-4.1.6.tar.bz2
  giflib.spec

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

++++++ new spec file:
--- giflib.spec
+++ giflib.spec
@@ -0,0 +1,81 @@
+Name:           giflib
+Version:        4.1.6
+Release:        9
+VCS:        platform/upstream/giflib#submit/tizen/20130503.204930-0-g6ad656e
+License:        MIT
+Summary:        Library for manipulating GIF format image files
+Url:            http://sourceforge.net/projects/giflib/
+Group:          System/Libraries
+Source0:        http://downloads.sourceforge.net/giflib/%{name}-%{version}.tar.bz2
+BuildRequires:  pkgconfig(ice)
+BuildRequires:  pkgconfig(sm)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xv)
+
+%description
+The giflib package contains a shared library of functions for
+loading and saving GIF format image files.  It is API and ABI compatible
+with libungif, the library which supported uncompressed GIFs while the
+Unisys LZW patent was in effect.
+
+Install the giflib package if you need to write programs that use GIF files.
+You should also install the giflib-utils package if you need some simple
+utilities to manipulate GIFs.
+
+%package devel
+Summary:        Development tools for programs which will use the libungif library
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+
+%description devel
+This package contains the static libraries, header files and
+documentation necessary for development of programs that will use the
+giflib library to load and save GIF format image files.
+
+You should install this package if you need to develop programs which
+will use giflib library functions.  You'll also need to install the
+giflib package.
+
+%package utils
+Summary:        Programs for manipulating GIF format image files
+Group:          Applications/Multimedia
+Requires:       %{name} = %{version}
+
+%description utils
+The giflib-utils package contains various programs for manipulating
+GIF format image files.
+
+Install this package if you need to manipulate GIF format image files.
+You'll also need to install the giflib package.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags} all
+
+MAJOR=`echo '%{version}' | sed 's/\([0-9]\+\)\..*/\1/'`
+gcc %{optflags} -shared -Wl,-soname,libungif.so.$MAJOR -Llib/.libs -lgif -o libungif.so.%{version}
+
+%install
+%make_install
+
+install -m 0755 -p libungif.so.%{version} %{buildroot}%{_libdir}
+ln -sf libungif.so.%{version} %{buildroot}%{_libdir}/libungif.so.4
+ln -sf libungif.so.4 %{buildroot}%{_libdir}/libungif.so
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%{_libdir}/lib*.so.*

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


More information about the Tizen-submit mailing list