sun-nspr.spec 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. %description
  14. NSPR provides platform independence for non-GUI operating system
  15. facilities. These facilities include threads, thread synchronization,
  16. normal file and network I/O, interval timing and calendar time, basic
  17. memory management (malloc and free) and shared library linking.
  18. See: http://www.mozilla.org/projects/nspr/about-nspr.html
  19. This Source Code Form is subject to the terms of the Mozilla Public
  20. License, v. 2.0. If a copy of the MPL was not distributed with this
  21. file, You can obtain one at http://mozilla.org/MPL/2.0/.
  22. %package devel
  23. Summary: Development Libraries for the Netscape Portable Runtime
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. %description devel
  27. Header files for doing development with the Netscape Portable Runtime.
  28. Under "MPL/GPL" license.
  29. %prep
  30. %setup -c
  31. %build
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. mkdir $RPM_BUILD_ROOT
  35. cd $RPM_BUILD_ROOT
  36. tar xvzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT