/security/nss/pkg/linux/sun-nss.spec

http://github.com/zpao/v8monkey · Unknown · 84 lines · 66 code · 18 blank · 0 comment · 0 complexity · 8da7ece3aadb1908d18e2382ab7ce542 MD5 · raw file

  1. Summary: Network Security Services
  2. Name: NAME_REPLACE
  3. Vendor: Sun Microsystems, Inc.
  4. Version: VERSION_REPLACE
  5. Release: RELEASE_REPLACE
  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: %_topdir/%{name}-root
  13. Requires: sun-nspr >= 4.1.2
  14. %description
  15. Network Security Services (NSS) is a set of libraries designed
  16. to support cross-platform development of security-enabled server
  17. applications. Applications built with NSS can support SSL v2
  18. and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME,
  19. X.509 v3 certificates, and other security standards. See:
  20. http://www.mozilla.org/projects/security/pki/nss/overview.html
  21. ***** BEGIN LICENSE BLOCK *****
  22. Version: MPL 1.1/GPL 2.0/LGPL 2.1
  23. The contents of this file are subject to the Mozilla Public License Version
  24. 1.1 (the "License"); you may not use this file except in compliance with
  25. the License. You may obtain a copy of the License at
  26. http://www.mozilla.org/MPL/
  27. Software distributed under the License is distributed on an "AS IS" basis,
  28. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  29. for the specific language governing rights and limitations under the
  30. License.
  31. The Original Code is the Netscape security libraries.
  32. The Initial Developer of the Original Code is
  33. Netscape Communications Corporation.
  34. Portions created by the Initial Developer are Copyright (C) 1994-2000
  35. the Initial Developer. All Rights Reserved.
  36. Contributor(s):
  37. Alternatively, the contents of this file may be used under the terms of
  38. either the GNU General Public License Version 2 or later (the "GPL"), or
  39. the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  40. in which case the provisions of the GPL or the LGPL are applicable instead
  41. of those above. If you wish to allow use of your version of this file only
  42. under the terms of either the GPL or the LGPL, and not to allow others to
  43. use your version of this file under the terms of the MPL, indicate your
  44. decision by deleting the provisions above and replace them with the notice
  45. and other provisions required by the GPL or the LGPL. If you do not delete
  46. the provisions above, a recipient may use your version of this file under
  47. the terms of any one of the MPL, the GPL or the LGPL.
  48. ***** END LICENSE BLOCK *****
  49. %package devel
  50. Summary: Development Libraries for Network Security Services
  51. Group: Development/Libraries
  52. Requires: %{name} = %{version}-%{release}
  53. %define _unpackaged_files_terminate_build 0
  54. %description devel
  55. Header files for doing development with Network Security Services.
  56. Under "MPL/GPL" license.
  57. %prep
  58. %setup -c
  59. %build
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. mkdir $RPM_BUILD_ROOT
  63. cd $RPM_BUILD_ROOT
  64. tar xvzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT