--- /dev/null
+diff -ru eg-1.00.orig/eg.c eg-1.00/eg.c
+--- eg-1.00.orig/eg.c 2000-07-04 15:18:49.000000000 +0200
++++ eg-1.00/eg.c 2004-11-29 22:22:15.146705152 +0100
+@@ -174,24 +174,23 @@
+ uname( &utsn );
+
+ printf( "Expert Guide Version " EG_VERSION "\n\n"
+- "\
+- Expert Guide - A Text Mode Norton Guide Reader
+- Copyright (C) 1997,1998,1999,2000 David A Pearson
++
++ "Expert Guide - A Text Mode Norton Guide Reader\n"
++ "Copyright (C) 1997,1998,1999,2000 David A Pearson\n\n"
+
+- This program is free software; you can redistribute it and/or modify
+- it under the terms of the GNU General Public License as published by
+- the Free Software Foundation; either version 2 of the license, or
+- (at your option) any later version.
++ "This program is free software; you can redistribute it and/or modify\n"
++ "it under the terms of the GNU General Public License as published by\n"
++ "the Free Software Foundation; either version 2 of the license, or \n"
++ "(at your option) any later version.\n\n"
+
+- This program is distributed in the hope that it will be useful,
+- but WITHOUT ANY WARRANTY; without even the implied warranty of
+- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+- GNU General Public License for more details.
++ "This program is distributed in the hope that it will be useful,\n"
++ "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
++ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
++ "GNU General Public License for more details.\n"
+
+- You should have received a copy of the GNU General Public License
+- along with this program; if not, write to the Free Software
+- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+-\n" );
++ "You should have received a copy of the GNU General Public License\n"
++ "along with this program; if not, write to the Free Software\n"
++ "Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n\n");
+
+ printf( "System details:\n"
+ "\tSystem.......: %s %s\n"
--- /dev/null
+Summary: Norton Guide reader for GNU/Linux
+Summary(pl): Czytnik plików Norton Guide dla GNU/Linuxa
+Name: eg
+Version: 1.00
+Release: 1
+License: GPL
+Group: Applications
+Source0: http://www.davep.org/norton-guides/%{name}-%{version}.tar.gz
+# Source0-md5: 8c7a5b75fbc670edd01821e8bcc9297c
+Patch0: %{name}-gcc34.patch
+BuildRequires: slang-devel
+URL: http://www.davep.org/norton-guides/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+
+%description
+Expert Guide is a text based Norton Guide reader.
+
+%description -l pl
+Expert Guide jest tekstowym czytnikiem plików w formacie Norton Guide.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/norton-guides}
+
+install eg $RPM_BUILD_ROOT%{_bindir}
+install eg.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install default-guide/eg.ng $RPM_BUILD_ROOT%{_datadir}/norton-guides/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc BUGS Changes README TODO
+%attr(755,root,root) %{_bindir}/eg
+%{_mandir}/man1/*
+%{_datadir}/norton-guides