On Sun, Jan 20, 2002 at 08:43:29AM -0500, Neil wrote:
> Greetings-
> I have RH 7.2 and would like to install Arachne 1.66b.  I downloaded the
> file to my home directory and unzipped it.  I did tar and then cd.  Then
> I su to root and typed ./install.  I get the message:
> "Welcome to installation....This version requires libc-2.1 based
> system....(if you don't store in in /lib directory ......) Arachne was
> not installed."
> I checked to see if I had libc-2.1 and I see I have 2.2??, which I
> thought would be fine.  Any advice?  Why don't you do a ./configure
> before the install?

Hi!
You know, ./install is OpenSource, so you can improve it.

Here is arachne.spec file for arachne-1.66b.

$ cat > arachne.spec << END_OF_SPEC
Summary:        Arachne - web browser
Summary(es):    Navegador de Internet Arachne
Summary(pl):    Arachne - przeglądarka WWW
Summary(pt_BR): Navegador Arachne
Name:           arachne
Version:        1.66b
Release:        1
License:        distributable
Group:          Applications/Networking
Group(de):      Applikationen/Netzwerkwesen
Group(pl):      Aplikacje/Sieciowe
Source0:        arachne-1.66b.tar.gz
URL:            http://www.arachne.cz
Requires:       svgalib >= 1.4
Requires:       glibc >= 2.1
Requires:       libggi >= 2.0
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ExclusiveOS:    Linux
ExclusiveArch:  %{ix86}


%description
To write ...

%description -l pl
Do napisania ...

%prep
%setup -q

%build

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,\
%{_datadir}/arachne/{templates,iso-8859-1/codepage,iso-8859-2/codepage,\
gui,ikons},/usr/doc}

install bin/* $RPM_BUILD_ROOT%{_bindir}
install share/arachne/arachne-install $RPM_BUILD_ROOT%{_bindir}
install man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
cp -r share/arachne/* $RPM_BUILD_ROOT%{_datadir}/arachne

ln -sf %{_docdir}/arachne-%{version} $RPM_BUILD_ROOT/usr/doc/arachne


cat > $RPM_BUILD_ROOT%{_bindir}/arachne << EOF
#!/bin/sh
if [ "$TERM" = "linux" ]
then
/usr/bin/arachne-svgalib $@
else
/usr/bin/arachne-ggi $@
fi

EOF

%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
/usr/doc/arachne
%doc doc/arachne/*
%dir %{_datadir}/arachne
%{_datadir}/arachne/*

%clean
rm -rf $RPM_BUILD_ROOT

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld.org.pl

$Log:$

END_OF_SPEC


You need cut and paste it into arachne.spec.
Copy arachne.spec to directory with SPECS.
In RedHat it is surely /usr/src/RPMS/SPECS .
Copy arachne-1.66b.tar.gz to /usr/src/RPMS/SOURCES and then
$ cd /usr/src/RPMS/SPECS
$ rpm -bb arachne.spec

And if everything goes fine you will get arachne-1.66b-1.*.rpm somewhere.


BTW, I recommend you using PLD
http://ftp.pld.org.pl
PLD is quite good Linux distro now
and it is getting better and better every day.

Witold Filipczyk

Reply via email to