|
@@ -3,14 +3,15 @@
|
|
Summary: Netscape Portable Runtime
|
|
Summary: Netscape Portable Runtime
|
|
Summary(ja): Netscape ポータブルランタイム
|
|
Summary(ja): Netscape ポータブルランタイム
|
|
Name: nspr
|
|
Name: nspr
|
|
-Version: 4.11
|
|
|
|
|
|
+Version: 4.13.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-License: MPLv1.1/GPLv2+/LGPLv2+
|
|
|
|
|
|
+License: MPLv2.0
|
|
URL: http://www.mozilla.org/projects/nspr/
|
|
URL: http://www.mozilla.org/projects/nspr/
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
-Patch1: nspr-config-pc.patch
|
|
|
|
|
|
+Patch1: nspr-config-pc.patch
|
|
|
|
+Patch2: nspr-561901.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Provides: mozilla-nspr
|
|
Provides: mozilla-nspr
|
|
@@ -64,10 +65,15 @@ memory management (malloc and free) and shared library linking.
|
|
|
|
|
|
cp ./nspr/config/nspr-config.in ./nspr/config/nspr-config-pc.in
|
|
cp ./nspr/config/nspr-config.in ./nspr/config/nspr-config-pc.in
|
|
%patch1 -p0
|
|
%patch1 -p0
|
|
|
|
+%patch2 -p0
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
-./nspr/configure \
|
|
|
|
|
|
+LDFLAGS+=-Wl,-z,relro
|
|
|
|
+export LDFLAGS
|
|
|
|
+
|
|
|
|
+%define _configure ./nspr/configure
|
|
|
|
+%configure \
|
|
--prefix=%{_prefix} \
|
|
--prefix=%{_prefix} \
|
|
--libdir=%{_libdir} \
|
|
--libdir=%{_libdir} \
|
|
--includedir=%{_includedir}/nspr4 \
|
|
--includedir=%{_includedir}/nspr4 \
|
|
@@ -86,6 +92,8 @@ make
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
|
make install
|
|
make install
|
|
|
|
|
|
|
|
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
+
|
|
NSPR_LIBS=`./config/nspr-config --libs`
|
|
NSPR_LIBS=`./config/nspr-config --libs`
|
|
NSPR_CFLAGS=`./config/nspr-config --cflags`
|
|
NSPR_CFLAGS=`./config/nspr-config --cflags`
|
|
NSPR_VERSION=`./config/nspr-config --version`
|
|
NSPR_VERSION=`./config/nspr-config --version`
|
|
@@ -130,6 +138,9 @@ NSPR_VERSION=`./config/nspr-config --version`
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Oct 07 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.13.1-1
|
|
|
|
+- update to 4.13.1.
|
|
|
|
+
|
|
* Tue May 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11-1
|
|
* Tue May 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11-1
|
|
- update to 4.11
|
|
- update to 4.11
|
|
|
|
|