4 Summary: Netscape Portable Runtime (NSPR)
5 Summary(pl): Przeno¶ne biblioteki uruchomieniowe Netscape
12 #Source0: http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
13 Source0: %{name}-%{_snap}.tar.gz
14 # Source0-md5: 3392849244f60ce772ec91c0a5d92546
15 BuildRequires: autoconf
16 Obsoletes: nspr-pthreads
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Libraries that implement cross-platform runtime services from
24 Biblioteki z wieloplatformow± implementacj± us³ug z Netscape.
27 Summary: NSPR library header files for development
28 Summary(pl): Pliki nag³ówkowe bibliotek NSPR
29 Group: Development/Libraries
30 Requires: %{name} = %{epoch}:%{version}
31 Obsoletes: nspr-pthreads-devel
34 Header files for the NSPR library from Netscape.
36 %description devel -l pl
37 Pliki nag³ówkowe bibliotek NSPR z Netscape.
40 Summary: Static NSPR library
41 Summary(pl): Statyczna biblioteka NSPR
42 Group: Development/Libraries
43 Requires: %{name}-devel = %{epoch}:%{version}
44 Obsoletes: nspr-pthreads-static
49 %description static -l pl
50 Statyczna biblioteka NSPR.
58 # don't use "--disable-strip" - it will cause stripping
60 --with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
62 --enable-optimize="%{rpmcflags}" \
63 --%{?debug:en}%{!?debug:dis}able-debug \
64 %{!?debug:--enable-strip} \
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT%{_aclocaldir}
78 install config/%{name}.m4 $RPM_BUILD_ROOT%{_aclocaldir}
79 install config/%{name}-config $RPM_BUILD_ROOT%{_bindir}
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/nspr-config
98 %defattr(644,root,root,755)
99 %attr(644,root,root) %{_libdir}/lib*.a