packages: icedtea6/icedtea6.spec - browser-plugin-java-icedtea6 package (ja...
jajcus
jajcus at pld-linux.org
Thu Apr 15 16:10:26 CEST 2010
Author: jajcus Date: Thu Apr 15 14:10:26 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- browser-plugin-java-icedtea6 package (java included in the name so a user can find it)
---- Files affected:
packages/icedtea6:
icedtea6.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: packages/icedtea6/icedtea6.spec
diff -u packages/icedtea6/icedtea6.spec:1.17 packages/icedtea6/icedtea6.spec:1.18
--- packages/icedtea6/icedtea6.spec:1.17 Thu Apr 15 15:04:28 2010
+++ packages/icedtea6/icedtea6.spec Thu Apr 15 16:10:17 2010
@@ -237,6 +237,21 @@
Code examples OpenJDK runtime environment compiled using IcedTea6
tool-set.
+%package -n browser-plugin-java-%{name}
+Summary: IceTea Java plugin for WWW browsers
+Summary(pl.UTF-8): Wtyczka Javy do przeglądarek WWW
+Group: Development/Languages/Java
+Requires: %{name}-jre-X11 = %{version}-%{release}
+Requires: browser-plugins >= 2.0
+Requires: browser-plugins(%{_target_base_arch})
+
+%description -n browser-plugin-java-%{name}
+Java plugin for WWW browsers.
+
+%description -n browser-plugin-java-%{name} -l pl.UTF-8
+Wtyczka z obsługą Javy dla przeglądarek WWW.
+
+
%prep
%setup -q
@@ -321,6 +336,14 @@
rm -f $RPM_BUILD_ROOT%{dstdir}/{,jre/}{ASSEMBLY_EXCEPTION,LICENSE,THIRD_PARTY_README}
+%post -n browser-plugin-java-%{name}
+%update_browser_plugins
+
+%postun -n browser-plugin-java-%{name}
+if [ "$1" = 0 ]; then
+ %update_browser_plugins
+fi
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -650,12 +673,23 @@
%defattr(644,root,root,755)
%{_prefix}/src/%{name}-examples
+%if %{with plugin}
+%files -n browser-plugin-java-%{name}
+%attr(755,root,root) %{_bindir}/pluginappletviewer
+%attr(755,root,root) %{dstdir}/bin/pluginappletviewer
+%attr(755,root,root) %{jredir}/bin/pluginappletviewer
+%attr(755,root,root) %{jredir}/lib/%{jre_arch}/IcedTeaPlugin.so
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2010/04/15 14:10:17 jajcus
+- browser-plugin-java-icedtea6 package (java included in the name so a user can find it)
+
Revision 1.17 2010/04/15 13:04:28 jajcus
- don't try to set JAVA_HOME, icedtea6 works well without it, it seems
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/icedtea6/icedtea6.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list