]> git.pld-linux.org Git - packages/ocaml-curl.git/blobdiff - ocaml-curl.spec
- up to 0.7.1
[packages/ocaml-curl.git] / ocaml-curl.spec
index b7fbf8359c3ad0639ba3c7e45962043d8c529766..5d49329e0f6d307ee263aa0f4415ea3499c3bea9 100644 (file)
@@ -6,12 +6,12 @@
 %define        pkgname curl
 Summary:       OCaml Curl library (ocurl)
 Name:          ocaml-%{pkgname}
-Version:       0.6.0
+Version:       0.7.1
 Release:       1
 License:       MIT
 Group:         Libraries
-Source0:       https://forge.ocamlcore.org/frs/download.php/1238/ocurl-%{version}.tar.gz
-# Source0-md5: 21575e86b390c6c182a8dee42e8db1f3
+Source0:       https://forge.ocamlcore.org/frs/download.php/1400/ocurl-%{version}.tar.gz
+# Source0-md5: d138fd78538ae3bd008d6e9c2993d240
 URL:           http://ocurl.forge.ocamlcore.org/
 BuildRequires: curl-devel >= 7.12.0
 BuildRequires: gawk
@@ -57,6 +57,16 @@ install -d $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
 # Install curl.mli
 cp -p curl.mli $OCAMLFIND_DESTDIR/curl
 
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curl
+cat > $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curl/META <<EOF
+requires = ""
+version = "%{version}"
+directory = "+curl"
+archive(byte) = "curl.cma"
+archive(native) = "curl.cmxa"
+linkopts = ""
+EOF
+
 # Make clean in the examples dir so our docs don't contain binaries.
 %{__make} -C examples clean
 
@@ -87,4 +97,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/curl/*.cmxa
 %endif
 %{_libdir}/ocaml/curl/*.mli
-
+%{_libdir}/ocaml/site-lib/curl
This page took 0.056688 seconds and 4 git commands to generate.