SPECS: ocaml-ulex.spec (NEW) - initial revision

baggins baggins at pld-linux.org
Sun Dec 11 17:23:55 CET 2005


Author: baggins                      Date: Sun Dec 11 16:23:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   ocaml-ulex.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ocaml-ulex.spec
diff -u /dev/null SPECS/ocaml-ulex.spec:1.1
--- /dev/null	Sun Dec 11 17:23:55 2005
+++ SPECS/ocaml-ulex.spec	Sun Dec 11 17:23:49 2005
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+Summary:	Lexer generator for Unicode and OCaml
+Summary(pl):	Lexer dla OCamla i Unicode
+Name:		ocaml-ulex
+Version:	0.8
+Release:	1
+License:	MIT
+Group:		Development/Tools
+Source0:	http://www.cduce.org/download/ulex-%{version}.tar.gz
+# Source0-md5:	baf9fe9fc381c7824a2e0e368da5fa13
+BuildRequires:	ocaml >= 3.09.0
+BuildRequires:	ocaml-findlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ulex is a lexer generator for Unicode and OCaml 
+
+%description -l pl
+ulex jest lexerem dla OCamla i Unicode
+
+%prep
+%setup -q -n ulex-%{version}
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml
+
+%{__make} install \
+	OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%dir %{_libdir}/ocaml/ulex
+%{_libdir}/ocaml/ulex/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/12/11 16:23:49  baggins
+- initial revision
+
================================================================



More information about the pld-cvs-commit mailing list