[Tizen-submit] 3743: New package devel:upstream/libedit

noreply at tizen.org noreply at tizen.org
Fri May 3 22:34:02 GMT 2013


Hi,
Adding new package libedit 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.223644
Git project: platform/upstream/libedit
Tag: submit/tizen/20130503.223644
Commit: 4c1903e add packaging

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3743

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


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.223644
Git project: platform/upstream/libedit
Tag: submit/tizen/20130503.223644
Commit: 4c1903e add packaging

State:   new        2013-05-03T15:04:33 tizenrobot
Comment: <no comment>
new:
----
  baselibs.conf
  libedit-20100424-3.0-ncurses.patch
  libedit-3.0.snap20110802.tar.bz2
  libedit-ocloexec.patch
  libedit-visibility.patch
  libedit.spec

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

++++++ new spec file:
--- libedit.spec
+++ libedit.spec
@@ -0,0 +1,83 @@
+Name:           libedit
+Version:        3.0.snap20110802
+Release:        0
+VCS:        platform/upstream/libedit#submit/tizen/20130503.223644-0-g4c1903e
+License:        BSD-3-Clause
+Summary:        Command Line Editing and History Library
+#
+Url:            http://www.thrysoee.dk/editline/
+Group:          Development/Libraries/C and C++
+Source:         %{name}-%{version}.tar.bz2
+Source2:        baselibs.conf
+Patch2:         libedit-20100424-3.0-ncurses.patch
+Patch3:         libedit-ocloexec.patch
+Patch4:         libedit-visibility.patch
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  ncurses-devel
+BuildRequires:  pkgconfig
+%define pkg_name    libedit
+%define pkg_version 20110802-3.0
+#
+#
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%description
+libedit is a command line editing and history library. It is designed
+to be used by interactive programs that allow the user to type commands
+at a terminal prompt.
+
+%define library_name libedit
+%define soname 0
+
+%package -n libedit-devel
+Summary:        Development files for libedit
+Group:          Development/Libraries/C and C++
+Requires:       %{library_name} = %{version}
+Requires:       glibc-devel
+Provides:       %{library_name}-devel = %{version}
+
+%description -n libedit-devel
+libedit is a command line editing and history library. It is designed
+to be used by interactive programs that allow the user to type commands
+at a terminal prompt.
+
+This package holds the development files for libedit.
+
+%prep
+%setup -q -n %{pkg_name}-%{pkg_version}
+%patch2
+%patch3 -p1
+%patch4 -p1
+%build
+NOCONFIGURE=1 autoreconf -fiv
+%configure --disable-static --with-pic \
+    --disable-silent-rules \
+    --enable-widec
+
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+
+
+%post  -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+

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


More information about the Tizen-submit mailing list