X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml-SDL.git;a=blobdiff_plain;f=ocaml-SDL.spec;h=0f1c95d683ff0e2564e288586ebc0665c5cd3fa9;hp=e8a8c68a1a41f6cd60779c019d286674f2a7cf39;hb=6ec8c8dac83879849e6653c9a1a6ea236f859430;hpb=4607d6ce8d69e96693f82a4a4a0e864e46922cfa diff --git a/ocaml-SDL.spec b/ocaml-SDL.spec index e8a8c68..0f1c95d 100644 --- a/ocaml-SDL.spec +++ b/ocaml-SDL.spec @@ -1,18 +1,21 @@ Summary: SDL binding for OCaml Summary(pl): Wi±zania SDL dla OCamla Name: ocaml-SDL -Version: 0.7.1 -Release: 1 +Version: 0.7.2 +Release: 2 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: autoconf +BuildRequires: automake 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 +27,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,18 +48,29 @@ 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 +cp -f /usr/share/automake/config.* support +%{__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 DESTDIR=$RPM_BUILD_ROOT +%{__make} install \ + OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml %clean rm -rf $RPM_BUILD_ROOT @@ -63,4 +84,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