nsprpub/pkg/linux/sun-nspr.spec

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 Summary: Netscape Portable Runtime
michael@0 2 Name: %{name}
michael@0 3 Vendor: Sun Microsystems, Inc.
michael@0 4 Version: %{version}
michael@0 5 Release: %{release}
michael@0 6 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.
michael@0 7 Distribution: Sun Java(TM) Enterprise System
michael@0 8 URL: http://www.sun.com
michael@0 9 Group: System Environment/Base
michael@0 10 Source: %{name}-%{version}.tar.gz
michael@0 11 ExclusiveOS: Linux
michael@0 12 BuildRoot: /var/tmp/%{name}-root
michael@0 13
michael@0 14 %description
michael@0 15
michael@0 16 NSPR provides platform independence for non-GUI operating system
michael@0 17 facilities. These facilities include threads, thread synchronization,
michael@0 18 normal file and network I/O, interval timing and calendar time, basic
michael@0 19 memory management (malloc and free) and shared library linking.
michael@0 20
michael@0 21 See: http://www.mozilla.org/projects/nspr/about-nspr.html
michael@0 22
michael@0 23 This Source Code Form is subject to the terms of the Mozilla Public
michael@0 24 License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 25 file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 26
michael@0 27 %package devel
michael@0 28 Summary: Development Libraries for the Netscape Portable Runtime
michael@0 29 Group: Development/Libraries
michael@0 30 Requires: %{name} = %{version}-%{release}
michael@0 31
michael@0 32 %description devel
michael@0 33 Header files for doing development with the Netscape Portable Runtime.
michael@0 34
michael@0 35 Under "MPL/GPL" license.
michael@0 36
michael@0 37 %prep
michael@0 38 %setup -c
michael@0 39
michael@0 40 %build
michael@0 41
michael@0 42 %install
michael@0 43 rm -rf $RPM_BUILD_ROOT
michael@0 44 mkdir $RPM_BUILD_ROOT
michael@0 45 cd $RPM_BUILD_ROOT
michael@0 46 tar xvzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
michael@0 47
michael@0 48 %clean
michael@0 49 rm -rf $RPM_BUILD_ROOT

mercurial