1 Summary: Netscape Portable Runtime (NSPR)
2 Summary(pl): Przeno¶ne biblioteki uruchomieniowe Netscape
9 Source0: http://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
10 Patch0: %{name}-%{version}-mozilla1.2b.patch
11 BuildRequires: autoconf
12 Obsoletes: nspr-pthreads
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Libraries that implement cross-platform runtime services from
20 Biblioteki z wieloplatformow± implementacj± us³ug z Netscape.
23 Summary: NSPR library header files for development
24 Summary(pl): Pliki nag³ówkowe bibliotek NSPR
25 Group: Development/Libraries
26 Requires: %{name} = %{version}
27 Obsoletes: nspr-pthreads-devel
30 Header files for the NSPR library from Netscape.
32 %description devel -l pl
33 Pliki nag³ówkowe bibliotek NSPR z Netscape.
36 Summary: Static NSPR library
37 Summary(pl): Statyczna biblioteka NSPR
38 Group: Development/Libraries
39 Requires: %{name}-devel = %{version}
40 Obsoletes: nspr-pthreads-static
45 %description static -l pl
46 Statyczna biblioteka NSPR.
55 # don't use "--disable-strip" - it will cause stripping
57 --with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
59 --enable-optimize="%{rpmcflags}" \
60 --%{?debug:en}%{!?debug:dis}able-debug \
61 %{!?debug:--enable-strip} \
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_aclocaldir}
75 install config/%{name}.m4 $RPM_BUILD_ROOT%{_aclocaldir}
76 install config/%{name}-config $RPM_BUILD_ROOT%{_bindir}
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/lib*.so
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/nspr-config
95 %defattr(644,root,root,755)
96 %attr(644,root,root) %{_libdir}/lib*.a