[Tizen-submit] 2653: New package Tizen:2.1:Base/expat

noreply at tizen.org noreply at tizen.org
Tue Apr 23 20:33:35 GMT 2013


Hi,
Adding new package expat in project Tizen:2.1:Base. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen_2.1/20130423.203525
Git project: external/expat
Tag: submit/tizen_2.1/20130423.203525
Commit: 922e0d3 Tizen 2.1 base

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #2653

  submit:       Tizen:2.1:Base:build/expat(cleanup) -> Tizen:2.1:Base


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen_2.1/20130423.203525
Git project: external/expat
Tag: submit/tizen_2.1/20130423.203525
Commit: 922e0d3 Tizen 2.1 base

State:   new        2013-04-23T13:04:15 tizenrobot
Comment: <no comment>
new:
----
  expat-2.0.1-CVE-2009-3560.diff
  expat-2.0.1-CVE-2009-3720.diff
  expat-2.0.1-confcxx.patch
  expat-2.0.1.tar.gz
  expat.spec
  unused

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

++++++ new spec file:
--- expat.spec
+++ expat.spec
@@ -0,0 +1,91 @@
+Name:           expat
+Version:        2.0.1
+Release:        8
+VCS:        external/expat#submit/tizen_2.1/20130423.203525-0-g922e0d3
+Summary:        An XML parser library
+Group:          System/Libraries
+Source:         http://download.sourceforge.net/expat/expat-%{version}.tar.gz
+Patch0:         expat-2.0.1-CVE-2009-3720.diff
+Patch1:         expat-2.0.1-confcxx.patch
+
+License:        MIT
+Url:            http://www.libexpat.org/
+BuildRequires:  autoconf,
+BuildRequires:  automake,
+BuildRequires:  libtool
+
+%description
+This is expat, the C library for parsing XML, written by James Clark. Expat
+is a stream oriented XML parser. This means that you register handlers with
+the parser prior to starting the parse. These handlers are called when the
+parser discovers the associated structures in the document being parsed. A
+start tag is an example of the kind of structures for which you may
+register handlers.
+
+%package devel
+Summary:        Libraries and header files to develop applications using expat
+Group:          Development/Libraries
+Requires:       expat = %{version}
+
+%description devel
+The expat-devel package contains the libraries, include files and documentation
+to develop XML applications with expat.
+
+%package doc
+Summary:        Documentation for the expat package
+Group:          Development/Documentation
+Requires:       expat = %{version}
+
+%description doc
+Documentation for the expat package
+
+%prep
+%setup -q
+%patch0 -p0 -b .CVE-2009-3720
+%patch1 -p1 -b .confcxx
+%build
+rm -rf autom4te*.cache
+cp `aclocal --print-ac-dir`/libtool.m4 conftools || exit 1
+libtoolize --copy --force --automake && aclocal && autoheader && autoconf
+export CFLAGS="%{optflags} -fPIC"
+%configure --libdir=/%{_lib}
+make %{?_smp_mflags}
+
+%install
+
+rm -f examples/*.dsp
+chmod 644 README COPYING Changes doc/* examples/*
+
+%make_install
+
+mkdir -p %{buildroot}%{_libdir}
+mv %{buildroot}/%{_lib}/libexpat.so %{buildroot}%{_libdir}
+
+lib=`echo %{buildroot}/%{_lib}/libexpat.so.*.*`
+ln -sf ../../%{_lib}/`basename ${lib}` %{buildroot}%{_libdir}/libexpat.so
+
+%check
+make check
+
+%clean

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


More information about the Tizen-submit mailing list