[Tizen-submit] 19218: Changes to Tizen:Generic/nspr

noreply at tizen.org noreply at tizen.org
Fri Jan 3 21:44:54 GMT 2014


Hi,
Michael Demeter have made the following changes to nspr in project Tizen:Generic. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #19218

  submit:       Tizen:Generic:build/nspr(cleanup) -> Tizen:Generic


Message:
Submitter: Michael Demeter <michael.demeter at intel.com>
Comments: Update to 4.10.2
Git project: platform/upstream/nspr
Tag: submit/tizen/20140103.214915
Commit: e3663267e0223b012dc360d702f9bfbcf436d98e Merge remote-tracking branch 'review.tizen.org/tizen' into tizen

State:   new        2014-01-03T21:42:21 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- nspr.changes
+++ nspr.changes

++++++ deleted changes files:
--- _service:gbs:nspr.changes

old:
----
  _service
  _service:gbs:baselibs.conf
  _service:gbs:nspr-4.10.tar.bz2
  _service:gbs:nspr.changes
  _service:gbs:nspr.manifest
  _service:gbs:nspr.spec

new:
----
  baselibs.conf
  nspr-4.10.2.tar.bz2
  nspr.changes
  nspr.manifest
  nspr.spec

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

++++++ new spec file:
--- nspr.spec
+++ nspr.spec
@@ -0,0 +1,96 @@
+Name:           nspr
+VCS:            platform/upstream/nspr#e3663267e0223b012dc360d702f9bfbcf436d98e
+Version:        4.10.2
+Release:        0
+License:        MPL-2.0
+Summary:        Netscape Portable Runtime
+Url:            http://www.mozilla.org/projects/nspr/
+Group:          Base/Libraries
+Source:         ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/nspr-%{version}.tar.bz2
+Source1:        baselibs.conf
+Source1001: 	nspr.manifest
+BuildRequires:  gcc-c++
+BuildRequires:  pkg-config
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%description
+NSPR provides platform independence for non-GUI operating system
+facilities. These facilities include threads, thread synchronization,
+normal file and network I/O, interval timing and calendar time, basic
+memory management (malloc and free), and shared library linking.
+
+%package devel
+Summary:        Netscape Portable Runtime development files
+Group:          Base/Development
+Requires:       nspr = %{version}
+
+%description devel
+NSPR provides platform independence for non-GUI operating system
+facilities. These facilities include threads, thread synchronization,
+normal file and network I/O, interval timing and calendar time, basic
+memory management (malloc and free), and shared library linking.
+
+%prep
+%setup -n nspr-%{version} -q
+cp %{SOURCE1001} .
+
+%build
+# set buildtime to "last-modification-time"
+modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
+BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")"
+BUILD_TIME="$(date -u -d "${modified}" "+%%s000000")"
+#
+cd nspr
+export CFLAGS="%{optflags}"
+./configure --enable-optimize="$CFLAGS" \
+            --disable-debug \
+%ifarch x86_64
+	    --enable-64bit \
+%endif
+	    --libdir=%{_libdir} \
+	    --includedir=%{_includedir}/nspr4 \
+	    --prefix=%{_prefix}

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


More information about the Tizen-submit mailing list