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 # Source0-md5: df714fd7179508ddd1d2c31abfaa8450
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.
54 # don't use "--disable-strip" - it will cause stripping
56 --with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
58 --enable-optimize="%{rpmcflags}" \
59 --%{?debug:en}%{!?debug:dis}able-debug \
60 %{!?debug:--enable-strip} \
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_aclocaldir}
74 install config/%{name}.m4 $RPM_BUILD_ROOT%{_aclocaldir}
75 install config/%{name}-config $RPM_BUILD_ROOT%{_bindir}
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/lib*.so
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/nspr-config
94 %defattr(644,root,root,755)
95 %attr(644,root,root) %{_libdir}/lib*.a