Browse Source

nspr-4.13.1-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11203 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
158eaa1a9f
1 changed files with 15 additions and 4 deletions
  1. 15 4
      n/nspr/nspr-vl.spec

+ 15 - 4
n/nspr/nspr-vl.spec

@@ -3,14 +3,15 @@
 Summary:	Netscape Portable Runtime
 Summary(ja):    Netscape ポータブルランタイム
 Name:		nspr
-Version:	4.11
+Version:	4.13.1
 Release:	1%{?_dist_release}
-License:	MPLv1.1/GPLv2+/LGPLv2+
+License:	MPLv2.0
 URL:		http://www.mozilla.org/projects/nspr/
 Group:		System Environment/Libraries
 Source0:	%{name}-%{version}.tar.gz
 
-Patch1:         nspr-config-pc.patch
+Patch1:		nspr-config-pc.patch
+Patch2:		nspr-561901.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 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
 %patch1 -p0
+%patch2 -p0
 
 %build
 
-./nspr/configure \
+LDFLAGS+=-Wl,-z,relro
+export LDFLAGS
+
+%define _configure ./nspr/configure
+%configure \
                  --prefix=%{_prefix} \
                  --libdir=%{_libdir} \
                  --includedir=%{_includedir}/nspr4 \
@@ -86,6 +92,8 @@ make
 DESTDIR=$RPM_BUILD_ROOT \
   make install
 
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+
 NSPR_LIBS=`./config/nspr-config --libs`
 NSPR_CFLAGS=`./config/nspr-config --cflags`
 NSPR_VERSION=`./config/nspr-config --version`
@@ -130,6 +138,9 @@ NSPR_VERSION=`./config/nspr-config --version`
 
 
 %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
 - update to 4.11