Upload Tizen:Base source
[toolchains/nspr.git] / mozilla / nsprpub / pkg / linux / sun-nspr.spec
1 Summary: Netscape Portable Runtime
2 Name: %{name}
3 Vendor: Sun Microsystems, Inc.
4 Version: %{version}
5 Release: %{release}
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.
7 Distribution: Sun Java(TM) Enterprise System
8 URL: http://www.sun.com
9 Group: System Environment/Base
10 Source: %{name}-%{version}.tar.gz
11 ExclusiveOS: Linux
12 BuildRoot: /var/tmp/%{name}-root
13         
14 %description
15
16 NSPR provides platform independence for non-GUI operating system
17 facilities. These facilities include threads, thread synchronization,
18 normal file and network I/O, interval timing and calendar time, basic
19 memory management (malloc and free) and shared library linking. 
20
21 See: http://www.mozilla.org/projects/nspr/about-nspr.html
22
23 ***** BEGIN LICENSE BLOCK *****
24 Version: MPL 1.1/GPL 2.0/LGPL 2.1
25
26 The contents of this file are subject to the Mozilla Public License Version
27 1.1 (the "License"); you may not use this file except in compliance with
28 the License. You may obtain a copy of the License at
29 http://www.mozilla.org/MPL/
30
31 Software distributed under the License is distributed on an "AS IS" basis,
32 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
33 for the specific language governing rights and limitations under the
34 License.
35
36 The Original Code is the Netscape security libraries.
37
38 The Initial Developer of the Original Code is
39 Netscape Communications Corporation.
40 Portions created by the Initial Developer are Copyright (C) 1994-2000
41 the Initial Developer. All Rights Reserved.
42
43 Contributor(s):
44
45 Alternatively, the contents of this file may be used under the terms of
46 either the GNU General Public License Version 2 or later (the "GPL"), or
47 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
48 in which case the provisions of the GPL or the LGPL are applicable instead
49 of those above. If you wish to allow use of your version of this file only
50 under the terms of either the GPL or the LGPL, and not to allow others to
51 use your version of this file under the terms of the MPL, indicate your
52 decision by deleting the provisions above and replace them with the notice
53 and other provisions required by the GPL or the LGPL. If you do not delete
54 the provisions above, a recipient may use your version of this file under
55 the terms of any one of the MPL, the GPL or the LGPL.
56
57 ***** END LICENSE BLOCK *****
58
59 %package devel
60 Summary: Development Libraries for the Netscape Portable Runtime
61 Group: Development/Libraries
62 Requires: %{name} = %{version}-%{release}
63
64 %description devel
65 Header files for doing development with the Netscape Portable Runtime.
66
67 Under "MPL/GPL" license.
68
69 %prep
70 %setup -c
71
72 %build
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 mkdir $RPM_BUILD_ROOT
77 cd $RPM_BUILD_ROOT
78 tar xvzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT