packages: nss/nss.spec - softokn-freebl subpackage for glibc

arekm arekm at pld-linux.org
Sun May 10 23:43:27 CEST 2009


Author: arekm                        Date: Sun May 10 21:43:27 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- softokn-freebl subpackage for glibc

---- Files affected:
packages/nss:
   nss.spec (1.89 -> 1.90) 

---- Diffs:

================================================================
Index: packages/nss/nss.spec
diff -u packages/nss/nss.spec:1.89 packages/nss/nss.spec:1.90
--- packages/nss/nss.spec:1.89	Sun May 10 22:32:48 2009
+++ packages/nss/nss.spec	Sun May 10 23:43:21 2009
@@ -85,6 +85,17 @@
 %description static -l pl.UTF-8
 Statyczne wersje bibliotek z NSS.
 
+%package softokn-freebl
+Summary:	Freebl library for the Network Security Services
+Group:		Libraries
+
+%description softokn-freebl
+Network Security Services (NSS) is a set of libraries designed to
+support cross-platform development of security-enabled client and
+server applications. Applications built with NSS can support SSL v2
+and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3
+certificates, and other security standards.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -106,6 +117,7 @@
 %endif
 
 %{__make} -j1 build_coreconf \
+	FREEBL_NO_DEPEND=1 \
 	NSDISTMODE=copy \
 	NS_USE_GCC=1 \
 	MOZILLA_CLIENT=1 \
@@ -116,6 +128,7 @@
 	OPTIMIZER="%{rpmcflags}"
 
 %{__make} -j1 build_dbm \
+	FREEBL_NO_DEPEND=1 \
 	NSDISTMODE=copy \
 	NS_USE_GCC=1 \
 	MOZILLA_CLIENT=1 \
@@ -127,6 +140,7 @@
 	PLATFORM="pld"
 
 %{__make} -j1 all \
+	FREEBL_NO_DEPEND=1 \
 	NSDISTMODE=copy \
 	NS_USE_GCC=1 \
 	MOZILLA_CLIENT=1 \
@@ -141,7 +155,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,%{_libdir},%{_pkgconfigdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,/%{_lib},%{_libdir},%{_pkgconfigdir}}
 
 install mozilla/dist/private/nss/*	$RPM_BUILD_ROOT%{_includedir}/nss
 install mozilla/dist/public/dbm/*	$RPM_BUILD_ROOT%{_includedir}/nss
@@ -170,6 +184,9 @@
 " %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/nss-config
 chmod +x $RPM_BUILD_ROOT%{_bindir}/nss-config
 
+mv $RPM_BUILD_ROOT%{_libdir}/libfreebl3.so $RPM_BUILD_ROOT/%{_lib}
+ln -s /%{_lib}/libfreebl3.so $RPM_BUILD_ROOT%{_libdir}/libfreebl3.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -236,12 +253,19 @@
 %{_libdir}/libsoftokn3.a
 %{_libdir}/libssl3.a
 
+%files softokn-freebl
+%defattr(644,root,root,755)
+%attr(755,root,root) /%{_lib}/libfreebl3.so
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.90  2009/05/10 21:43:21  arekm
+- softokn-freebl subpackage for glibc
+
 Revision 1.89  2009/05/10 20:32:48  arekm
 - up to 3.12.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nss/nss.spec?r1=1.89&r2=1.90&f=u



More information about the pld-cvs-commit mailing list