1 Summary: Netscape Portable Runtime (NSPR)
2 Summary(pl): Przeno¶ne biblioteki uruchomieniowe Netscape
4 # it's actually 4.5, but leave this .0 because of previous snaps
10 # :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot mozilla/nsprpub -r NSPR_4_5_RTM
11 Source0: %{name}-4.5.tar.bz2
12 # Source0-md5: f4bfd5d90ff9ddfcb58bf2b9a1704f91
13 #Source0: http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
14 Patch0: %{name}-am18.patch
15 Patch1: %{name}-acfix.patch
16 Patch2: %{name}-libdir.patch
17 BuildRequires: autoconf >= 2.12
18 BuildRequires: automake
19 Obsoletes: nspr-pthreads
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Libraries that implement cross-platform runtime services from
27 Biblioteki z wieloplatformow± implementacj± us³ug z Netscape.
30 Summary: NSPR library header files for development
31 Summary(pl): Pliki nag³ówkowe bibliotek NSPR
32 Group: Development/Libraries
33 Requires: %{name} = %{epoch}:%{version}-%{release}
34 Obsoletes: nspr-pthreads-devel
37 Header files for the NSPR library from Netscape.
39 %description devel -l pl
40 Pliki nag³ówkowe bibliotek NSPR z Netscape.
43 Summary: Static NSPR library
44 Summary(pl): Statyczna biblioteka NSPR
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
47 Obsoletes: nspr-pthreads-static
52 %description static -l pl
53 Statyczna biblioteka NSPR.
56 %setup -q -n %{name}-4.5
63 cp -f /usr/share/automake/config.sub build/autoconf
65 # don't use "--disable-strip" - it will cause stripping
67 --with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
68 --with-dist-libdir=$RPM_BUILD_ROOT%{_libdir} \
70 --enable-optimize="%{rpmcflags}" \
71 --%{?debug:en}%{!?debug:dis}able-debug \
72 %{!?debug:--enable-strip} \
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_aclocaldir}
86 install config/%{name}.m4 $RPM_BUILD_ROOT%{_aclocaldir}
87 install config/%{name}-config $RPM_BUILD_ROOT%{_bindir}
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*.so
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/nspr-config
106 %defattr(644,root,root,755)
107 %attr(644,root,root) %{_libdir}/lib*.a