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: 3829b20bd975e3bef5195a54e2cd04cb
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-lablgl-devel
17 %requires_eq ocaml-runtime
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Simply speaking, OCamlSDL is an attempt to write a software interface
22 between the ML programming language and the SDL C library.
24 This package contains files needed to run bytecode executables using
28 OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem
29 programowania ML a bibliotek± C SDL.
31 Ten pakiet zawiera pliki potrzebne do uruchamiania wykonywalnego
32 bytecodu u¿ywaj±cego tej biblioteki.
35 Summary: SDL binding for OCaml - development part
36 Summary(pl): Wi±zania SDL dla OCamla - cze¶æ programistyczna
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
42 Simply speaking, OCamlSDL is an attempt to write a software interface
43 between the ML programming language and the SDL C library.
45 This package contains files needed to develop OCaml programs using
48 %description devel -l pl
49 OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem
50 programowania ML a bibliotek± C SDL.
52 Ten pakiet zawiera pliki potrzebne do tworzenia programów w OCamlu
53 u¿ywaj±cych tej biblioteki.
56 %setup -q -n ocamlsdl-%{version}
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT
67 OCAMLLIBDIR=%{_libdir}/ocaml \
68 OCAMLSDLDIR=%{_libdir}/ocaml/sdl \
69 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
79 %defattr(644,root,root,755)
80 %doc README AUTHORS NEWS doc/html doc/ocaml*
81 %dir %{_libdir}/ocaml/sdl
82 %{_libdir}/ocaml/sdl/*
83 %attr(755, root, root) %{_libdir}/ocaml/stublibs/*