Hi,

I've synched netscape-alpha so it's now up-to-date with the x86 one.
What I've done is:
taken the x86 src.rpm, inserted alpha sources (the 2 big ones from
netscape), renamed the package and .spec file, modified the alpha
specific things (see .diff file between x86 and alpha netscape .spec
file). 

I beleive that in the future it should be possible to easily keep the
packaged synched (I'll volonteer for the alpha package, following
David's lead).

The only glitch in the package at the moment is the Requires - XFree86
>= 4.0, since that package doesn't build (yet) on the alpha. I installed the package 
>with a --nodeps, and it works (I tested it).

Please merge with cooker...

Thanks!!

Stefan

The src.rpm is in /incoming.
--- netscape.spec       Sat Aug 26 21:24:55 2000
+++ netscape-alpha.spec Sun Aug 27 09:26:49 2000
@@ -3,15 +3,15 @@
 %define vregver 4.75.0.20000814
 
 Summary:               Netscape tools, including a Web browser, news reader and 
e-mail client 
-Name:                  netscape
+Name:                  netscape-alpha
 Version:               4.75
 Release:               5mdk
 Copyright:             Commercial
 Group:                 Networking/WWW
 Packager:              David BAUDENS <[EMAIL PROTECTED]>
 
-Source0:               netscape-communicator-%{subver}-us.x86-unknown-linux2.2.tar.bz2
-Source1:               netscape-navigator-%{subver}-us.x86-unknown-linux2.2.tar.bz2
+Source0:               communicator-%{subver}-us.alpha-dec-osf4.0.tar.bz2
+Source1:               navigator-%{subver}-us.alpha-dec-osf4.0.tar.bz2
 Source4:               netscape-wrapper
 Source7:               netscape-keys.diff.bz2
 Source8:               navigator.menu
@@ -22,8 +22,8 @@
 Source21:              netscape-app-default
 
 Buildroot:             %{_tmppath}/%{name}-%{version}-root
-Exclusivearch:         i386 i486 i586 i686 k6 k7
-BuildRequires:         XFree86-devel xpm-devel
+Exclusivearch:         alpha
+BuildRequires:         XFree86-devel xpm-devel compat-Tru64
 Requires:              XFree86 >= 4.0
 
 %description
@@ -51,14 +51,14 @@
 the sole downloading of these software, to which customer and/or end user
 could eventually have access after installing this software.
 
-%package common
-Requires:      indexhtml, perl, mozilla-fonts >= 20000310-3mdk, urw-fonts, 
XFree86-75dpi-fonts, XFree86 >= 4.0
+%package -n netscape-common
+Requires:      indexhtml, perl, mozilla-fonts >= 20000310-3mdk, urw-fonts, 
+XFree86-75dpi-fonts, XFree86 >= 4.0, compat-Tru64
 Obsoletes:     nls, netscape-128-communicator <= %{version}-%{release}, 
netscape-128-navigator <= %{version}-%{release}, netscape-128-common <= 
%{version}-%{release}, flash <= 0.4.3-7mdk
 Conflicts:     netscape-communicator > %{version}-%{release}
 Summary:       Files shared by the Netscape Navigator and Communicator
 Group:         Networking/WWW
 
-%description common
+%description -n netscape-common
 This package contains the files that are shared between the
 Netscape Navigator Web browser and the Netscape Communicator
 suite of tools (the Navigator Web browser, an e-mail client,
@@ -86,13 +86,13 @@
 the sole downloading of these software, to which customer and/or end user
 could eventually have access after installing this software.
 
-%package communicator
+%package -n netscape-communicator
 Requires:      netscape-common = %{version}-%{release}
 Provides:      webclient, netscape4, netscape
 Summary:       Netscape tools, including a Web browser, news reader and e-mail client
 Group:         Networking/WWW
 
-%description communicator
+%description -n netscape-communicator
 Netscape Communicator is the industry-leading Web browser. It supports
 the latest HTML standards, Java, JavaScript and some style sheets.
 It also includes a full-featured Usenet news reader as well as a
@@ -120,13 +120,13 @@
 the sole downloading of these software, to which customer and/or end user
 could eventually have access after installing this software.
 
-%package navigator
+%package -n netscape-navigator
 Requires:      netscape-common = %{version}-%{release}
 Provides:      webclient, netscape4, netscape
 Summary:       The Netscape Navigator Web browser
 Group:         Networking/WWW
 
-%description navigator
+%description -n netscape-navigator
 Netscape Navigator is the industry-leading Web browser. It supports
 the latest HTML standards, Java, JavaScript and some style sheets.
 
@@ -219,27 +219,27 @@
 
 # Make rpmlint happy
 chmod 0755 $RPM_BUILD_ROOT/usr/lib/netscape/java/classes/hpux/*
-chmod 0755 $RPM_BUILD_ROOT/usr/lib/netscape/libjsd.so
+#chmod 0755 $RPM_BUILD_ROOT/usr/lib/netscape/libjsd.so
 chmod 0755 $RPM_BUILD_ROOT/usr/lib/netscape/plugins/libnullplugin.so
 chmod 0755 $RPM_BUILD_ROOT/usr/lib/netscape/plugins/cpPack1.jar
 chmod 0755 $RPM_BUILD_ROOT/usr/lib/netscape/netscape-communicator
 
 
-%post communicator
+%post -n netscape-communicator
 /sbin/ldconfig
 %{update_menus}
 
-%postun communicator
+%postun -n netscape-communicator
 /sbin/ldconfig
 %{clean_menus}
 
-%post navigator
+%post -n netscape-navigator
 %{update_menus}
 
-%postun navigator
+%postun -n netscape-navigator
 %{clean_menus}
 
-%post common
+%post -n netscape-common
 if [ -x /usr/sbin/chkfontpath ]; then
    if [ -d /usr/X11R6/lib/X11/fonts/75dpi ]; then
       /usr/sbin/chkfontpath --list | grep /usr/X11R6/lib/X11/fonts/75dpi | \
@@ -250,7 +250,7 @@
 %clean
 rm -fr $RPM_BUILD_ROOT
 
-%files common
+%files -n netscape-common
 %defattr(-,root,root,-)
 %config /etc/X11/app-defaults/Netscape
 %doc README LICENSE Netscape.ad
@@ -260,7 +260,7 @@
 /usr/lib/netscape/java
 # rplint is not happy (shared-lib-without-dependency-information) but we can't
 # do nothing
-/usr/lib/netscape/libjsd.so
+#/usr/lib/netscape/libjsd.so
 ## Stability patch
 # /usr/lib/netscape/libnspipepatch.so
 
@@ -282,7 +282,7 @@
 /usr/share/icons/*xpm
 
 ###################
-%files navigator
+%files -n netscape-navigator
 %defattr(-,root,root)
 /usr/bin/netscape-navigator
 /usr/lib/netscape/netscape-navigator
@@ -291,11 +291,12 @@
 
 
 ###################
-%files communicator
+%files -n netscape-communicator
 %defattr(-,root,root)
 /usr/bin/netscape-communicator
 /usr/lib/netscape/netscape-communicator
 /usr/lib/menu/communicator*
+
 
 %changelog
 * Sat Aug 26 2000 David BAUDENS <[EMAIL PROTECTED]> 4.75-5mdk

Reply via email to