[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH 11 of 14] Add upstream ocaml-type-conf RPM spec file by Florent Monnier <fmonnier@xxxxxxxxxxxxxxxx>



# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1275056360 -3600
# Node ID 0618c26a1fb3254215c27dbbdca5f8c4407c9a2d
# Parent  5e129724d18fec091b571526cad96a70dffbae26
Add upstream ocaml-type-conf RPM spec file by Florent Monnier 
<fmonnier@xxxxxxxxxxxxxxxx>

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 5e129724d18f -r 0618c26a1fb3 type-conv.spec
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/type-conv.spec    Fri May 28 15:19:20 2010 +0100
@@ -0,0 +1,57 @@
+Name:           ocaml-type-conv
+Version:        1.6.5
+Release:        %mkrel 1
+Summary:        OCaml base library for type conversion
+
+Group:          Development/Other
+License:        LGPLv2+ with exceptions and BSD
+URL:            http://www.ocaml.info/home/ocaml_sources.html#type-conv
+Source0:        
http://hg.ocaml.info/release/type-conv/archive/type-conv-release-%{version}.tar.bz2
+# curl 
http://hg.ocaml.info/release/type-conv/archive/release-%{version}.tar.bz2 > 
type-conv-release-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
+
+BuildRequires:  ocaml >= 3.10.0
+BuildRequires:  ocaml-findlib
+BuildRequires:  camlp4
+BuildRequires:  dos2unix
+
+%description
+The type-conv mini library factors out functionality needed by
+different preprocessors that generate code from type specifications,
+because this functionality cannot be duplicated without losing the
+ability to use these preprocessors simultaneously.
+
+%prep
+%setup -q -n type-conv-release-%{version}
+dos2unix LICENSE.Tywith
+
+%build
+make
+
+%install
+rm -rf %{buildroot}
+export DESTDIR=%{buildroot}
+export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml
+mkdir -p $OCAMLFIND_DESTDIR
+make install
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE LICENSE.Tywith CHANGES COPYRIGHT README.txt
+%{_libdir}/ocaml/type-conv
+
+
+
+%changelog
+* Wed Jan 07 2009 Florent Monnier <blue_prawn@xxxxxxxxxxxx> 1.6.5-1mdv2009.1
++ Revision: 326698
+- corrected group
+- import ocaml-type-conv
+
+
+* Sat Dec 20 2008 Florent Monnier <fmonnier@xxxxxxxxxxxxxxxx> 1.6.5-1mdv
+- Initial RPM release made from the fedora rpm .spec file (revision 1.9) by 
Richard W.M. Jones
+# found there: 
http://cvs.fedoraproject.org/viewvc/devel/ocaml-type-conv/ocaml-type-conv.spec

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.