]> git.pld-linux.org Git - packages/nspr.git/commitdiff
- initial release (based on nspr-pthreads.spec)
authormichuz <michuz@pld-linux.org>
Wed, 12 Dec 2001 16:07:02 +0000 (16:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nspr.spec -> 1.1

nspr.spec [new file with mode: 0644]

diff --git a/nspr.spec b/nspr.spec
new file mode 100644 (file)
index 0000000..072fd7f
--- /dev/null
+++ b/nspr.spec
@@ -0,0 +1,112 @@
+Summary:       Netscape Portable Runtime (NSPR)
+Summary(pl):   Przeno¶ne biblioteki uruchomieniowe Netscape
+Name:          nspr
+Version:       4.1.2
+Release:       1
+License:       GPL
+Group:         Libraries
+Group(de):     Libraries
+Group(es):     Bibliotecas
+Group(fr):     Librairies
+Group(pl):     Biblioteki
+Group(pt_BR):  Bibliotecas
+Group(ru):     âÉÂÌÉÏÔÅËÉ
+Group(uk):     â¦Â̦ÏÔÅËÉ
+Source0:       ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Libraries that implement cross-platform runtime services from
+Netscape.
+
+%description -l pl
+Biblioteki z wieloplatformow± implementacj± us³ug z Netscape.
+
+%package devel
+Summary:       NSPR library header files for development
+Summary(pl):   Pliki nag³ówkowe bibliotek NSPR
+Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
+Requires:      %{name} = %{version}
+
+%description devel
+Header files for the NSPR library from Netscape.
+
+%description devel -l pl
+Pliki nag³ówkowe bibliotek NSPR z Netscape.
+
+%package static
+Summary:       Static NSPR library
+Summary(pl):   Statyczna biblioteka NSPR
+Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static NSPR library.
+
+%description static -l pl
+Statyczna biblioteka NSPR.
+
+%prep
+%setup -q
+
+%build
+cd mozilla/nsprpub
+%{__make} \
+       DIST="$RPM_BUILD_ROOT%{_prefix}" \
+       NSDISTMODE=copy \
+       NS_USE_GCC=1 \
+       MOZILLA_CLIENT=1 \
+       NO_MDUPDATE=1 \
+       USE_PTHREADS=1 \
+       BUILD_OPT=1 \
+       OPTIMIZER="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd mozilla/nsprpub
+%{__make} \
+       DIST="$RPM_BUILD_ROOT%{_prefix}" \
+       NSDISTMODE=copy \
+       NS_USE_GCC=1 \
+       MOZILLA_CLIENT=1 \
+       NO_MDUPDATE=1 \
+       USE_PTHREADS=1 \
+       BUILD_OPT=1 \
+       OPTIMIZER="%{rpmcflags}"
+
+install -d $RPM_BUILD_ROOT%{_includedir}/nspr
+mv -f $RPM_BUILD_ROOT%{_includedir}/{*.h,nspr}
+mv -f $RPM_BUILD_ROOT%{_includedir}/{obsolete,nspr}
+mv -f $RPM_BUILD_ROOT%{_includedir}/{private,nspr}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/nspr
+
+%files static
+%defattr(644,root,root,755)
+%attr(644,root,root) %{_libdir}/lib*.a
This page took 0.033556 seconds and 4 git commands to generate.