summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonYoung, Choi <wy80.choi@samsung.com>2011-10-14 14:26:36 +0900
committerWonYoung, Choi <wy80.choi@samsung.com>2011-10-14 14:26:36 +0900
commit6e176062d84984a853b8ed052420a18d70113bdb (patch)
tree5bbcbf0e18954390e65fde0e66aeb1fd94b21d8b
parentc7ae1007a81300083aae493c2619d3f12e413346 (diff)
downloadragel-6e176062d84984a853b8ed052420a18d70113bdb.tar.gz
ragel-6e176062d84984a853b8ed052420a18d70113bdb.tar.bz2
ragel-6e176062d84984a853b8ed052420a18d70113bdb.zip
Add rpm packaging
Change-Id: I5ebf942fab20107c1a4e2195aa44f71f0b0740bd
-rw-r--r--packaging/no-doc.patch11
-rw-r--r--packaging/ragel.spec36
2 files changed, 47 insertions, 0 deletions
diff --git a/packaging/no-doc.patch b/packaging/no-doc.patch
new file mode 100644
index 0000000..6227025
--- /dev/null
+++ b/packaging/no-doc.patch
@@ -0,0 +1,11 @@
+Index: ragel-6.6/Makefile.am
+===================================================================
+--- ragel-6.6.orig/Makefile.am
++++ ragel-6.6/Makefile.am
+@@ -1,5 +1,5 @@
+
+-SUBDIRS = ragel doc
++SUBDIRS = ragel
+ DIST_SUBDIRS = $(SUBDIRS) aapl contrib examples test
+
+ dist_doc_DATA = CREDITS ChangeLog
diff --git a/packaging/ragel.spec b/packaging/ragel.spec
new file mode 100644
index 0000000..41de054
--- /dev/null
+++ b/packaging/ragel.spec
@@ -0,0 +1,36 @@
+Name: ragel
+Summary: Ragel
+Version: 6.6
+Release: 1
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+Patch0: no-doc.patch
+
+
+%description
+
+
+%prep
+%setup -q
+%patch0 -p1
+
+
+%build
+./autogen.sh
+./configure --prefix=%{_prefix}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+
+%files
+/usr/bin/ragel
+/usr/share/doc/ragel/CREDITS
+/usr/share/doc/ragel/ChangeLog
+