[Tizen-submit] 3744: New package devel:upstream/libelf0

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


Hi,
Adding new package libelf0 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.223651
Git project: platform/upstream/libelf0
Tag: submit/tizen/20130503.223651
Commit: 0a9ed2e Fixed package groups, license

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3744

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


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.223651
Git project: platform/upstream/libelf0
Tag: submit/tizen/20130503.223651
Commit: 0a9ed2e Fixed package groups, license

State:   new        2013-05-03T15:04:42 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- libelf0.changes
+++ libelf0.changes
@@ -0,0 +1,3 @@
+* Mon Mar 25 2013 Anas Nashif <anas.nashif at intel.com> upstream/0.8.13 at c5c77d9
+- Fixed package groups, license
+

new:
----
  baselibs.conf
  libelf-0.8.13.tar.bz2
  libelf0.changes
  libelf0.spec

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

++++++ new spec file:
--- libelf0.spec
+++ libelf0.spec
@@ -0,0 +1,60 @@
+Name:           libelf0
+Version:        0.8.13
+Release:        0
+VCS:        platform/upstream/libelf0#submit/tizen/20130503.223651-0-g0a9ed2e
+License:        LGPL-2.1+
+Summary:        An ELF Object File Access Library
+Url:            http://www.mr511.de/software/
+Group:          System/Libraries
+Source:         libelf-%{version}.tar.bz2
+Source2:        baselibs.conf
+BuildRequires:  pkgconfig
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%description
+The libelf package contains a library for accessing ELF object files.
+Libelf allows you to access the internals of the ELF object file
+format, so you can see the different sections of an ELF file.
+
+%package devel
+Summary:        Include Files and Libraries mandatory for Development
+Group:          Development/Libraries/C and C++
+Requires:       %{name} = %{version}
+Requires:       glibc-devel,
+Conflicts:      libelf1-devel
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q -n libelf-%{version}
+
+%build
+%configure --disable-nls
+make %{?_smp_mflags}
+
+%install
+make install instroot=%{buildroot}
+# remove the wrapper includes
+rm -f %{buildroot}%{_includedir}/*.h
+# remove unneeded *.la and *.a files
+rm -f %{buildroot}%{_libdir}/*.la
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING.LIB 
+%{_libdir}/libelf.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libelf.so
+%{_libdir}/libelf.a
+%{_libdir}/pkgconfig/libelf.pc
+%{_includedir}/libelf
+
+%changelog


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


More information about the Tizen-submit mailing list