[Tizen-submit] 3682: New package devel:upstream/iniparser

noreply at tizen.org noreply at tizen.org
Fri May 3 21:16:42 GMT 2013


Hi,
Adding new package iniparser 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.211903
Git project: platform/upstream/iniparser
Tag: submit/tizen/20130503.211903
Commit: e762147 Initial import

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3682

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


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.211903
Git project: platform/upstream/iniparser
Tag: submit/tizen/20130503.211903
Commit: e762147 Initial import

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

++++++ new changes file:
--- iniparser.changes
+++ iniparser.changes
@@ -0,0 +1,3 @@
+* Thu Apr 04 2013 Anas Nashif <anas.nashif at intel.com> upstream/2.17 at 9523f21
+- Initial import
+

new:
----
  iniparser-2.17.tar.gz
  iniparser.changes
  iniparser.manifest
  iniparser.spec

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

++++++ new spec file:
--- iniparser.spec
+++ iniparser.spec
@@ -0,0 +1,68 @@
+Name:           iniparser
+Version:        2.17
+Release:        3
+VCS:        platform/upstream/iniparser#submit/tizen/20130503.211903-0-ge762147
+License:        MIT
+Summary:        Stand-alone ini file parsing library
+Url:            http://ndevilla.free.fr/iniparser/
+Group:          System/Libraries
+Source:         http://ndevilla.free.fr/iniparser/iniparser-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+%description
+iniparser is a free stand-alone ini file parsing library.
+It is written in portable ANSI C and should compile anywhere.
+iniparser is distributed under an MIT license.
+
+%package devel
+Summary:        Development tools for stand-alone ini file parsing library
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+
+%description devel
+This package contains the header files and development documentation
+for %{name}. If you like to develop programs using %{name}, you will need
+to install %{name}-devel.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+make prefix=%{_prefix}  %{?_smp_mflags} CFLAGS="%{optflags} -fPIC"
+
+%install
+
+mkdir -p %{buildroot}/%{_libdir}
+install -m 755 libiniparser.so.0 %{buildroot}/%{_libdir}
+ln -s libiniparser.so.0 %{buildroot}/%{_libdir}/libiniparser.so
+mkdir -p %{buildroot}/%{_includedir}
+install -m 644 src/*.h %{buildroot}/%{_includedir}
+install -m 644 src/*.h %{buildroot}/%{_includedir}
+mkdir -p %{buildroot}/%{_libdir}/pkgconfig
+cat > %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc <<EOF
+prefix = %{_prefix}
+exec_prefix = %{_exec_prefix}
+libdir = %{_libdir}
+includedir = %{_includedir}
+
+Name : iniparser
+Description : a free stand-alone ini file parsing library.
+Version : %{version}
+Libs : -L\${libdir} -liniparser
+Cflags : -I\${includedir}
+
+EOF
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest

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


More information about the Tizen-submit mailing list