4 Summary: Netscape Portable Runtime (NSPR)
5 Summary(pl): Przeno¶ne biblioteki uruchomieniowe Netscape
12 Source0: %{name}-%{_snap}.tar.gz
13 # Source0-md5: 3392849244f60ce772ec91c0a5d92546
14 BuildRequires: autoconf
15 Obsoletes: nspr-pthreads
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Libraries that implement cross-platform runtime services from
23 Biblioteki z wieloplatformow± implementacj± us³ug z Netscape.
26 Summary: NSPR library header files for development
27 Summary(pl): Pliki nag³ówkowe bibliotek NSPR
28 Group: Development/Libraries
29 Requires: %{name} = %{version}
30 Obsoletes: nspr-pthreads-devel
33 Header files for the NSPR library from Netscape.
35 %description devel -l pl
36 Pliki nag³ówkowe bibliotek NSPR z Netscape.
39 Summary: Static NSPR library
40 Summary(pl): Statyczna biblioteka NSPR
41 Group: Development/Libraries
42 Requires: %{name}-devel = %{version}
43 Obsoletes: nspr-pthreads-static
48 %description static -l pl
49 Statyczna biblioteka NSPR.
57 # don't use "--disable-strip" - it will cause stripping
59 --with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
61 --enable-optimize="%{rpmcflags}" \
62 --%{?debug:en}%{!?debug:dis}able-debug \
63 %{!?debug:--enable-strip} \
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_aclocaldir}
77 install config/%{name}.m4 $RPM_BUILD_ROOT%{_aclocaldir}
78 install config/%{name}-config $RPM_BUILD_ROOT%{_bindir}
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_bindir}/nspr-config
97 %defattr(644,root,root,755)
98 %attr(644,root,root) %{_libdir}/lib*.a