rpms/ragel/FC-5 ragel-Makefile-in.patch, NONE, 1.1 ragel-Makefile-install.patch, NONE, 1.1 ragel-rlcodegen-replace.patch, NONE, 1.1 ragel.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jeremy Hinegardner (jjh) fedora-extras-commits at redhat.com
Sat Mar 24 18:27:55 UTC 2007


Author: jjh

Update of /cvs/extras/rpms/ragel/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23067/FC-5

Modified Files:
	.cvsignore sources 
Added Files:
	ragel-Makefile-in.patch ragel-Makefile-install.patch 
	ragel-rlcodegen-replace.patch ragel.spec 
Log Message:
auto-import ragel-5.19-4 on branch FC-5 from ragel-5.19-4.src.rpm

ragel-Makefile-in.patch:

--- NEW FILE ragel-Makefile-in.patch ---
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 149)
+++ Makefile.in	(working copy)
@@ -18,10 +18,10 @@
 #   along with Ragel; if not, write to the Free Software
 #   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
 
+BUILD_COMMON = common redfsm
+BUILD_SUBDIRS = ragel rlgen-cd rlgen-java rlgen-ruby rlgen-dot
+ALL_SUBDIRS = $(BUILD_COMMON) $(BUILD_SUBDIRS) test examples doc
 
-BUILD_SUBDIRS = common ragel redfsm rlgen-cd rlgen-java rlgen-ruby rlgen-dot
-ALL_SUBDIRS = $(BUILD_SUBDIRS) test examples doc
-
 #*************************************
 
 # Programs
@@ -33,11 +33,14 @@
 # build targets
 all: $(BUILD_SUBDIRS)
 
-.PHONY: $(BUILD_SUBDIRS)
+.PHONY: $(ALL_SUBDIRS)
 
-$(BUILD_SUBDIRS):
+$(BUILD_COMMON):
 	@cd $@ && $(MAKE)
 
+$(BUILD_SUBDIRS): $(BUILD_COMMON)
+	cd $@ && $(MAKE)
+
 # clean targets.
 
 CLEAN_SUBDIRS = $(ALL_SUBDIRS:%=%-clean)
Index: doc/Makefile.in
===================================================================
--- doc/Makefile.in	(revision 149)
+++ doc/Makefile.in	(working copy)
@@ -40,6 +40,8 @@
 
 ragel-guide.pdf: $(PDFFIGS) $(INPUT)
 
+man: $(MANPAGES)
+
 %.pdf: %.fig
 	fig2dev -L pdf $< $@
 

ragel-Makefile-install.patch:

--- NEW FILE ragel-Makefile-install.patch ---
diff -ru ragel-5.19-orig/ragel/Makefile.in ragel-5.19/ragel/Makefile.in
--- ragel-5.19-orig/ragel/Makefile.in	2007-03-10 16:21:36.000000000 -0700
+++ ragel-5.19/ragel/Makefile.in	2007-03-20 23:44:00.000000000 -0600
@@ -81,6 +81,6 @@
 
 install: all
 	install -d $(prefix)/bin
-	install -s ragel $(prefix)/bin/ragel
+	install ragel $(prefix)/bin/ragel
 
 -include $(DEPS)
diff -ru ragel-5.19-orig/rlgen-cd/Makefile.in ragel-5.19/rlgen-cd/Makefile.in
--- ragel-5.19-orig/rlgen-cd/Makefile.in	2007-03-02 12:39:42.000000000 -0700
+++ ragel-5.19/rlgen-cd/Makefile.in	2007-03-20 23:44:51.000000000 -0600
@@ -65,6 +65,6 @@
 
 install: all
 	install -d $(prefix)/bin
-	install -s rlgen-cd $(prefix)/bin/rlgen-cd
+	install rlgen-cd $(prefix)/bin/rlgen-cd
 
 -include $(DEPS)
diff -ru ragel-5.19-orig/rlgen-dot/Makefile.in ragel-5.19/rlgen-dot/Makefile.in
--- ragel-5.19-orig/rlgen-dot/Makefile.in	2007-03-02 12:39:42.000000000 -0700
+++ ragel-5.19/rlgen-dot/Makefile.in	2007-03-20 23:44:14.000000000 -0600
@@ -60,6 +60,6 @@
 
 install: all
 	install -d $(prefix)/bin
-	install -s rlgen-dot $(prefix)/bin/rlgen-dot
+	install rlgen-dot $(prefix)/bin/rlgen-dot
 
 -include $(DEPS)
diff -ru ragel-5.19-orig/rlgen-java/Makefile.in ragel-5.19/rlgen-java/Makefile.in
--- ragel-5.19-orig/rlgen-java/Makefile.in	2007-03-02 12:39:42.000000000 -0700
+++ ragel-5.19/rlgen-java/Makefile.in	2007-03-20 23:45:00.000000000 -0600
@@ -61,6 +61,6 @@
 
 install: all
 	install -d $(prefix)/bin
-	install -s rlgen-java $(prefix)/bin/rlgen-java
+	install rlgen-java $(prefix)/bin/rlgen-java
 
 -include $(DEPS)
