summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2007-02-13 21:00:23 +0000
committerAdrian Thurston <thurston@complang.org>2007-02-13 21:00:23 +0000
commit9c53659727166a7c9b8eeee19ed4816e34ba02d3 (patch)
tree86c15fb673cef7330ac9ab5f8a677162d859f658
parent3c94b3ed03c3adaca0f44d0384321264d7a05b8a (diff)
downloadragel-9c53659727166a7c9b8eeee19ed4816e34ba02d3.tar.gz
Discontinuing ragel.spec. It is more appropriate for this to be written by
package maintenance developers.
-rw-r--r--ChangeLog2
-rw-r--r--Makefile.in6
-rw-r--r--ragel.spec55
3 files changed, 2 insertions, 61 deletions
diff --git a/ChangeLog b/ChangeLog
index 82661ea5..cec5e355 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,6 +32,8 @@ Ragel 5.18 - TBD
-Fixed the null dereference and consequential segfault which occurred when
trying to create empty machines with [] and // and /a[]b/.
-Fixed the segfault which occured when a machine reference failed.
+ -Discontinuing ragel.spec. It is more appropriate for this to be written by
+ package maintenance developers.
Ragel 5.17 - Jan 28, 2007
=========================
diff --git a/Makefile.in b/Makefile.in
index 14891378..43ca4a73 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,12 +38,6 @@ all: $(BUILD_SUBDIRS)
$(BUILD_SUBDIRS):
@cd $@ && $(MAKE)
-# new version
-
-new-version:
- sed 's/^\(Version:[[:space:]]*\)[0-9.]*$$/\1$(VERSION)/' ragel.spec > spec-new
- cat spec-new > ragel.spec && rm spec-new
-
# clean targets.
CLEAN_SUBDIRS = $(ALL_SUBDIRS:%=%-clean)
diff --git a/ragel.spec b/ragel.spec
deleted file mode 100644
index f58fb8de..00000000
--- a/ragel.spec
+++ /dev/null
@@ -1,55 +0,0 @@
-Summary: Ragel State Machine Compiler
-Name: ragel
-Version: 5.18
-Release: 1
-
-URL: http://www.cs.queensu.ca/~thurston/ragel/
-Vendor: Adrian Thurston
-Packager: Adrian Thurston
-Distribution: Any
-Group: Development/Other
-License: GPL
-
-Source0: http://www.cs.queensu.ca/~thurston/ragel/%{name}-%{version}.tar.gz
-
-Prefix: /usr
-BuildRoot: %_tmppath/%name-%version-root
-BuildPreReq: gcc, make
-
-%description
-Ragel compiles finite state machines from regular languages into executable C,
-C++, Objective-C or D code. Ragel state machines can not only recognize byte
-sequences as regular expression machines do, but can also execute code at
-arbitrary points in the recognition of a regular language. Using custom
-operators, Ragel allows the user to embed code into a regular language in
-arbitrary places without disrupting the regular language syntax. Ragel also
-provides operators for controlling nondeterminism, constructing machines using
-state charts and building scanners.
-
-%prep
-%setup -q -n %{name}-%{version}
-
-%build
-./configure --prefix=%{prefix}
-make CFLAGS="-O2 -Wall"
-cd doc && make ragel.1 rlcodegen.1
-
-%install
-# Rather than 'make install', let RPM choose where
-# things are kept on this system:
-install -d $RPM_BUILD_ROOT%_bindir
-install -s ragel/ragel $RPM_BUILD_ROOT%_bindir/ragel
-install -s rlcodegen/rlcodegen $RPM_BUILD_ROOT%_bindir/rlcodegen
-install -d $RPM_BUILD_ROOT%_mandir/man1
-install doc/ragel.1 $RPM_BUILD_ROOT%_mandir/man1/ragel.1
-install doc/rlcodegen.1 $RPM_BUILD_ROOT%_mandir/man1/rlcodegen.1
-
-%files
-%defattr(-,root,root)
-%_bindir/ragel
-%_bindir/rlcodegen
-%_mandir/man1/ragel.1
-%_mandir/man1/rlcodegen.1
-
-%clean
- rm -rf $RPM_BUILD_ROOT