gcjwebplugin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcjwebplugin-devel] Spec file for gcjwebplugin


From: Fridrich Strba
Subject: Re: [Gcjwebplugin-devel] Spec file for gcjwebplugin
Date: Fri, 05 May 2006 21:32:04 +0200
User-agent: Thunderbird 1.5 (X11/20060309)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry, incomplete patch. Here is another one that also includes the spec
file itself :-)

Cheers

Fridrich

Fridrich Strba wrote:
> Hello, since quite a lot of development is done on gcjwebplugin by late,
> I am asking whether you could not consider including this patch that
> allows to build an RPM for Fedora. The plug-in registers itself as
> alternative and can successfully alternate with the IBM and BEA java
> from RHEL extras.
> 
> Cheers
> 
> Fridrich
> 

- ------------------------------------------------------------------------

Index: Makefile.am
===================================================================
RCS file: /cvsroot/gcjwebplugin/gcjwebplugin/Makefile.am,v
retrieving revision 1.15
diff -u -r1.15 Makefile.am
- --- Makefile.am       20 Feb 2005 08:29:43 -0000      1.15
+++ Makefile.am 18 May 2005 14:43:12 -0000
@@ -225,6 +225,8 @@
        gcjappletviewer.jar

 EXTRA_DIST = \
+       gcjwebplugin.spec.in \
+       gcjwebplugin.spec \
        testsuite.at \
        testsuite \
        $(TESTFILES_A) \
Index: configure.ac
===================================================================
RCS file: /cvsroot/gcjwebplugin/gcjwebplugin/configure.ac,v
retrieving revision 1.52
diff -u -r1.52 configure.ac
- --- configure.ac      20 Feb 2005 08:29:43 -0000      1.52
+++ configure.ac        18 May 2005 14:43:13 -0000
@@ -54,6 +54,7 @@
 GCJWEBPLUGIN_CHECK_FEATURE_EMBEDDEDWINDOW

 AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([gcjwebplugin.spec])
 AC_CONFIG_FILES([src/gnu/gcjwebplugin/Configuration.java])
 if test "x${gcj_present}" != xyes -o "x${enable_native_viewer}" != xyes
 then


- ------------------------------------------------------------------------

_______________________________________________
Gcjwebplugin-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gcjwebplugin-devel

- --
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEW6g0u9a1imXPdA8RAoMTAJ4wPf0oiQLt5/2xmuSzVrItK8v1BACeKe8d
i5uD+oN3IcrNrl0lYuwRib0=
=EYfd
-----END PGP SIGNATURE-----
Index: Makefile.am
===================================================================
RCS file: /cvsroot/gcjwebplugin/gcjwebplugin/Makefile.am,v
retrieving revision 1.23
diff -u -r1.23 Makefile.am
--- Makefile.am 4 May 2006 09:18:02 -0000       1.23
+++ Makefile.am 5 May 2006 19:23:59 -0000
@@ -224,6 +224,8 @@
        gcjappletviewer.jar
 
 EXTRA_DIST = \
+       gcjwebplugin.spec.in \
+       gcjwebplugin.spec \
        testsuite.at \
        testsuite \
        $(TESTFILES_A) \
Index: configure.ac
===================================================================
RCS file: /cvsroot/gcjwebplugin/gcjwebplugin/configure.ac,v
retrieving revision 1.58
diff -u -r1.58 configure.ac
--- configure.ac        4 May 2006 09:18:02 -0000       1.58
+++ configure.ac        5 May 2006 19:23:59 -0000
@@ -58,6 +58,7 @@
 AC_DEFINE_UNQUOTED([PREFIX], ["$prefix"], [The configured prefix])
 
 AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([gcjwebplugin.spec])
 AC_CONFIG_FILES([src/gnu/gcjwebplugin/Configuration.java])
 AC_CONFIG_FILES([cfappletviewer:src/gcjappletviewer.in],[chmod +x 
cfappletviewer])
 AC_CONFIG_FILES([tests/atlocal])
--- /dev/null   2006-04-28 18:21:04.000000000 +0200
+++ gcjwebplugin.spec.in        2006-01-13 13:41:45.000000000 +0100
@@ -0,0 +1,67 @@
+%define priority 1420
+
+Summary: Plug-in for Mozilla and other web browsers to execute Java(tm) applets
+Name: gcjwebplugin
+Version: @VERSION@
+Release: 1
+License: GPL
+Group: Applications/Multimedia
+URL: http://www.nongnu.org/gcjwebplugin/
+
+Source: 
http://savannah.nongnu.org/download/gcjwebplugin/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: libgcj >= 3.4.0
+Requires: libgcj >= 3.4.0
+Requires: /usr/sbin/update-alternatives
+
+%description
+gcjwebplugin is a plug-in for Mozilla and other web browsers to
+execute Java(tm) applets.
+It depends on a free compiler and runtime which supports the
+GNU EmbbedWindow extension. Its included in Classpath 0.10 (and all derived
+runtimes including GCJ 3.4.0+). It should be usable with any webbrowser
+that allows to use a plugin for Applets. Konqueror has it's own mechanism and
+doesn't work with gcjwebplugin.
+
+%prep
+%setup
+
+%build
+%configure \
+       --prefix=%{_prefix} --with-plugin-dir=%{_libdir}/%{name} \
+        %{?_with_debug:--enable-debug}  \
+        %{?_with_systemmozilla:--enable-external-mozilla-includes}
+       
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install \
+       DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+update-alternatives \
+--install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so \
+%{_libdir}/%{name}/libgcjwebplugin.so %{priority}
+
+%postun
+if [ $1 -eq 0 ] ; then
+       update-alternatives \
+       --remove libjavaplugin.so %{_libdir}/%{name}/libgcjwebplugin.so
+fi
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS BUGS COPYING ChangeLog HACKING INSTALL LICENSE NEWS README TODO
+%{_bindir}/gcjappletviewer
+%{_libdir}/%{name}/libgcjwebplugin.so
+%{_mandir}/man1/gcjappletviewer.1*
+%{_datadir}/java/gcjappletviewer*.jar
+
+%changelog
+* Wed May 18 2005 Fridrich Strba <address@hidden>
+- Initial spec file

reply via email to

[Prev in Thread] Current Thread [Next in Thread]