Adding apoc spec files
authorghiggins
Mon, 21 Jun 2004 13:46:20 +0000
changeset 3173 fce529be6620
parent 3172 87f64aacc334
child 3174 128f6605df7d
Adding apoc spec files
Solaris/SUNWapcj.spec
Solaris/SUNWapcli.spec
Solaris/SUNWapdc.spec
Solaris/SUNWapg26.spec
Solaris/SUNWapm.spec
Solaris/SUNWapmca.spec
Solaris/SUNWapmev.spec
Solaris/SUNWapmgo.spec
Solaris/SUNWapmmo.spec
Solaris/SUNWapmso.spec
Solaris/SUNWapoc.spec
apoc-adapter-java.spec
apoc-agent-templates.spec
apoc-cli.spec
apoc-config.spec
apoc-evolution-templates.spec
apoc-gnome-templates.spec
apoc-gnome26-templates.spec
apoc-manager.spec
apoc-mozilla-templates.spec
apoc-staroffice-templates.spec
apoc.spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapcj.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,52 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name:			SUNWapcj
+License:		Sun Microsystems Binary Code License (BCL)
+Group:			User Interface/Desktops
+Version:		0.1
+Distribution:	Cinnabar
+Vendor:			Sun Microsystems, Inc.
+Summary:		Java Preferences Adapter for Configuration Manager
+URL:			http://www.sun.com
+Autoreqprov:	off
+BuildRoot:		%{_builddir}/apoc/%{PLATFORM}/class/apocjava_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:       SUNWapoc
+SUNW_BaseDir:	/opt
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description
+Sun Java[tm] Desktop System Configuration Manager Java Preferences Adapter
+
+%files
+%defattr(-, root, root)
+/opt/SUNWapcj/lib/apocprefs.jar
+/opt/SUNWapcj/lib/libapoc_java.so
+/opt/SUNWapcj/bin/apocjlaunch
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-adapter-java
+
+%changelog
+*Thu Apr 01 2004 Cyrille Moureaux <[email protected]>
+	Version 0.1-1
+	Initial package
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapcli.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,48 @@
+#
+# Copyright (c) 2004 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name:           SUNWapcli
+Group:          Applications/Internet 
+Version:        1.1
+Distribution:   Cinnabar
+Vendor:         Sun Microsystems Inc.
+License:        Sun Microsystems Binary Code License (BCL)
+URL:            http://staroffice-doc.germany.sun.com/Projects/Apoc
+Autoreqprov:    on
+Packager:       Klaus Ruehl <[email protected]>
+Summary:        CLI for APOC 
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/apoc_cli_pkg
+Source:			apoc-0.1.tar.bz2
+SUNW_BaseDir:	/opt
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description 
+CLI for APOC
+Property of Sun Microsystems Inc., 2004
+
+
+%files 
+%defattr (0555, root, root)
+/opt/SUNWapcli
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-cli
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapdc.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,64 @@
+#
+# Copyright (c) 2004 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name:           SUNWapdc
+Group:          Applications/Internet 
+Version:        1.1
+Distribution:   Cinnabar
+Vendor:         Sun Microsystems Inc.
+License:        Sun Microsystems Binary Code License (BCL)
+URL:            http://staroffice-doc.germany.sun.com/Projects/Apoc
+Autoreqprov:    on
+Packager:       Klaus Ruehl <[email protected]>
+Summary:        Configuration wizard for APOC daemon
+Requires:		SUNWapoc
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/apocd_configuration_pkg
+Source:			apoc-0.1.tar.bz2
+SUNW_BaseDir:	/opt
+SUNW_ProdName:	Sun Java(tm) Desktop System
+SUNW_ProdVers:	2
+
+%description 
+Configuration wizard for APOC daemon
+Property of Sun Microsystems Inc., 2004
+
+%post 
+echo
+echo "Use the '"apoc-config"' script to startup the wizard."
+echo "The script can be found at '"/opt/SUNWapoc/bin"'."
+echo
+
+%files 
+%dir %attr(0755,root, bin) /opt/jds
+%dir %attr(0755,root, sys) /opt/jds/etc
+%dir %attr(0755,root, other) /opt/jds/etc/X11
+%dir %attr(0755,root, other) /opt/jds/etc/X11/sysconfig
+%attr(0444,root,root) /opt/jds/etc/X11/sysconfig/apoc.desktop
+%dir %attr(0755,root,other) /opt/SUNWapoc
+%dir %attr(0755,root,other) /opt/SUNWapoc/bin
+%dir %attr(0755,root,other) /opt/SUNWapoc/lib
+%attr(0555,root,root) /opt/SUNWapoc/bin/apoc-config
+%attr(0444,root,root) /opt/SUNWapoc/lib/ConfigurationWizard.class
+%attr(0555,root,root) /opt/SUNWapoc/lib/com
+
+%prep
+%setup -n apoc
+
+%build
+export DISPLAY=
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-config
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapg26.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,62 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name: 		    SUNWapg26
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/Gnome2.6_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:		SUNWapm
+SUNW_BaseDir:	/usr
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description 
+Version 1.1 of the Evolution templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%dir %attr(0755,root,sys) /usr/share
+%dir %attr(0755,root,bin) /usr/share/webconsole
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-gnome26-templates
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapm.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,71 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name:           SUNWapm
+Group:          Applications/Internet 
+Version:        1.1
+Distribution:   Cinnabar
+Vendor:         Sun Microsystems Inc.
+License:        Sun Microsystems Binary Code License (BCL)
+URL:            http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:    on
+Packager:       Klaus Ruehl <[email protected]>
+Summary:        APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/apoc_manager_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:		SUNWmcon	
+SUNW_BaseDir:	/usr
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description 
+Version 1.1 of the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Use the '"configure"' script to adapt the configuration settings of the APOC Manager."
+echo "The script can be found at '"/usr/share/webconsole/apoc"'."
+echo
+
+
+%preun
+# Unregister APOC Manager application
+/usr/sbin/smreg remove -a com.sun.apoc.manager_1.0
+
+# Unregister LDAP login module
+/usr/sbin/smreg remove -m com.sun.apoc.authentication.LdapLoginModule;
+/usr/sbin/smreg remove -l -s ALL LdapLoginModule.jar;
+
+# Delete policymgr config file
+rm /usr/share/webconsole/apoc/WEB-INF/policymgr.cfg
+
+# Restart Lockhart server
+/usr/sbin/smcwebserver restart
+
+%files 
+%dir %attr( 0755, root, sys ) /usr/share
+%dir %attr( 0755, root, bin ) /usr/share/webconsole
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-manager
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapmca.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,62 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name: 		    SUNWapmca
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/ConfigurationAgent_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:		SUNWapm
+SUNW_BaseDir:	/usr
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description 
+Version 1.1 of the Evolution templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%dir %attr(0755,root,sys) /usr/share
+%dir %attr(0755,root,bin) /usr/share/webconsole
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-agent-templates
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapmev.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,62 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name: 		    SUNWapmev
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/Evolution1.4_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:		SUNWapm
+SUNW_BaseDir:	/usr
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description 
+Version 1.1 of the Evolution templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%dir %attr(0755,root,sys) /usr/share
+%dir %attr(0755,root,bin) /usr/share/webconsole
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-evolution-templates
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapmgo.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,62 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name: 		    SUNWapmgo
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/Gnome2.2.1_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:		SUNWapm
+SUNW_BaseDir:	/usr
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description 
+Version 1.1 of the Evolution templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%dir %attr(0755,root,sys) /usr/share
+%dir %attr(0755,root,bin) /usr/share/webconsole
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-gnome-templates
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapmmo.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,62 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name: 		    SUNWapmmo
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/Mozilla1.4_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:		SUNWapm
+SUNW_BaseDir:	/usr
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description 
+Version 1.1 of the Evolution templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%dir %attr(0755,root,sys) /usr/share
+%dir %attr(0755,root,bin) /usr/share/webconsole
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-mozilla-templates
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapmso.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,62 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name: 		    SUNWapmso
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/StarOffice7_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:		SUNWapm
+SUNW_BaseDir:	/usr
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description 
+Version 1.1 of the Evolution templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%dir %attr(0755,root,sys) /usr/share
+%dir %attr(0755,root,bin) /usr/share/webconsole
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc-staroffice-templates
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWapoc.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,177 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch sparc
+%define PLATFORM unxsols4
+%else
+%define PLATFORM unxsoli4
+%endif
+
+Name:			SUNWapoc
+License:		Sun Microsystems Binary Code License (BCL)
+Group:			User Interface/Desktops
+Version:		1.0
+Distribution:	Cinnabar
+Vendor:			Sun Microsystems, Inc.
+Summary:		Configuration Agent
+URL:			http://sundt.sfbay.sun.com
+Autoreqprov:	off
+BuildRoot:		%{_builddir}/apoc/%{PLATFORM}/class/apocd_pkg
+Source:			apoc-0.1.tar.bz2
+Requires:		SUNWlxml
+Requires:		SUNWgss
+SUNW_ProdName:	Sun Java(tm) Desktop System 
+SUNW_ProdVers:	2
+
+%description
+Sun Java[tm] Desktop System Configuration Agent
+
+%post
+rm -rf /var/opt/SUNWapoc
+
+grep -v apocd /etc/services > /tmp/services
+cp /tmp/services /etc/services
+rm -f /tmp/services
+echo "apocd		38900/udp" >> /etc/services
+
+%preun
+grep -v apocd /etc/services > /tmp/services
+cp /tmp/services /etc/services
+rm -f /tmp/services
+
+/opt/SUNWapoc/bin/apocd disable
+
+%files
+%defattr(0644, root, other)
+%dir %attr(0755,root,sys) /opt
+%dir %attr(0755,root,other) /opt/SUNWapoc
+%dir %attr(0755,root,other) /opt/SUNWapoc/bin
+%dir %attr(0755,root,other) /opt/SUNWapoc/lib
+%attr(0744,root,other) /opt/SUNWapoc/bin/apocd
+/opt/SUNWapoc/lib/apocd.jar
+%config /opt/SUNWapoc/lib/apocd.properties
+/opt/SUNWapoc/lib/db.jar
+/opt/SUNWapoc/lib/ldapjdk.jar
+/opt/SUNWapoc/lib/libFileAccess.so
+/opt/SUNWapoc/lib/libdb_java-3.2.so
+%config /opt/SUNWapoc/lib/os.properties
+/opt/SUNWapoc/lib/policymgr.jar
+%config %attr(0600,root,other) /opt/SUNWapoc/lib/policymgr.properties
+%dir %attr(0755,root,sys) /usr
+%dir %attr(0755,root,bin) /usr/lib
+/usr/lib/libapoc.so
+/usr/lib/libdb-3.2.so
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/j2se
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} apoc 
+
+%changelog
+*Mon May 31 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 1.0-0
+	Changes relating to inetd enabled startup
+
+*Tue May 04 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-26
+	Reverting to "inetd enabled install"
+
+*Tue Apr 27 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-25
+	Merging apocd, apocdctl & setenv.sh into apocd
+
+*Mon Apr 26 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-24
+	Including os.properties in apocd.jar to provide correct default
+
+*Thu Apr 15 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-23
+	Turning off Autoreqprov
+
+*Tue Apr 13 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0-1-22
+	Changing name of libapi.so to libapoc.so
+
+*Fri Feb 20 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-20
+	Performance improvements
+
+*Mon Feb 16 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-19
+	Increasing MaxRequestSize to support larger Active Directory tokens
+
+*Mon Feb 11 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-18
+	papi reconnection & GSSAPI/Active Directory support
+
+*Mon Feb 9 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-17
+	ServiceName & ServiceContainer no longer configurable
+
+*Wed Feb 4 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-16
+	Don't overwrite properties files
+
+*Mon Feb 2 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-15
+	Change detection timers
+
+*Fri Jan 30 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-14
+	Exception logging, timers etc.
+
+*Mon Jan 19 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-13
+	Add argument for inetd start
+
+*Tue Jan 13 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-12
+	And back to inetd again
+
+*Mon Dec 22 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-11
+	Switching from inetd to init
+
+*Fri Dec 19 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-10
+	Changing policymgr.properties permissions
+
+*Mon Dec 1 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-9
+	Update license
+
+*Thu Nov 27 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-8
+	Fix for 4960347
+
+*Tue Nov 20 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-7
+	Moving back to berkeley db 4 due to incompatability with StarOffice
+
+*Tue Nov 18 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-6
+	YaST modules moved to seperate rpm
+
+*Fri Nov 14 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-5
+	Moving to berkeley db version 4
+
+*Wed Nov 12 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-4
+	Fix for 4952794
+
+*Thu Nov 6 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-2
+	Feature complete apocd
+
+*Fri Jul 11 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-1
+	Initial apocd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-adapter-java.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,48 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name:			apoc-adapter-java
+License:		Sun Microsystems Binary Code License (BCL)
+Group:			User Interface/Desktops
+Version:		0.1
+Release:		1
+Distribution:	Cinnabar
+Vendor:			Sun Microsystems, Inc.
+Summary:		Java Preferences Adapter for Configuration Manager
+URL:			http://www.sun.com
+Autoreqprov:	off
+BuildRoot:		%{_builddir}/apoc/%{PLATFORM}/class/apocjava_pkg
+Source:			apoc-0.1.tar.bz2
+
+Requires:       apoc
+
+%description
+Sun Java[tm] Desktop System Configuration Manager Java Preferences Adapter
+
+%files
+%defattr(-, root, root)
+/opt/apocjava/lib/apocprefs.jar
+/opt/apocjava/lib/libapoc_java.so
+/opt/apocjava/bin/apocjlaunch
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
+*Thu Apr 01 2004 Cyrille Moureaux <[email protected]>
+	Version 0.1-1
+	Initial package
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-agent-templates.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,54 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name: 		    apoc-agent-templates
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Release: 	    8
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/ConfigurationAgent_pkg
+Source:			apoc-0.1.tar.bz2
+
+%description 
+Version 1.1 of the Evolution templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-cli.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,43 @@
+#
+# Copyright (c) 2004 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name:           apoc-cli
+Group:          Applications/Internet 
+Version:        1.0
+Release:        2
+Distribution:   Cinnabar
+Vendor:         Sun Microsystems Inc.
+License:        Sun Microsystems Binary Code License (BCL)
+URL:            http://staroffice-doc.germany.sun.com/Projects/Apoc
+Autoreqprov:    on
+Packager:       Klaus Ruehl <[email protected]>
+Summary:        CLI for APOC 
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/apoc_cli_pkg
+Source:			apoc-0.1.tar.bz2
+
+%description 
+CLI for APOC
+Property of Sun Microsystems Inc., 2004
+
+
+%files 
+%defattr (0555, root, root)
+/opt/apoc-cli
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-config.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,62 @@
+#
+# Copyright (c) 2004 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name:           apoc-config
+Group:          Applications/Internet 
+Version:        1.1
+Release:        6
+Distribution:   Cinnabar
+Vendor:         Sun Microsystems Inc.
+License:        Sun Microsystems Binary Code License (BCL)
+URL:            http://staroffice-doc.germany.sun.com/Projects/Apoc
+Autoreqprov:    on
+Packager:       Klaus Ruehl <[email protected]>
+Summary:        Configuration wizard for APOC daemon
+Requires:		apoc
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/apocd_configuration_pkg
+Source:			apoc-0.1.tar.bz2
+
+%description 
+Configuration wizard for APOC daemon
+Property of Sun Microsystems Inc., 2004
+
+%post 
+if [ ! -r /usr/sbin/apoc-config ]; then
+    ln -s /opt/apoc/bin/apoc-config /usr/sbin/apoc-config
+fi
+if [ ! -r /usr/bin/apoc-config ]; then    
+    ln -s /usr/bin/consolehelper /usr/bin/apoc-config
+fi
+
+%postun
+if [ $1 = 0 ]; then
+    rm /usr/bin/apoc-config
+    rm /usr/sbin/apoc-config
+fi
+
+
+%files 
+%attr(0444,root,root) /etc/X11/sysconfig/apoc.desktop
+%attr(0555,root,root) /opt/apoc/bin/apoc-config
+%attr(0444,root,root) /opt/apoc/lib/ConfigurationWizard.class
+%attr(0555,root,root) /opt/apoc/lib/com
+%attr(0444,root,root) /etc/security/console.apps/apoc-config
+%attr(0444,root,root) /etc/pam.d/apoc-config
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-evolution-templates.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,54 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name: 		    apoc-evolution-templates
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Release: 	    5
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/Evolution1.4_pkg
+Source:			apoc-0.1.tar.bz2
+
+%description 
+Version 1.1 of the Evolution templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-gnome-templates.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,54 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name: 		    apoc-gnome-templates
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Release: 	    5
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Gnome templates
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/Gnome2.2.1_pkg
+Source:			apoc-0.1.tar.bz2	
+
+%description 
+Version 1.1 of the Gnome templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-gnome26-templates.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,54 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name: 		    apoc-gnome26-templates
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Release: 	    8
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Gnome 2.6 templates
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/Gnome2.6_pkg
+Source:			apoc-0.1.tar.bz2
+
+%description 
+Version 1.1 of the Gnome templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-manager.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,68 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name:           apoc-manager
+Group:          Applications/Internet 
+Version:        1.1
+Release:        6
+Distribution:   Cinnabar
+Vendor:         Sun Microsystems Inc.
+License:        Sun Microsystems Binary Code License (BCL)
+URL:            http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:    on
+Packager:       Klaus Ruehl <[email protected]>
+Summary:        APOC Manager
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/apoc_manager_pkg
+Source:			apoc-0.1.tar.bz2
+
+
+%description 
+Version 1.1 of the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+if [ $1 = 1 ]; then
+    echo
+    echo "Use the '"configure"' script to adapt the configuration settings of the APOC Manager." 
+    echo "The script can be found at '"/usr/share/webconsole/apoc"'."
+    echo 
+fi
+
+
+%postun
+if [ $1 = 0 ]; then
+    # Unregister APOC Manager application 
+    /usr/sbin/smreg remove -a com.sun.apoc.manager_1.0
+    
+    # Unregister LDAP login module
+    /usr/sbin/smreg remove -m com.sun.apoc.authentication.LdapLoginModule;
+    /usr/sbin/smreg remove -l -s ALL LdapLoginModule.jar;
+    
+    # Delete policymgr config file
+    rm /usr/share/webconsole/apoc/WEB-INF/policymgr.cfg
+    
+    # Restart Lockhart server
+    /usr/sbin/smcwebserver restart
+fi
+
+%files 
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-mozilla-templates.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,54 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name: 		    apoc-mozilla-templates
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Release: 	    5
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC Mozilla templates
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/Mozilla1.4_pkg
+Source:			apoc-0.1.tar.bz2
+
+%description 
+Version 1.1 of the Mozilla templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%files 
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc-staroffice-templates.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,54 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name: 		    apoc-staroffice-templates
+Group: 		    Applications/Internet 
+Version: 	    1.1
+Release: 	    8
+Distribution: 	Cinnabar
+Vendor: 	    Sun Microsystems Inc.
+License: 	    Sun Microsystems Binary Code License (BCL)
+URL: 		    http://staroffice-doc.germany.sun.com/Projects/Mercury/Apoc
+Autoreqprov:  	on
+Packager: 	    Klaus Ruehl <[email protected]>
+Summary: 	    APOC StarOffice templates
+BuildRoot:      %{_builddir}/apoc/%{PLATFORM}/class/StarOffice7_pkg
+Source:			apoc-0.1.tar.bz2
+
+%description 
+Version 1.1 of the StarOffice templates for the APOC Manager.
+Property of Sun Microsystems Inc., 2003
+
+%post 
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo
+
+%postun
+echo
+echo "Changes are taking effect after restarting the Sun Web Console." 
+echo "Use '"smcwebserver restart"' to restart the console."
+echo 
+
+%files 
+%defattr (0744, noaccess, noaccess)
+/usr/share/webconsole/apoc/packages
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apoc.spec	Mon Jun 21 13:46:20 2004 +0000
@@ -0,0 +1,171 @@
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%define PLATFORM unxlngi5
+
+Name:			apoc
+License:		Sun Microsystems Binary Code License (BCL)
+Group:			User Interface/Desktops
+Version:		1.0
+Release:		0
+Distribution:	Cinnabar
+Vendor:			Sun Microsystems, Inc.
+Summary:		Configuration Agent
+URL:			http://sundt.sfbay.sun.com
+Autoreqprov:	off
+PreReq:         inetd
+BuildRoot:		%{_builddir}/apoc/%{PLATFORM}/class/apocd_pkg
+Source:			apoc-0.1.tar.bz2
+
+%description
+Sun Java[tm] Desktop System Configuration Agent
+
+%post
+rm -rf /var/opt/apoc
+
+grep -v apocd /etc/services > /tmp/services
+cp /tmp/services /etc/services
+rm -f /tmp/services
+echo "apocd		38900/udp" >> /etc/services
+
+%preun
+if [ $1 -eq 0 ]; then
+	grep -v apocd /etc/services > /tmp/services
+	cp /tmp/services /etc/services
+	rm -f /tmp/services
+
+	/opt/apoc/bin/apocd disable
+fi
+
+%files
+%defattr(0644, root, root)
+%dir %attr(0755,root,root) /opt/apoc
+%dir %attr(0755,root,root) /opt/apoc/bin
+%dir %attr(0755,root,root) /opt/apoc/lib
+%attr(0744,root,other) /opt/apoc/bin/apocd
+/opt/apoc/lib/apocd.jar
+%config /opt/apoc/lib/apocd.properties
+/opt/apoc/lib/db.jar
+/opt/apoc/lib/ldapjdk.jar
+/opt/apoc/lib/libFileAccess.so
+/opt/apoc/lib/libdb_java-3.2.so
+%config /opt/apoc/lib/os.properties
+/opt/apoc/lib/policymgr.jar
+%config %attr(0600,root,other) /opt/apoc/lib/policymgr.properties
+/usr/lib/libapoc.so
+/usr/lib/libdb-3.2.so
+
+%prep
+%setup -n apoc
+
+%build
+export JAVA_HOME=/usr/java/j2sdk1.4.2_05
+export PATH=${JAVA_HOME}/bin:$PATH
+make PLATFORM=%{PLATFORM} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
+*Mon May 31 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 1.0-0
+	Changes relating to inetd enabled startup
+
+*Tue May 04 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-26
+	Reverting to "inetd enabled install"
+
+*Tue Apr 27 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-25
+	Merging apocd, apocdctl & setenv.sh into apocd
+
+*Mon Apr 26 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-24
+	Including os.properties in apocd.jar to provide correct default
+
+*Thu Apr 15 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-23
+	Turning off Autoreqprov
+
+*Tue Apr 13 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0-1-22
+	Changing name of libapi.so to libapoc.so
+
+*Fri Feb 20 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-20
+	Performance improvements
+
+*Mon Feb 16 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-19
+	Increasing MaxRequestSize to support larger Active Directory tokens
+
+*Mon Feb 11 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-18
+	papi reconnection & GSSAPI/Active Directory support
+
+*Mon Feb 9 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-17
+	ServiceName & ServiceContainer no longer configurable
+
+*Wed Feb 4 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-16
+	Don't overwrite properties files
+
+*Mon Feb 2 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-15
+	Change detection timers
+
+*Fri Jan 30 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-14
+	Exception logging, timers etc.
+
+*Mon Jan 19 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-13
+	Add argument for inetd start
+
+*Tue Jan 13 2004 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-12
+	And back to inetd again
+
+*Mon Dec 22 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-11
+	Switching from inetd to init
+
+*Fri Dec 19 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-10
+	Changing policymgr.properties permissions
+
+*Mon Dec 1 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-9
+	Update license
+
+*Thu Nov 27 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-8
+	Fix for 4960347
+
+*Tue Nov 20 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-7
+	Moving back to berkeley db 4 due to incompatability with StarOffice
+
+*Tue Nov 18 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-6
+	YaST modules moved to seperate rpm
+
+*Fri Nov 14 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-5
+	Moving to berkeley db version 4
+
+*Wed Nov 12 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-4
+	Fix for 4952794
+
+*Thu Nov 6 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-2
+	Feature complete apocd
+
+*Fri Jul 11 2003 Geoff Higgins <geoff.higgins@@sun.com>
+	Version 0.1-1
+	Initial apocd