]> git.pld-linux.org Git - packages/eg.git/commitdiff
- initital version by Przemysław Białek <lobo@chello.pl> auto/ac/eg-1_00-1
authorundefine <undefine@pld-linux.org>
Tue, 30 Nov 2004 03:58:06 +0000 (03:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eg-gcc34.patch -> 1.1
    eg.spec -> 1.1

eg-gcc34.patch [new file with mode: 0644]
eg.spec [new file with mode: 0644]

diff --git a/eg-gcc34.patch b/eg-gcc34.patch
new file mode 100644 (file)
index 0000000..4bb4e02
--- /dev/null
@@ -0,0 +1,42 @@
+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"
diff --git a/eg.spec b/eg.spec
new file mode 100644 (file)
index 0000000..859e195
--- /dev/null
+++ b/eg.spec
@@ -0,0 +1,45 @@
+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
This page took 0.061261 seconds and 4 git commands to generate.