]> git.pld-linux.org Git - packages/ocaml-fuse.git/blobdiff - ocaml-fuse.spec
- make library modules public
[packages/ocaml-fuse.git] / ocaml-fuse.spec
index 24638fbb9c15ea168256f985f28df3536f126fac..907960853a402619ac99fe88921f271665841287 100644 (file)
@@ -7,16 +7,18 @@
 %undefine      with_ocaml_opt
 %endif
 
-%define                module  ocamlfuse
+%define                module  Fuse
 Summary:       Fuse binding for OCaml
 Summary(pl.UTF-8):     Wiązania Fuse dla OCamla
 Name:          ocaml-fuse
 Version:       2.7.1
-Release:       1
+Release:       3
 License:       GPL v2
 Group:         Libraries
 Source0:       https://github.com/astrada/ocamlfuse/archive/v%{version}_cvs7/ocamlfuse-%{version}-7.tar.gz
 # Source0-md5: a5da871a0983b6723c6b9b735898fe34
+Patch0:                keep-name.patch
+Patch1:                no-wrapped.patch
 URL:           http://sourceforge.net/apps/mediawiki/ocamlfuse/
 BuildRequires: libfuse-devel
 BuildRequires: ocaml >= 3.08
@@ -65,6 +67,10 @@ tej biblioteki.
 
 %prep
 %setup -q -n ocamlfuse-2.7.1_cvs7
+%patch0 -p1
+%patch1 -p1
+
+%{__mv} {ocamlfuse,Fuse}.opam
 
 %build
 %{__make}
@@ -86,7 +92,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/%{module}/*.cmi
 %{_libdir}/ocaml/%{module}/*.cmt
 %{_libdir}/ocaml/%{module}/*.cmti
+%if %{with ocaml_opt}
 %{_libdir}/ocaml/%{module}/*.cmxs
+%endif
 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
 
 %files devel
This page took 0.088254 seconds and 4 git commands to generate.