From: WonYoung, Choi Date: Fri, 14 Oct 2011 05:26:36 +0000 (+0900) Subject: Add rpm packaging X-Git-Tag: 2.0_alpha~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e176062d84984a853b8ed052420a18d70113bdb;p=external%2Fragel.git Add rpm packaging Change-Id: I5ebf942fab20107c1a4e2195aa44f71f0b0740bd --- 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 +