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