1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nsprpub/pkg/linux/sun-nspr.spec Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,49 @@ 1.4 +Summary: Netscape Portable Runtime 1.5 +Name: %{name} 1.6 +Vendor: Sun Microsystems, Inc. 1.7 +Version: %{version} 1.8 +Release: %{release} 1.9 +Copyright: Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also under other license(s) as shown at the Description field. 1.10 +Distribution: Sun Java(TM) Enterprise System 1.11 +URL: http://www.sun.com 1.12 +Group: System Environment/Base 1.13 +Source: %{name}-%{version}.tar.gz 1.14 +ExclusiveOS: Linux 1.15 +BuildRoot: /var/tmp/%{name}-root 1.16 + 1.17 +%description 1.18 + 1.19 +NSPR provides platform independence for non-GUI operating system 1.20 +facilities. These facilities include threads, thread synchronization, 1.21 +normal file and network I/O, interval timing and calendar time, basic 1.22 +memory management (malloc and free) and shared library linking. 1.23 + 1.24 +See: http://www.mozilla.org/projects/nspr/about-nspr.html 1.25 + 1.26 +This Source Code Form is subject to the terms of the Mozilla Public 1.27 +License, v. 2.0. If a copy of the MPL was not distributed with this 1.28 +file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.29 + 1.30 +%package devel 1.31 +Summary: Development Libraries for the Netscape Portable Runtime 1.32 +Group: Development/Libraries 1.33 +Requires: %{name} = %{version}-%{release} 1.34 + 1.35 +%description devel 1.36 +Header files for doing development with the Netscape Portable Runtime. 1.37 + 1.38 +Under "MPL/GPL" license. 1.39 + 1.40 +%prep 1.41 +%setup -c 1.42 + 1.43 +%build 1.44 + 1.45 +%install 1.46 +rm -rf $RPM_BUILD_ROOT 1.47 +mkdir $RPM_BUILD_ROOT 1.48 +cd $RPM_BUILD_ROOT 1.49 +tar xvzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz 1.50 + 1.51 +%clean 1.52 +rm -rf $RPM_BUILD_ROOT