1 Summary: Netscape Portable Runtime (NSPR)
2 Summary(pl): Przeno¶ne biblioteki uruchomieniowe Netscape
9 # they didn't release sources in tarball, only tagged in CVS as NSPR_4_4_1_RTM
10 # -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot get -r NSPR_4_4_1_RTM mozilla/nsprpub
11 #Source0: http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
12 Source0: %{name}-%{version}.tar.bz2
13 # Source0-md5: a7116e33316dad8e7ffda2fc64e69da1
14 Patch0: %{name}-am18.patch
15 Patch1: %{name}-acfix.patch
16 BuildRequires: autoconf >= 2.12
17 BuildRequires: automake
18 Obsoletes: nspr-pthreads
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Libraries that implement cross-platform runtime services from
26 Biblioteki z wieloplatformow± implementacj± us³ug z Netscape.
29 Summary: NSPR library header files for development
30 Summary(pl): Pliki nag³ówkowe bibliotek NSPR
31 Group: Development/Libraries
32 Requires: %{name} = %{epoch}:%{version}
33 Obsoletes: nspr-pthreads-devel
36 Header files for the NSPR library from Netscape.
38 %description devel -l pl
39 Pliki nag³ówkowe bibliotek NSPR z Netscape.
42 Summary: Static NSPR library
43 Summary(pl): Statyczna biblioteka NSPR
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{epoch}:%{version}
46 Obsoletes: nspr-pthreads-static
51 %description static -l pl
52 Statyczna biblioteka NSPR.
62 # don't use "--disable-strip" - it will cause stripping
64 --with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
66 --enable-optimize="%{rpmcflags}" \
67 --%{?debug:en}%{!?debug:dis}able-debug \
68 %{!?debug:--enable-strip} \
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_aclocaldir}
82 install config/%{name}.m4 $RPM_BUILD_ROOT%{_aclocaldir}
83 install config/%{name}-config $RPM_BUILD_ROOT%{_bindir}
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/lib*.so
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/nspr-config
102 %defattr(644,root,root,755)
103 %attr(644,root,root) %{_libdir}/lib*.a