OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 07-Jul-2003 16:04:32 Branch: HEAD Handle: 2003070715043002 Added files: openpkg-src/m4 m4.1 Modified files: openpkg-src/m4 m4.spec openpkg-web news.txt Log: use fixed man-page to avoid dependency to perl Summary: Revision Changes Path 1.1 +122 -0 openpkg-src/m4/m4.1 1.22 +9 -5 openpkg-src/m4/m4.spec 1.5426 +1 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/m4/m4.1 ============================================================================ $ cvs diff -u -r0 -r1.1 m4.1 --- /dev/null 2003-07-07 16:04:32.000000000 +0200 +++ m4.1 2003-07-07 16:04:32.000000000 +0200 @@ -0,0 +1,122 @@ +.TH M4 1 "May 2003" "GNU m4 1.4o" "GNU User's Manual" +.SH NAME +m4 \- short documentation for m4 1.4o +.SH SYNOPSIS +.B m4 +[\fIOPTION\fR]...\fI \fR[\fIFILE\fR]...\fI\fR +.SH DESCRITION +.PP +Mandatory or optional arguments to long options are mandatory or optional +for short options too. +.SS "Operation modes:" +.TP +\fB\-\-help\fR +display this help and exit +.TP +\fB\-\-version\fR +output version information and exit +.TP +\fB\-e\fR, \fB\-\-interactive\fR +unbuffer output, ignore interrupts +.TP +\fB\-E\fR, \fB\-\-fatal\-warnings\fR +stop execution after first warning +.TP +\fB\-Q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR +suppress some warnings for builtins +.TP +\fB\-P\fR, \fB\-\-prefix\-builtins\fR +force a `m4_' prefix to all builtins +.SS "Preprocessor features:" +.TP +\fB\-I\fR, \fB\-\-include\fR=\fIDIRECTORY\fR +search this directory second for includes +.TP +\fB\-D\fR, \fB\-\-define=NAME\fR[=\fIVALUE\fR] +enter NAME has having VALUE, or empty +.TP +\fB\-U\fR, \fB\-\-undefine\fR=\fINAME\fR +delete builtin NAME +.TP +\fB\-s\fR, \fB\-\-synclines\fR +generate `#line NO "FILE"' lines +.SS "Limits control:" +.TP +\fB\-G\fR, \fB\-\-traditional\fR +suppress all GNU extensions +.TP +\fB\-H\fR, \fB\-\-hashsize\fR=\fIPRIME\fR +set symbol lookup hash table size +.TP +\fB\-L\fR, \fB\-\-nesting\-limit\fR=\fINUMBER\fR +change artificial nesting limit +.SS "Frozen state files:" +.TP +\fB\-F\fR, \fB\-\-freeze\-state\fR=\fIFILE\fR +produce a frozen state on FILE at end +.TP +\fB\-R\fR, \fB\-\-reload\-state\fR=\fIFILE\fR +reload a frozen state from FILE at start +.SS "Debugging:" +.TP +\fB\-d\fR, \fB\-\-debug\fR=\fI[FLAGS]\fR +set debug level (no FLAGS implies `aeq') +.TP +\fB\-t\fR, \fB\-\-trace\fR=\fINAME\fR +trace NAME when it will be defined +.TP +\fB\-l\fR, \fB\-\-arglength\fR=\fINUM\fR +restrict macro tracing size +.TP +\fB\-o\fR, \fB\-\-error\-output\fR=\fIFILE\fR +redirect debug and trace output +.SS "FLAGS is any of:" +.TP +t +trace for all macro calls, not only traceon'ed +.TP +a +show actual arguments +.TP +e +show expansion +.TP +q +quote values as necessary, with a or e flag +.TP +c +show before collect, after collect and after call +.TP +x +add a unique macro call id, useful with c flag +.TP +f +say current input file name +.TP +l +say current input line number +.TP +p +show results of path searches +.TP +i +show changes in input files +.TP +V +shorthand for all of the above flags +.PP +If no FILE or if FILE is `-', standard input is read. +.SH BUGS +Report bugs to <[EMAIL PROTECTED]>. +.SH SEE ALSO +The full documentation for +.B m4 +is maintained as a Texinfo manual. If the +.B info +and +.B m4 +programs are properly installed at your site, the command +.IP +.B info m4 +.PP +should allow you to access the manual as an hypertext. @@ . patch -p0 <<'@@ .' Index: openpkg-src/m4/m4.spec ============================================================================ $ cvs diff -u -r1.21 -r1.22 m4.spec --- openpkg-src/m4/m4.spec 3 Jan 2003 10:53:13 -0000 1.21 +++ openpkg-src/m4/m4.spec 7 Jul 2003 14:04:32 -0000 1.22 @@ -33,15 +33,16 @@ Group: Language License: GPL Version: 1.4o -Release: 20020206 +Release: 20030707 # list of sources Source0: ftp://ftp.seindal.dk/pub/rene/gnu/m4-%{version}.tar.gz +Source1: m4.1 # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20020206, make, perl +BuildPreReq: OpenPKG, openpkg >= 20020206, make PreReq: OpenPKG, openpkg >= 20020206 AutoReq: no AutoReqProv: no @@ -56,11 +57,11 @@ %prep %setup -q + %{l_shtool} subst \ + -e 's;/\(man_MANS =\).*;\1;' \ + doc/Makefile.in %build - %{l_shtool} subst -v \ - -e "s;/usr/bin/perl;%{l_prefix}/bin/perl;g" \ - doc/helptoman.pl CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ ./configure \ @@ -71,6 +72,9 @@ %install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT + %{l_shtool} install -c -m 644 \ + %{SOURCE m4.1} \ + $RPM_BUILD_ROOT%{l_prefix}/man/man1/ strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir ln $RPM_BUILD_ROOT%{l_prefix}/bin/m4 $RPM_BUILD_ROOT%{l_prefix}/bin/gm4 @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.5425 -r1.5426 news.txt --- openpkg-web/news.txt 7 Jul 2003 13:56:24 -0000 1.5425 +++ openpkg-web/news.txt 7 Jul 2003 14:04:30 -0000 1.5426 @@ -1,3 +1,4 @@ +07-Jul-2003: Upgraded package: P<m4-1.4o-20030707> 07-Jul-2003: Upgraded package: P<cdk-4.9.10.20030418-20030707> 07-Jul-2003: Upgraded package: P<xv-3.10a-20030707> 07-Jul-2003: Upgraded package: P<whoson-2.02a-20030707> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]