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