]> git.pld-linux.org Git - packages/ocaml-SDL.git/blobdiff - ocaml-SDL.spec
- rel 1
[packages/ocaml-SDL.git] / ocaml-SDL.spec
index dead39cfdff92ab274711cb76a76902ff573c1ca..5a834afb1acf56977f043ecc89591001c84e2627 100644 (file)
@@ -1,18 +1,19 @@
 Summary:       SDL binding for OCaml
 Summary(pl):   Wi±zania SDL dla OCamla
 Name:          ocaml-SDL
-Version:       0.7.1
-Release:       2
+Version:       0.7.2
+Release:       1
 License:       GPL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/ocamlsdl/ocamlsdl-%{version}.tar.gz
-# Source0-md5: 3829b20bd975e3bef5195a54e2cd04cb
+# Source0-md5: 0707a9cf80bd9cfe18ad660dc077bad6
 URL:           http://ocamlsdl.sourceforge.net/
 BuildRequires: SDL-devel
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRequires: SDL_ttf-devel
 BuildRequires: ocaml >= 3.07
+BuildRequires: ocaml-findlib-devel
 BuildRequires: ocaml-lablgl-devel
 %requires_eq   ocaml-runtime
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -61,12 +62,10 @@ u
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
 
 %{__make} install \
-       OCAMLLIBDIR=%{_libdir}/ocaml \
-       OCAMLSDLDIR=%{_libdir}/ocaml/sdl \
-       DESTDIR=$RPM_BUILD_ROOT
+       OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -80,4 +79,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc README AUTHORS NEWS doc/html doc/ocaml*
 %dir %{_libdir}/ocaml/sdl
 %{_libdir}/ocaml/sdl/*
-%attr(755,root,root) %{_libdir}/ocaml/stublibs/*
+%attr(755,root,root) %{_libdir}/ocaml/stublibs/*.owner
This page took 0.089554 seconds and 4 git commands to generate.