1 Summary: SDL binding for OCaml
2 Summary(pl): Wi±zania SDL dla OCamla
8 Source0: http://dl.sourceforge.net/ocamlsdl/ocamlsdl-%{version}.tar.gz
9 # Source0-md5: 0707a9cf80bd9cfe18ad660dc077bad6
10 URL: http://ocamlsdl.sourceforge.net/
11 BuildRequires: SDL-devel
12 BuildRequires: SDL_image-devel
13 BuildRequires: SDL_mixer-devel
14 BuildRequires: SDL_ttf-devel
15 BuildRequires: ocaml >= 3.07
16 BuildRequires: ocaml-findlib-devel
17 BuildRequires: ocaml-lablgl-devel
18 %requires_eq ocaml-runtime
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Simply speaking, OCamlSDL is an attempt to write a software interface
23 between the ML programming language and the SDL C library.
25 This package contains files needed to run bytecode executables using
29 OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem
30 programowania ML a bibliotek± C SDL.
32 Ten pakiet zawiera pliki potrzebne do uruchamiania wykonywalnego
33 bytecodu u¿ywaj±cego tej biblioteki.
36 Summary: SDL binding for OCaml - development part
37 Summary(pl): Wi±zania SDL dla OCamla - cze¶æ programistyczna
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
43 Simply speaking, OCamlSDL is an attempt to write a software interface
44 between the ML programming language and the SDL C library.
46 This package contains files needed to develop OCaml programs using
49 %description devel -l pl
50 OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem
51 programowania ML a bibliotek± C SDL.
53 Ten pakiet zawiera pliki potrzebne do tworzenia programów w OCamlu
54 u¿ywaj±cych tej biblioteki.
57 %setup -q -n ocamlsdl-%{version}
60 %{__aclocal} -I support
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
70 OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
80 %defattr(644,root,root,755)
81 %doc README AUTHORS NEWS doc/html doc/ocaml*
82 %dir %{_libdir}/ocaml/sdl
83 %{_libdir}/ocaml/sdl/*
84 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.owner