Nowy spec - Expert Guide

Przemysław Białek lobo w chello.pl
Pon, 29 Lis 2004, 23:17:32 CET


Witam!

Skrobnąłem właśnie małego speca z programem Expert Guide. Jest to
konsolowy czytnik dokumentacji w formacie Norton Guide. Program już
chyba od dawna nie jest rozwijany, ale może komuś się przyda.

Ps. Jakby ktoś znał bardziej rozbudowany program tego typu pod konsolę,
to byłbym wdzięczny za linka.

-- 
Pozdrawiam
Przemysław Białek
-------------- następna część ---------
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"
-------------- następna część ---------
# $Revision:$, $Date:$
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


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

$Log:$


Więcej informacji o liście dyskusyjnej pld-devel-pl