]> git.pld-linux.org Git - packages/ocaml-SDL.git/blob - ocaml-SDL.spec
- rel 1
[packages/ocaml-SDL.git] / ocaml-SDL.spec
1 Summary:        SDL binding for OCaml
2 Summary(pl):    Wi±zania SDL dla OCamla
3 Name:           ocaml-SDL
4 Version:        0.7.2
5 Release:        1
6 License:        GPL
7 Group:          Libraries
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)
20
21 %description
22 Simply speaking, OCamlSDL is an attempt to write a software interface
23 between the ML programming language and the SDL C library.
24
25 This package contains files needed to run bytecode executables using
26 this library.
27
28 %description -l pl
29 OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem
30 programowania ML a bibliotek± C SDL.
31
32 Ten pakiet zawiera pliki potrzebne do uruchamiania wykonywalnego
33 bytecodu u¿ywaj±cego tej biblioteki.
34
35 %package devel
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}
40 %requires_eq    ocaml
41
42 %description devel
43 Simply speaking, OCamlSDL is an attempt to write a software interface
44 between the ML programming language and the SDL C library.
45
46 This package contains files needed to develop OCaml programs using
47 this library.
48
49 %description devel -l pl
50 OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem
51 programowania ML a bibliotek± C SDL.
52
53 Ten pakiet zawiera pliki potrzebne do tworzenia programów w OCamlu
54 u¿ywaj±cych tej biblioteki.
55
56 %prep
57 %setup -q -n ocamlsdl-%{version}
58
59 %build
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
66
67 %{__make} install \
68         OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
76
77 %files devel
78 %defattr(644,root,root,755)
79 %doc README AUTHORS NEWS doc/html doc/ocaml*
80 %dir %{_libdir}/ocaml/sdl
81 %{_libdir}/ocaml/sdl/*
82 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.owner
This page took 0.070939 seconds and 4 git commands to generate.