From 522b0689c340d26feeac360640bf7e2e0582353c Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 30 Sep 2003 19:05:50 +0000 Subject: Reorg --- src/libregexp/Make.Darwin-PowerMacintosh | 6 - src/libregexp/Make.FreeBSD-386 | 7 - src/libregexp/Make.HP-UX-9000 | 6 - src/libregexp/Make.Linux-386 | 7 - src/libregexp/Make.NetBSD-386 | 7 - src/libregexp/Make.OSF1-alpha | 6 - src/libregexp/Make.SunOS-sun4u | 2 - src/libregexp/Make.SunOS-sun4u-cc | 6 - src/libregexp/Make.SunOS-sun4u-gcc | 6 - src/libregexp/Makefile | 89 +----------- src/libregexp/Makefile.MID | 34 ----- src/libregexp/bundle.ports | 51 ------- src/libregexp/mkfile | 1 - src/libregexp/regexp9.3 | 227 ------------------------------- src/libregexp/regexp9.7 | 150 -------------------- src/libregexp/regexp9.h | 71 ---------- src/libregexp/rpm.spec | 34 ----- 17 files changed, 5 insertions(+), 705 deletions(-) delete mode 100644 src/libregexp/Make.Darwin-PowerMacintosh delete mode 100644 src/libregexp/Make.FreeBSD-386 delete mode 100644 src/libregexp/Make.HP-UX-9000 delete mode 100644 src/libregexp/Make.Linux-386 delete mode 100644 src/libregexp/Make.NetBSD-386 delete mode 100644 src/libregexp/Make.OSF1-alpha delete mode 100644 src/libregexp/Make.SunOS-sun4u delete mode 100644 src/libregexp/Make.SunOS-sun4u-cc delete mode 100644 src/libregexp/Make.SunOS-sun4u-gcc delete mode 100644 src/libregexp/Makefile.MID delete mode 100644 src/libregexp/bundle.ports delete mode 100644 src/libregexp/mkfile delete mode 100644 src/libregexp/regexp9.3 delete mode 100644 src/libregexp/regexp9.7 delete mode 100644 src/libregexp/regexp9.h delete mode 100644 src/libregexp/rpm.spec (limited to 'src/libregexp') diff --git a/src/libregexp/Make.Darwin-PowerMacintosh b/src/libregexp/Make.Darwin-PowerMacintosh deleted file mode 100644 index 14b8d4e7..00000000 --- a/src/libregexp/Make.Darwin-PowerMacintosh +++ /dev/null @@ -1,6 +0,0 @@ -CC=gcc -CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I${PREFIX}/include -O=o -AR=ar -ARFLAGS=rvc -NAN=nan64.$O diff --git a/src/libregexp/Make.FreeBSD-386 b/src/libregexp/Make.FreeBSD-386 deleted file mode 100644 index 087ed3ab..00000000 --- a/src/libregexp/Make.FreeBSD-386 +++ /dev/null @@ -1,7 +0,0 @@ -CC=gcc -CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I$(PREFIX)/include -O=o -AR=ar -ARFLAGS=rvc -NAN=nan64.$O # default, can be overriden by Make.$(SYSNAME) -NAN=nan64.$O diff --git a/src/libregexp/Make.HP-UX-9000 b/src/libregexp/Make.HP-UX-9000 deleted file mode 100644 index edbdc111..00000000 --- a/src/libregexp/Make.HP-UX-9000 +++ /dev/null @@ -1,6 +0,0 @@ -CC=cc -CFLAGS=-O -c -Ae -I. -O=o -AR=ar -ARFLAGS=rvc -NAN=nan64.$O diff --git a/src/libregexp/Make.Linux-386 b/src/libregexp/Make.Linux-386 deleted file mode 100644 index 74b0252c..00000000 --- a/src/libregexp/Make.Linux-386 +++ /dev/null @@ -1,7 +0,0 @@ -CC=gcc -CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -O=o -AR=ar -ARFLAGS=rvc -NAN=nan64.$O # default, can be overriden by Make.$(SYSNAME) -NAN=nan64.$O diff --git a/src/libregexp/Make.NetBSD-386 b/src/libregexp/Make.NetBSD-386 deleted file mode 100644 index 087ed3ab..00000000 --- a/src/libregexp/Make.NetBSD-386 +++ /dev/null @@ -1,7 +0,0 @@ -CC=gcc -CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I$(PREFIX)/include -O=o -AR=ar -ARFLAGS=rvc -NAN=nan64.$O # default, can be overriden by Make.$(SYSNAME) -NAN=nan64.$O diff --git a/src/libregexp/Make.OSF1-alpha b/src/libregexp/Make.OSF1-alpha deleted file mode 100644 index 3d45279b..00000000 --- a/src/libregexp/Make.OSF1-alpha +++ /dev/null @@ -1,6 +0,0 @@ -CC=cc -CFLAGS+=-g -c -I. -O=o -AR=ar -ARFLAGS=rvc -NAN=nan64.$O diff --git a/src/libregexp/Make.SunOS-sun4u b/src/libregexp/Make.SunOS-sun4u deleted file mode 100644 index c5fe67b8..00000000 --- a/src/libregexp/Make.SunOS-sun4u +++ /dev/null @@ -1,2 +0,0 @@ -include Make.SunOS-sun4u-$(CC) -NAN=nan64.$O diff --git a/src/libregexp/Make.SunOS-sun4u-cc b/src/libregexp/Make.SunOS-sun4u-cc deleted file mode 100644 index 829301de..00000000 --- a/src/libregexp/Make.SunOS-sun4u-cc +++ /dev/null @@ -1,6 +0,0 @@ -CC=cc -CFLAGS+=-g -c -I. -O -O=o -AR=ar -ARFLAGS=rvc -NAN=nan64.$O diff --git a/src/libregexp/Make.SunOS-sun4u-gcc b/src/libregexp/Make.SunOS-sun4u-gcc deleted file mode 100644 index 5c415948..00000000 --- a/src/libregexp/Make.SunOS-sun4u-gcc +++ /dev/null @@ -1,6 +0,0 @@ -CC=gcc -CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -O=o -AR=ar -ARFLAGS=rvc -NAN=nan64.$O diff --git a/src/libregexp/Makefile b/src/libregexp/Makefile index 498359a3..7e560b3c 100644 --- a/src/libregexp/Makefile +++ b/src/libregexp/Makefile @@ -1,27 +1,7 @@ - -# this works in gnu make -SYSNAME:=${shell uname} -OBJTYPE:=${shell uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'} - -# this works in bsd make -SYSNAME!=uname -OBJTYPE!=uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g' - -# the gnu rules will mess up bsd but not vice versa, -# hence the gnu rules come first. - -include Make.$(SYSNAME)-$(OBJTYPE) - -PREFIX=/usr/local - -NUKEFILES= - -TGZFILES= +9SRC=.. +include $(9SRC)/Makehdr LIB=libregexp9.a -VERSION=2.0 -PORTPLACE=devel/libregexp9 -NAME=libregexp9 OFILES=\ regcomp.$O\ @@ -29,23 +9,15 @@ OFILES=\ regexec.$O\ regsub.$O\ regaux.$O\ - rregsub.$O\ rregaux.$O\ rregexec.$O\ + rregsub.$O\ HFILES=\ - regexp9.h\ + $(9SRC)/include/regexp9.h\ regcomp.h\ -all: $(LIB) - -install: $(LIB) - test -d $(PREFIX)/man/man3 || mkdir $(PREFIX)/man/man3 - test -d $(PREFIX)/man/man7 || mkdir $(PREFIX)/man/man7 - install -m 0644 regexp9.3 $(PREFIX)/man/man3/regexp9.3 - install -m 0644 regexp9.7 $(PREFIX)/man/man7/regexp9.7 - install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB) - install -m 0644 regexp9.h $(PREFIX)/include/regexp9.h +include $(9SRC)/Makesyslib test: test.$O $(LIB) $(CC) -o test test.$O $(LIB) -L/usr/local/lib -lfmt -lutf @@ -53,54 +25,3 @@ test: test.$O $(LIB) test2: test2.$O $(LIB) $(CC) -o test2 test2.$O $(LIB) -L/usr/local/lib -lfmt -lutf -$(LIB): $(OFILES) - $(AR) $(ARFLAGS) $(LIB) $(OFILES) - -NUKEFILES+=$(LIB) -.c.$O: - $(CC) $(CFLAGS) -I$(PREFIX)/include $*.c - -%.$O: %.c - $(CC) $(CFLAGS) -I$(PREFIX)/include $*.c - - -$(OFILES): $(HFILES) - -tgz: - rm -rf $(NAME)-$(VERSION) - mkdir $(NAME)-$(VERSION) - cp Makefile Make.* README LICENSE NOTICE *.[ch137] rpm.spec bundle.ports $(TGZFILES) $(NAME)-$(VERSION) - tar cf - $(NAME)-$(VERSION) | gzip >$(NAME)-$(VERSION).tgz - rm -rf $(NAME)-$(VERSION) - -clean: - rm -f $(OFILES) $(LIB) - -nuke: - rm -f $(OFILES) *.tgz *.rpm $(NUKEFILES) - -rpm: - make tgz - cp $(NAME)-$(VERSION).tgz /usr/src/RPM/SOURCES - rpm -ba rpm.spec - cp /usr/src/RPM/SRPMS/$(NAME)-$(VERSION)-1.src.rpm . - cp /usr/src/RPM/RPMS/i586/$(NAME)-$(VERSION)-1.i586.rpm . - scp *.rpm rsc@amsterdam.lcs.mit.edu:public_html/software - -PORTDIR=/usr/ports/$(PORTPLACE) - -ports: - make tgz - rm -rf $(PORTDIR) - mkdir $(PORTDIR) - cp $(NAME)-$(VERSION).tgz /usr/ports/distfiles - cat bundle.ports | (cd $(PORTDIR) && awk '$$1=="---" && $$3=="---" { ofile=$$2; next} {if(ofile) print >ofile}') - (cd $(PORTDIR); make makesum) - (cd $(PORTDIR); make) - (cd $(PORTDIR); /usr/local/bin/portlint) - rm -rf $(PORTDIR)/work - shar `find $(PORTDIR)` > ports.shar - (cd $(PORTDIR); tar cf - *) | gzip >$(NAME)-$(VERSION)-ports.tgz - scp *.tgz rsc@amsterdam.lcs.mit.edu:public_html/software - -.phony: all clean nuke install tgz rpm ports diff --git a/src/libregexp/Makefile.MID b/src/libregexp/Makefile.MID deleted file mode 100644 index fa8a3a93..00000000 --- a/src/libregexp/Makefile.MID +++ /dev/null @@ -1,34 +0,0 @@ -LIB=libregexp9.a -VERSION=2.0 -PORTPLACE=devel/libregexp9 -NAME=libregexp9 - -OFILES=\ - regcomp.$O\ - regerror.$O\ - regexec.$O\ - regsub.$O\ - regaux.$O\ - rregsub.$O\ - rregaux.$O\ - -HFILES=\ - regexp9.h\ - regcomp.h\ - -all: $(LIB) - -install: $(LIB) - test -d $(PREFIX)/man/man3 || mkdir $(PREFIX)/man/man3 - test -d $(PREFIX)/man/man7 || mkdir $(PREFIX)/man/man7 - install -m 0644 regexp9.3 $(PREFIX)/man/man3/regexp9.3 - install -m 0644 regexp9.7 $(PREFIX)/man/man7/regexp9.7 - install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB) - install -m 0644 regexp9.h $(PREFIX)/include/regexp9.h - -test: test.$O $(LIB) - $(CC) -o test test.$O $(LIB) -L/usr/local/lib -lfmt -lutf - -test2: test2.$O $(LIB) - $(CC) -o test2 test2.$O $(LIB) -L/usr/local/lib -lfmt -lutf - diff --git a/src/libregexp/bundle.ports b/src/libregexp/bundle.ports deleted file mode 100644 index 2205e4b9..00000000 --- a/src/libregexp/bundle.ports +++ /dev/null @@ -1,51 +0,0 @@ ---- Makefile --- -# New ports collection makefile for: libbio -# Date Created: 11 Feb 2003 -# Whom: rsc -# -# THIS LINE NEEDS REPLACING. IT'S HERE TO GET BY PORTLINT -# $FreeBSD: ports/devel/libbio/Makefile,v 1.1 2003/02/12 00:51:22 rsc Exp $ - -PORTNAME= libregexp9 -PORTVERSION= 2.0 -CATEGORIES= devel -MASTER_SITES= http://pdos.lcs.mit.edu/~rsc/software/ -EXTRACT_SUFX= .tgz - -MAINTAINER= rsc@post.harvard.edu - -DEPENDS= ${PORTSDIR}/devel/libfmt ${PORTSDIR}/devel/libutf - -MAN3= regexp9.3 -MAN7= regexp9.7 -USE_REINPLACE= yes - -.include - -post-patch: - ${REINPLACE_CMD} -e 's,$$(PREFIX),${PREFIX},g' ${WRKSRC}/Makefile - -.include ---- pkg-comment --- -Simple regular expression library from Plan 9 ---- pkg-descr --- -Libregexp9 is a port of Plan 9's regexp library. -It is small and simple and provides the traditional -extended regular expressions (as opposed to the -current extended regular expressions, which add {} -and various \x character classes, among other -complications). - -It handles Unicode in wide character or UTF8 format! - -WWW: http://pdos.lcs.mit.edu/~rsc/software/ -http://plan9.bell-labs.com/magic/man2html/2/regexp - -Russ Cox -rsc@post.harvard.edu ---- pkg-plist --- -lib/libregexp9.a -include/regex9.h ---- /dev/null --- -This is just a way to make sure blank lines don't -creep into pkg-plist. diff --git a/src/libregexp/mkfile b/src/libregexp/mkfile deleted file mode 100644 index bb99a25a..00000000 --- a/src/libregexp/mkfile +++ /dev/null @@ -1 +0,0 @@ -<../libutf/mkfile diff --git a/src/libregexp/regexp9.3 b/src/libregexp/regexp9.3 deleted file mode 100644 index f2603562..00000000 --- a/src/libregexp/regexp9.3 +++ /dev/null @@ -1,227 +0,0 @@ -.TH REGEXP9 3 -.de EX -.nf -.ft B -.. -.de EE -.fi -.ft R -.. -.de LR -.if t .BR \\$1 \\$2 -.if n .RB ` \\$1 '\\$2 -.. -.de L -.nh -.if t .B \\$1 -.if n .RB ` \\$1 ' -.. -.SH NAME -regcomp, regcomplit, regcompnl, regexec, regsub, regerror \- Plan 9 regular expression library -.SH SYNOPSIS -.B #include -.PP -.ta \w'\fLRegprog 'u -.B -Reprog *regcomp(char *exp) -.PP -.B -Reprog *regcomplit(char *exp) -.PP -.B -Reprog *regcompnl(char *exp) -.PP -.nf -.B -int regexec(Reprog *prog, char *string, Resub *match, int msize) -.PP -.nf -.B -void regsub(char *source, char *dest, int dlen, Resub *match, int msize) -.PP -.nf -.B -int rregexec(Reprog *prog, Rune *string, Resub *match, int msize) -.PP -.nf -.B -void rregsub(Rune *source, Rune *dest, int dlen, Resub *match, int msize) -.PP -.B -void regerror(char *msg) -.SH DESCRIPTION -.I Regcomp -compiles a -regular expression and returns -a pointer to the generated description. -The space is allocated by -.IR malloc (3) -and may be released by -.IR free . -Regular expressions are exactly as in -.IR regexp9 (7). -.PP -.I Regcomplit -is like -.I regcomp -except that all characters are treated literally. -.I Regcompnl -is like -.I regcomp -except that the -.B . -metacharacter matches all characters, including newlines. -.PP -.I Regexec -matches a null-terminated -.I string -against the compiled regular expression in -.IR prog . -If it matches, -.I regexec -returns -.B 1 -and fills in the array -.I match -with character pointers to the substrings of -.I string -that correspond to the -parenthesized subexpressions of -.IR exp : -.BI match[ i ].sp -points to the beginning and -.BI match[ i ].ep -points just beyond -the end of the -.IR i th -substring. -(Subexpression -.I i -begins at the -.IR i th -left parenthesis, counting from 1.) -Pointers in -.B match[0] -pick out the substring that corresponds to -the whole regular expression. -Unused elements of -.I match -are filled with zeros. -Matches involving -.LR * , -.LR + , -and -.L ? -are extended as far as possible. -The number of array elements in -.I match -is given by -.IR msize . -The structure of elements of -.I match -is: -.IP -.EX -typedef struct { - union { - char *sp; - Rune *rsp; - } s; - union { - char *ep; - Rune *rep; - } e; -} Resub; -.EE -.LP -If -.B match[0].s.sp -is nonzero on entry, -.I regexec -starts matching at that point within -.IR string . -If -.B match[0].e.ep -is nonzero on entry, -the last character matched is the one -preceding that point. -.PP -.I Regsub -places in -.I dest -a substitution instance of -.I source -in the context of the last -.I regexec -performed using -.IR match . -Each instance of -.BI \e n\f1, -where -.I n -is a digit, is replaced by the -string delimited by -.BI match[ n ].s.sp -and -.BI match[ n ].e.ep\f1. -Each instance of -.L & -is replaced by the string delimited by -.B match[0].s.sp -and -.BR match[0].e.ep . -The substitution will always be null terminated and -trimmed to fit into dlen bytes. -.PP -.IR Regerror , -called whenever an error is detected in -.IR regcomp , -writes the string -.I msg -on the standard error file and exits. -.I Regerror -can be replaced to perform -special error processing. -If the user supplied -.I regerror -returns rather than exits, -.I regcomp -will return 0. -.PP -.I Rregexec -and -.I rregsub -are variants of -.I regexec -and -.I regsub -that use strings of -.B Runes -instead of strings of -.BR chars . -With these routines, the -.I rsp -and -.I rep -fields of the -.I match -array elements should be used. -.SH "SEE ALSO" -.IR grep (1), -.IR regexp9 (7) -.SH DIAGNOSTICS -.I Regcomp -returns -.B 0 -for an illegal expression -or other failure. -.I Regexec -returns 0 -if -.I string -is not matched. -.SH HISTORY -This particular regular expression was first written by Rob Pike for Plan 9. -It has also appeared as part of the Inferno operating system. -.SH BUGS -There is no way to specify or match a NUL character; NULs terminate patterns and strings. diff --git a/src/libregexp/regexp9.7 b/src/libregexp/regexp9.7 deleted file mode 100644 index 14a90d0f..00000000 --- a/src/libregexp/regexp9.7 +++ /dev/null @@ -1,150 +0,0 @@ -.TH REGEXP9 7 -.de EX -.nf -.ft B -.. -.de EE -.fi -.ft R -.. -.de LR -.if t .BR \\$1 \\$2 -.if n .RB ` \\$1 '\\$2 -.. -.de L -.nh -.if t .B \\$1 -.if n .RB ` \\$1 ' -.. -.SH NAME -regexp9 \- Plan 9 regular expression notation -.SH DESCRIPTION -This manual page describes the regular expression -syntax used by the Plan 9 regular expression library -.IR regexp9 (3). -It is the form used by -.IR egrep (1) -before -.I egrep -got complicated. -.PP -A -.I "regular expression" -specifies -a set of strings of characters. -A member of this set of strings is said to be -.I matched -by the regular expression. In many applications -a delimiter character, commonly -.LR / , -bounds a regular expression. -In the following specification for regular expressions -the word `character' means any character (rune) but newline. -.PP -The syntax for a regular expression -.B e0 -is -.IP -.EX -e3: literal | charclass | '.' | '^' | '$' | '(' e0 ')' - -e2: e3 - | e2 REP - -REP: '*' | '+' | '?' - -e1: e2 - | e1 e2 - -e0: e1 - | e0 '|' e1 -.EE -.PP -A -.B literal -is any non-metacharacter, or a metacharacter -(one of -.BR .*+?[]()|\e^$ ), -or the delimiter -preceded by -.LR \e . -.PP -A -.B charclass -is a nonempty string -.I s -bracketed -.BI [ \|s\| ] -(or -.BI [^ s\| ]\fR); -it matches any character in (or not in) -.IR s . -A negated character class never -matches newline. -A substring -.IB a - b\f1, -with -.I a -and -.I b -in ascending -order, stands for the inclusive -range of -characters between -.I a -and -.IR b . -In -.IR s , -the metacharacters -.LR - , -.LR ] , -an initial -.LR ^ , -and the regular expression delimiter -must be preceded by a -.LR \e ; -other metacharacters -have no special meaning and -may appear unescaped. -.PP -A -.L . -matches any character. -.PP -A -.L ^ -matches the beginning of a line; -.L $ -matches the end of the line. -.PP -The -.B REP -operators match zero or more -.RB ( * ), -one or more -.RB ( + ), -zero or one -.RB ( ? ), -instances respectively of the preceding regular expression -.BR e2 . -.PP -A concatenated regular expression, -.BR "e1\|e2" , -matches a match to -.B e1 -followed by a match to -.BR e2 . -.PP -An alternative regular expression, -.BR "e0\||\|e1" , -matches either a match to -.B e0 -or a match to -.BR e1 . -.PP -A match to any part of a regular expression -extends as far as possible without preventing -a match to the remainder of the regular expression. -.SH "SEE ALSO" -.IR regexp9 (3) diff --git a/src/libregexp/regexp9.h b/src/libregexp/regexp9.h deleted file mode 100644 index e25658a3..00000000 --- a/src/libregexp/regexp9.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef _REGEXP9H_ - -#define _REGEXP9H_ 1 -#include - -typedef struct Resub Resub; -typedef struct Reclass Reclass; -typedef struct Reinst Reinst; -typedef struct Reprog Reprog; - -/* - * Sub expression matches - */ -struct Resub{ - union - { - char *sp; - Rune *rsp; - }s; - union - { - char *ep; - Rune *rep; - }e; -}; - -/* - * character class, each pair of rune's defines a range - */ -struct Reclass{ - Rune *end; - Rune spans[64]; -}; - -/* - * Machine instructions - */ -struct Reinst{ - int type; - union { - Reclass *cp; /* class pointer */ - Rune r; /* character */ - int subid; /* sub-expression id for RBRA and LBRA */ - Reinst *right; /* right child of OR */ - }u1; - union { /* regexp relies on these two being in the same union */ - Reinst *left; /* left child of OR */ - Reinst *next; /* next instruction for CAT & LBRA */ - }u2; -}; - -/* - * Reprogram definition - */ -struct Reprog{ - Reinst *startinst; /* start pc */ - Reclass class[16]; /* .data */ - Reinst firstinst[5]; /* .text */ -}; - -extern Reprog *regcomp(char*); -extern Reprog *regcomplit(char*); -extern Reprog *regcompnl(char*); -extern void regerror(char*); -extern int regexec(Reprog*, char*, Resub*, int); -extern void regsub(char*, char*, int, Resub*, int); - -extern int rregexec(Reprog*, Rune*, Resub*, int); -extern void rregsub(Rune*, Rune*, Resub*, int); - -#endif diff --git a/src/libregexp/rpm.spec b/src/libregexp/rpm.spec deleted file mode 100644 index f4c92d66..00000000 --- a/src/libregexp/rpm.spec +++ /dev/null @@ -1,34 +0,0 @@ -Summary: Simple regular expression library from Plan 9 -Name: libregexp9 -Version: 2.0 -Release: 1 -Group: Development/C -Copyright: Public Domain -Packager: Russ Cox -Source: http://pdos.lcs.mit.edu/~rsc/software/libregexp9-2.0.tgz -URL: http://pdos.lcs.mit.edu/~rsc/software/#libregexp9 -Requires: libfmt libutf - -%description -Libregexp9 is a port of Plan 9's regexp library. -It is small and simple and provides the traditional -extended regular expressions (as opposed to the -current extended regular expressions, which add {} -and various \x character classes, among other -complications). - -http://plan9.bell-labs.com/magic/man2html/2/regexp -%prep -%setup - -%build -make - -%install -make install - -%files -/usr/local/include/regexp9.h -/usr/local/lib/libregexp9.a -/usr/local/man/man3/regexp9.3 -/usr/local/man/man7/regexp9.7 -- cgit v1.2.3