15497N/A#
10139N/A# spec file for package SUNWjre-config
10139N/A#
10139N/A# includes module(s): j2re-config
10139N/A#
15497N/A# Copyright (c) 2008 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner dermot
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%use j2re_int = j2re-integration.spec
10139N/A
10139N/A%define plugin_dir %{_libdir}/firefox/plugins
15497N/A%define plugin_file libnpjp2.so
10139N/A
10139N/A%ifarch i386
10139N/A%define myarch i386
10139N/A%endif
10139N/A
10139N/A%ifarch sparc
10139N/A%define myarch sparc
10139N/A%endif
10139N/A
10139N/A
10139N/AName: SUNWjre-config
10139N/ASummary: Java runtime integration
19142N/AMeta(info.classification): %{classification_prefix}:Applications/Plug-ins and Run-times
10139N/AVersion: 1.0
10139N/ASUNW_Category: JDS,system,%{jds_version}
10139N/ASUNW_BaseDir: %{_basedir}
12719N/ASUNW_Copyright: %{name}.copyright
19140N/ALicense: %{j2re_int.license}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
15497N/ABuildRequires: SUNWfirefox
10139N/A
10139N/A%package plugin
19013N/AIPS_package_name: web/browser/firefox/plugin/firefox-java
10139N/ASummary: %{summary} - plugin
10139N/ASUNW_Category: JDS,system,%{jds_version}
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
20857N/ABuildRequires: consolidation/desktop/gnome-incorporation
10139N/ARequires: SUNWfirefox
17961N/ARequires: SUNWj6rt
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%j2re_int.prep -d %name-%version
10139N/A
10139N/A
10139N/A%install
10139N/Acd %{_builddir}/%name-%version/j2re-integration
10139N/A
10139N/A#setup mozilla plugin
10139N/A#create dummy plugin
15497N/Ainstall --mode=755 -d ${RPM_BUILD_ROOT}%{_prefix}/java/jre/lib/%{myarch}/
15497N/Atouch ${RPM_BUILD_ROOT}%{_prefix}/java/jre/lib/%{myarch}/%{plugin_file}
10139N/Ainstall --mode=755 -d ${RPM_BUILD_ROOT}%{plugin_dir}
10139N/Acd ${RPM_BUILD_ROOT}%{plugin_dir}
15497N/Amkdir -p ../../../java/jre/lib/%{myarch}
15497N/Atouch ../../../java/jre/lib/%{myarch}/%{plugin_file}
15497N/Aln -s ../../../java/jre/lib/%{myarch}/%{plugin_file} .
15497N/Arm ../../../java/jre/lib/%{myarch}/%{plugin_file}
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_prefix}/java
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A
10139N/A%files plugin
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
15497N/A%{plugin_dir}/%{plugin_file}
10139N/A
10139N/A
10139N/A%changelog
17961N/A* Sat Dec 19 2009 - dave.lin@sun.com
17961N/A- Change dependency SUNWj5rt to SUNWj6rt as no SUNWj5rt any more on OpenSolaris.
15497N/A* Wed Dec 10 2008 - dermot.mccluskey@sun.com
15497N/A- 6782196, use new Java plugin
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Fri Jun 09 2006 - dermot.mccluskey@sun.com
10139N/A- 6349214: remove files installed in java 1.4.2 dir /usr/j2se
10139N/A results in SUNWjre-config being empty - will completely remove pkg
10139N/A once ARC fasttrack is complete
10139N/A- Update %install and %files as base spec file has removed multiple files.
10139N/A* Thu Apr 13 2006 - dave.lin@sun.com
10139N/A- changed firefox libdir to "/usr/lib"
10139N/A* Thu Oct 14 2004 - laca@sun.com
10139N/A- change CATEGORY to JDS3,system
10139N/A* Tue Aug 17 2004 - laca@sun.com
10139N/A- added SUNWj5rt dependency
10139N/A* Fri Aug 06 2004 - takao.fujiwara@sun.com
10139N/A- Added JavaIM.directory
10139N/A* Tue Jul 15 2004 - dermot.mccluskey@sun.com
10139N/A- mozilla's _prefix has changed to /usr/sfw
10139N/A
10139N/A* Tue Jul 13 2004 - damien.carbery@sun.com
10139N/A- Set perms for /usr/share/applications again.
10139N/A* Mon Jul 12 2004 - damien.carbery@sun.com
10139N/A- Unset perms for /usr/share/applications.
10139N/A* Sat Jul 10 2004 - damien.carbery@sun.com
10139N/A- Set perms for /usr/share/applications.
10139N/A* Sat Jun 26 2004 shirley.woo@sun.com
10139N/A- Changed install location to /usr/...
10139N/A* Tue Jun 22 2004 - dermot.mccluskey@sun.com
10139N/A- remove hardcoded /opt/jds
10139N/A* Mon Jun 21 2004 - dermot.mccluskey@sun.com
10139N/A- add Java Instant Messanger .desktop files
19324N/A
19641N/A