]> git.pld-linux.org Git - packages/ocaml-fuse.git/blobdiff - ocaml-ocamlfuse.spec
use Fuse module name while packaging to match library names
[packages/ocaml-fuse.git] / ocaml-ocamlfuse.spec
index 847c19c315cd026e69e5393127003e81177a883f..827b637422696d4f04409ba683d8de4a8b1f72cf 100644 (file)
@@ -2,15 +2,15 @@
 # Conditional build:
 %bcond_with    opt             # build opt
 
-%define                modname gapi-ocaml
+%define                modname Fuse
 Summary:       %{modname} binding for OCaml
 Summary(pl.UTF-8):     Wi─ůzania %{modname} dla OCamla
-Name:          ocaml-%{modname}
+Name:          ocaml-ocamlfuse
 Version:       2.7
 Release:       1
 License:       GPL v2
 Group:         Libraries
-Source0:       http://downloads.sourceforge.net/ocamlfuse/%{modname}-%{version}-1.tar.gz
+Source0:       http://downloads.sourceforge.net/ocamlfuse/ocamlfuse-%{version}-1.tar.gz
 # Source0-md5: cb9cbe4fafb36ead1b78faaacc26f3e3
 URL:           http://sourceforge.net/apps/mediawiki/ocamlfuse/
 BuildRequires: libfuse-devel
@@ -68,8 +68,8 @@ rm -rf $RPM_BUILD_ROOT
 cd lib
 
 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/{%{modname},stublibs}
-install *.cm[ixa]* *.a dll*.so $RPM_BUILD_ROOT%{_libdir}/ocaml/%{modname}
-install dll*.so $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
+install -p *.cm[ixa]* *.a dll*.so $RPM_BUILD_ROOT%{_libdir}/ocaml/%{modname}
+install -p dll*.so $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
 
 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{modname}
 cat > $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{modname}/META <<EOF
This page took 0.08806 seconds and 4 git commands to generate.