SUNWjre-config.spec
author jerrytan
Mon, 11 Aug 2008 07:35:57 +0000
branchgnome-2-22
changeset 12497 f4743e0d8120
parent 11977 8e26baf44976
child 14746 f863cf60392d
permissions -rw-r--r--
update spec for tracker from vermillion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWjre-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): j2re-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: dermot
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use j2re_int = j2re-integration.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
%define plugin_dir %{_libdir}/firefox/plugins
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
%define ns_plug_ver ns7
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
%ifarch i386
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
%define myarch i386
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%ifarch sparc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
%define myarch sparc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Name:                    SUNWjre-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Summary:                 Java runtime integration
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Version:                 1.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
SUNW_Category: 		 JDS,system,%{jds_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
SUNW_BaseDir:            %{_basedir}
11977
8e26baf44976 2008-03-31 Dermot McCluskey <[email protected]>
dermot
parents: 9397
diff changeset
    33
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires: SUNWfirefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires: SUNWj5rt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%package plugin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Summary:                 %{summary} - plugin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
SUNW_Category: 		 JDS,system,%{jds_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: SUNWfirefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires: SUNWj5rt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%j2re_int.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
cd %{_builddir}/%name-%version/j2re-integration
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
#setup mozilla plugin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
#create dummy plugin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
install --mode=755 -d ${RPM_BUILD_ROOT}%{_prefix}/java/jre/plugin/%{myarch}/%{ns_plug_ver}/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
touch ${RPM_BUILD_ROOT}%{_prefix}/java/jre/plugin/%{myarch}/%{ns_plug_ver}/libjavaplugin_oji.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
install --mode=755 -d ${RPM_BUILD_ROOT}%{plugin_dir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
cd ${RPM_BUILD_ROOT}%{plugin_dir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
mkdir -p  ../../../java/jre/plugin/%{myarch}/%{ns_plug_ver}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
touch  ../../../java/jre/plugin/%{myarch}/%{ns_plug_ver}/libjavaplugin_oji.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
ln -s ../../../java/jre/plugin/%{myarch}/%{ns_plug_ver}/libjavaplugin_oji.so .
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
rm  ../../../java/jre/plugin/%{myarch}/%{ns_plug_ver}/libjavaplugin_oji.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
rm -rf $RPM_BUILD_ROOT%{_prefix}/java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%files plugin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%{plugin_dir}/libjavaplugin_oji.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%changelog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
* Fri Jun 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
- 6349214: remove files installed in java 1.4.2 dir /usr/j2se
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
  results in SUNWjre-config being empty - will completely remove pkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
  once ARC fasttrack is complete
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
- Update %install and %files as base spec file has removed multiple files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
* Thu Apr 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
- changed firefox libdir to "/usr/lib"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
* Thu Oct 14 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
- change CATEGORY to JDS3,system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
* Tue Aug 17 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
- added SUNWj5rt dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
* Fri Aug 06 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- Added JavaIM.directory
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
* Tue Jul 15 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
- mozilla's _prefix has changed to /usr/sfw
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
* Tue Jul 13 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
- Set perms for /usr/share/applications again.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
* Mon Jul 12 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
- Unset perms for /usr/share/applications.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Sat Jul 10 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Set perms for /usr/share/applications.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- Changed install location to /usr/...
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Tue Jun 22 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- remove hardcoded /opt/jds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Mon Jun 21 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- add Java Instant Messanger .desktop files