diff -ru ragel-5.19-orig/rlgen-ruby/Makefile.in ragel-5.19/rlgen-ruby/Makefile.in
--- ragel-5.19-orig/rlgen-ruby/Makefile.in	2007-03-02 12:39:42.000000000 -0700
+++ ragel-5.19/rlgen-ruby/Makefile.in	2007-03-20 23:44:31.000000000 -0600
@@ -61,6 +61,6 @@
 
 install: all
 	install -d $(prefix)/bin
-	install -s rlgen-ruby $(prefix)/bin/rlgen-ruby
+	install rlgen-ruby $(prefix)/bin/rlgen-ruby
 
 -include $(DEPS)

ragel-rlcodegen-replace.patch:

--- NEW FILE ragel-rlcodegen-replace.patch ---
Index: README
===================================================================
--- README	(revision 149)
+++ README	(working copy)
@@ -33,7 +33,7 @@
 
 To build all the documentation cd to 'doc' and type 'make'. If you don't have
 all of the programs to build the user guide and just want the man page use
-'make ragel.1 rlcodegen.1'.
+'make man'.
 
 
 3. Installing
Index: doc/ragel.1.in
===================================================================
--- doc/ragel.1.in	(revision 149)
+++ doc/ragel.1.in	(working copy)
@@ -31,15 +31,15 @@
 .SH DESCRIPTION
 .B Note:
 this is the frontend component of Ragel, which generates an intermediate
-file format that must be processed by rlcodegen(1).
+file format that must be processed by one of: rlgen-cd(1), rlgen-dot(1),
+rlgen-java(1) or rlgen-ruby(1).
 
-Ragel compiles finite state machines from regular languages into executable
-code.  Ragel can generate C, C++, Objective-C, D, or Java 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.  User code is
-embedded using inline operators that do not disrupt the regular language
-syntax.
+Ragel compiles finite state machines from regular languages into
+executable code.  Ragel can generate C, C++, Objective-C, D, Java or
+Ruby 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.  User code is embedded
+using inline operators that do not disrupt the regular language syntax.
 
 The core language consists of standard regular expression operators, such as
 union, concatenation and kleene star, accompanied by action embedding
@@ -554,7 +554,10 @@
 Ragel was written by Adrian Thurston <thurston at cs.queensu.ca>.  Objective-C
 output contributed by Erich Ocean. D output contributed by Alan West. 
 .SH "SEE ALSO"
-.BR rlcodegen (1),
+.BR rlgen-cd(1),
+.BR rlgen-dot(1),
+.BR rlgen-java(1),
+.BR rlgen-ruby(1),
 .BR re2c (1),
 .BR flex (1)
 


--- NEW FILE ragel.spec ---
Name:           ragel   
Version:        5.19 
Release:        4%{?dist}
Summary:        Finite state machine compiler

Group:          Development/Tools
License:        GPL 
URL:            http://www.cs.queensu.ca/~thurston/ragel/ 
Source0:        http://www.cs.queensu.ca/~thurston/ragel/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  transfig, tetex-latex
Requires:       gawk

Patch0:         ragel-Makefile-in.patch
Patch1:         ragel-Makefile-install.patch
Patch2:         ragel-rlcodegen-replace.patch

%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. Code embedding is
done using inline operators that do not disrupt the regular language syntax.

%prep
%setup -q

%patch0 -p0
%patch1 -p1
%patch2 -p0

%build
%configure 
make %{?_smp_mflags}
pushd doc
make %{?_smp_mflags}
popd


%install
rm -rf %{buildroot}
make prefix=%{buildroot}%{_prefix} install
chmod a-x examples/*
pushd doc
make prefix=%{buildroot}%{_prefix} mandir=%{buildroot}%{_mandir} docdir=%{buildroot}%{_docdir}/%{name}-%{version} install
popd

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc COPYING ragel.vim
%doc examples
%doc doc/ragel-guide.pdf
%{_bindir}/rlgen-ruby
%{_bindir}/rlgen-java
%{_bindir}/rlgen-dot
%{_bindir}/rlgen-cd
%{_bindir}/ragel
%{_mandir}/*/*

%changelog
* Sat Mar 24 2007 Jeremy Hinegardner <jeremy at hinegardner.org> - 5.19-4
- further replacement of rlcodegen
- rework patches

* Fri Mar 23 2007 Jeremy Hinegardner <jeremy at hinegardner.org> - 5.19-3
- replace RPM_BUILD_ROOT in spec file with buildroot macro
- cleanup rpmlint errors for the src.rpm
- add ragel(1) man page patch

* Tue Mar 20 2007 Jeremy Hinegardner <jeremy at hinegardner.org> - 5.19-1
- Creation of spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ragel/FC-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Mar 2007 05:16:54 -0000	1.1
+++ .cvsignore	24 Mar 2007 18:27:22 -0000	1.2
@@ -0,0 +1 @@
+ragel-5.19.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ragel/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Mar 2007 05:16:54 -0000	1.1
+++ sources	24 Mar 2007 18:27:22 -0000	1.2
@@ -0,0 +1 @@
+7939ed87968dad75cc7932b032f5f108  ragel-5.19.tar.gz




More information about the fedora-extras-commits mailing list