[Tizen-submit] 3654: New package devel:upstream/gmp

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


Hi,
Adding new package gmp 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.205843
Git project: platform/upstream/gmp
Tag: submit/tizen/20130503.205843
Commit: e319f67 add static libs

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3654

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


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.205843
Git project: platform/upstream/gmp
Tag: submit/tizen/20130503.205843
Commit: e319f67 add static libs

State:   new        2013-05-03T13:26:44 tizenrobot
Comment: <no comment>
new:
----
  baselibs.conf
  gmp-5.0.5.tar.bz2
  gmp.spec

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

++++++ new spec file:
--- gmp.spec
+++ gmp.spec
@@ -0,0 +1,123 @@
+%define keepstatic 1
+Name:           gmp
+Version:        5.0.5
+Release:        0
+VCS:        platform/upstream/gmp#submit/tizen/20130503.205843-0-ge319f67
+License:        GPL-3.0+ ; LGPL-3.0+
+Summary:        The GNU MP Library
+Url:            http://gmplib.org/
+Group:          System/Libraries
+Source:         %{name}-%{version}.tar.bz2
+Source2:        baselibs.conf
+BuildRequires:  gcc-c++
+
+%description
+A library for calculating huge numbers (integer and floating point).
+
+%package -n libgmp
+Summary:        Shared library for the GNU MP Library
+Group:          System/Libraries
+
+%description -n libgmp
+Shared library for the GNU MP Library.
+
+%package -n libgmpxx
+Summary:        C++ bindings for the GNU MP Library
+Group:          System/Libraries
+Requires:       libgmp = %{version}
+
+%description -n libgmpxx
+C++ bindings for the GNU MP Library.
+
+%package -n libmp
+Summary:        BSD libmp bindings for the GNU MP Library
+Group:          System/Libraries
+Requires:       libgmp = %{version}
+
+%description -n libmp
+BSD libmp bindings for the GNU MP Library.
+
+%package devel
+Summary:        Include Files and Libraries for Development with the GNU MP Library
+Group:          Development/Languages/C and C++
+Requires:       libgmp = %{version}
+Requires:       libgmpxx = %{version}
+Requires:       libmp = %{version}
+
+%description devel
+These libraries are needed to develop programs which calculate with
+huge numbers (integer and floating point).
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags} -fexceptions";
+./configure --build=%{_build} --host=%{_host} \
+         --program-prefix=%{?_program_prefix} \
+         --prefix=%{_prefix} \
+         --exec-prefix=%{_exec_prefix} \
+         --bindir=%{_bindir} \
+         --sbindir=%{_sbindir} \
+         --sysconfdir=%{_sysconfdir} \
+         --datadir=%{_datadir} \
+         --includedir=%{_includedir} \
+         --libdir=%{_libdir} \
+         --libexecdir=%{_libexecdir} \
+         --localstatedir=%{_localstatedir} \
+         --sharedstatedir=%{_sharedstatedir} \
+         --mandir=%{_mandir} \
+         --infodir=%{_infodir} \
+         --enable-mpbsd --enable-cxx
+make %{?_smp_mflags}
+

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


More information about the Tizen-submit mailing list