]> git.pld-linux.org Git - packages/ocaml-SDL.git/blob - ocaml-SDL.spec
- refresh config.sub, release 2
[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:        2
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:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  ocaml >= 3.07
18 BuildRequires:  ocaml-findlib-devel
19 BuildRequires:  ocaml-lablgl-devel
20 %requires_eq    ocaml-runtime
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Simply speaking, OCamlSDL is an attempt to write a software interface
25 between the ML programming language and the SDL C library.
26
27 This package contains files needed to run bytecode executables using
28 this library.
29
30 %description -l pl
31 OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem
32 programowania ML a bibliotek± C SDL.
33
34 Ten pakiet zawiera pliki potrzebne do uruchamiania wykonywalnego
35 bytecodu u¿ywaj±cego tej biblioteki.
36
37 %package devel
38 Summary:        SDL binding for OCaml - development part
39 Summary(pl):    Wi±zania SDL dla OCamla - cze¶æ programistyczna
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 %requires_eq    ocaml
43
44 %description devel
45 Simply speaking, OCamlSDL is an attempt to write a software interface
46 between the ML programming language and the SDL C library.
47
48 This package contains files needed to develop OCaml programs using
49 this library.
50
51 %description devel -l pl
52 OCamlSDL to próba napisania interfejsu programowego miêdzy jêzykiem
53 programowania ML a bibliotek± C SDL.
54
55 Ten pakiet zawiera pliki potrzebne do tworzenia programów w OCamlu
56 u¿ywaj±cych tej biblioteki.
57
58 %prep
59 %setup -q -n ocamlsdl-%{version}
60
61 %build
62 cp -f /usr/share/automake/config.* support
63 %{__aclocal} -I support
64 %{__autoconf}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
71
72 %{__make} install \
73         OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
81
82 %files devel
83 %defattr(644,root,root,755)
84 %doc README AUTHORS NEWS doc/html doc/ocaml*
85 %dir %{_libdir}/ocaml/sdl
86 %{_libdir}/ocaml/sdl/*
87 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.owner
This page took 0.055359 seconds and 3 git commands to generate.