OBS User unknown 2008-03-26 15:24:29 +00:00 committed by Git OBS Bridge
parent 638e603027
commit 7028164af6
5 changed files with 49 additions and 10 deletions

3
README.SuSE Normal file
View File

@ -0,0 +1,3 @@
This is an (almost) empty package which requires the nspr4 shared library
subpackage.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 25 23:01:47 CET 2008 - maw@suse.de
- Merge changes from the build service (thanks, Wolfgang)
- Update to the 4.7.1beta1-20080225 snapshot
- Split out a shared library subpackage.
-------------------------------------------------------------------
Thu Feb 7 18:03:16 CET 2008 - maw@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package mozilla-nspr (Version 4.7.0)
# spec file for package mozilla-nspr (Version 4.7.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -10,18 +10,22 @@
# norootforbuild
Name: mozilla-nspr
BuildRequires: gcc-c++
License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Version: 4.7.0
Release: 1
Version: 4.7.1
Release: 2
Summary: Netscape Portable Runtime
Url: http://www.mozilla.org/projects/nspr/
Group: System/Libraries
# NSPR head snapshot 20080219
Source: nspr-%{version}.tar.bz2
Source1: README.SuSE
Patch1: prdtoa.patch
Patch3: pkgconfig.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libnspr4 = %{version}
%description
NSPR provides platform independence for non-GUI operating system
@ -48,12 +52,30 @@ memory management (malloc and free), and shared library linking.
Authors:
--------
Mozilla Foundation <drivers@mozilla.org>
%package -n libnspr4
Summary: Netscape Portable Runtime
Group: System/Libraries
Requires: %{name} >= %{version}
%description -n libnspr4
NSPR provides platform independence for non-GUI operating system
facilities. These facilities include threads, thread synchronization,
normal file and network I/O, interval timing and calendar time, basic
memory management (malloc and free), and shared library linking.
Authors:
--------
Mozilla Foundation <drivers@mozilla.org>
%prep
%setup -n nspr-%{version} -q
cp -a %{S:1} .
cd mozilla
%patch1
%patch3 -p2
@ -85,14 +107,18 @@ cp -rL mozilla/nsprpub/dist/include/nspr/* $RPM_BUILD_ROOT/%{_includedir}/nspr4/
chmod -x $RPM_BUILD_ROOT/%{_includedir}/nspr4/prvrsion.h
%clean
rm -rf $RPM_BUILD_ROOT
###rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post -n libnspr4 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libnspr4 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc README.SuSE
%files -n libnspr4
%defattr(-, root, root)
%{_libdir}/*.so
%files devel
@ -102,8 +128,11 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/nspr4/
%exclude %{_includedir}/nspr4/md/*
%{_libdir}/nspr/
%changelog
* Wed Mar 26 2008 maw@suse.de
- Merge changes from the build service (thanks, Wolfgang)
- Update to the 4.7.1beta1-20080225 snapshot
- Split out a shared library subpackage.
* Thu Feb 07 2008 maw@suse.de
- Merge changes from the build service (thanks, Wolfgang).
- Remove strcstr.patch, which has been upstreamed.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e8a28b36af79fc0df69de60200c29780f833afb9662053a25e447c32c2d4b28
size 978109

3
nspr-4.7.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd136e8892c6745c193642cd43447f68503bfbbc3bd3957568001c4ee1e2896f
size 979369