X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml-SDL.git;a=blobdiff_plain;f=ocaml-SDL.spec;h=18ce8a08da33dc7848865f33aa884a376155f348;hp=72b0275f490cfd2fde6b85730b2ef19d2637dd1a;hb=476da9c0d6541c09ee0c1641994a16c97795622e;hpb=6684267e8ccb2a43987d29ced63ee740a875d121 diff --git a/ocaml-SDL.spec b/ocaml-SDL.spec index 72b0275..18ce8a0 100644 --- a/ocaml-SDL.spec +++ b/ocaml-SDL.spec @@ -1,18 +1,19 @@ Summary: SDL binding for OCaml Summary(pl): Wi±zania SDL dla OCamla Name: ocaml-SDL -Version: 0.7.1 +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: SDL_image-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) @@ -24,6 +25,13 @@ between the ML programming language and the SDL C library. This package contains files needed to run bytecode executables using this library. +%description -l pl +OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem +programowania ML a bibliotek± C SDL. + +Ten pakiet zawiera pliki potrzebne do uruchamiania wykonywalnego +bytecodu u¿ywaj±cego tej biblioteki. + %package devel Summary: SDL binding for OCaml - development part Summary(pl): Wi±zania SDL dla OCamla - cze¶æ programistyczna @@ -38,21 +46,28 @@ between the ML programming language and the SDL C library. This package contains files needed to develop OCaml programs using this library. +%description devel -l pl +OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem +programowania ML a bibliotek± C SDL. + +Ten pakiet zawiera pliki potrzebne do tworzenia programów w OCamlu +u¿ywaj±cych tej biblioteki. + %prep %setup -q -n ocamlsdl-%{version} %build +%{__aclocal} -I support +%{__autoconf} %configure %{__make} %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 @@ -66,4 +81,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