]> git.pld-linux.org Git - packages/ocaml-SDL.git/blame_incremental - ocaml-SDL.spec
- rel 6
[packages/ocaml-SDL.git] / ocaml-SDL.spec
... / ...
CommitLineData
1%define ocaml_ver 1:3.09.2
2Summary: SDL binding for OCaml
3Summary(pl.UTF-8): Wiązania SDL dla OCamla
4Name: ocaml-SDL
5Version: 0.7.2
6Release: 6
7License: GPL
8Group: Libraries
9Source0: http://dl.sourceforge.net/ocamlsdl/ocamlsdl-%{version}.tar.gz
10# Source0-md5: 0707a9cf80bd9cfe18ad660dc077bad6
11URL: http://ocamlsdl.sourceforge.net/
12BuildRequires: SDL-devel
13BuildRequires: SDL_image-devel
14BuildRequires: SDL_mixer-devel
15BuildRequires: SDL_ttf-devel
16BuildRequires: autoconf
17BuildRequires: automake
18BuildRequires: ocaml >= %{ocaml_ver}
19BuildRequires: ocaml-findlib-devel
20BuildRequires: ocaml-lablgl-devel
21%requires_eq ocaml-runtime
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Simply speaking, OCamlSDL is an attempt to write a software interface
26between the ML programming language and the SDL C library.
27
28This package contains files needed to run bytecode executables using
29this library.
30
31%description -l pl.UTF-8
32OCamlSDL to próba napisania interfejsu programowego między językiem
33programowania ML a biblioteką C SDL.
34
35Ten pakiet zawiera pliki potrzebne do uruchamiania wykonywalnego
36bytecodu używającego tej biblioteki.
37
38%package devel
39Summary: SDL binding for OCaml - development part
40Summary(pl.UTF-8): Wiązania SDL dla OCamla - cześć programistyczna
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43%requires_eq ocaml
44
45%description devel
46Simply speaking, OCamlSDL is an attempt to write a software interface
47between the ML programming language and the SDL C library.
48
49This package contains files needed to develop OCaml programs using
50this library.
51
52%description devel -l pl.UTF-8
53OCamlSDL to próba napisania interfejsu programowego między językiem
54programowania ML a biblioteką C SDL.
55
56Ten pakiet zawiera pliki potrzebne do tworzenia programów w OCamlu
57używających tej biblioteki.
58
59%prep
60%setup -q -n ocamlsdl-%{version}
61
62%build
63cp -f /usr/share/automake/config.* support
64%{__aclocal} -I support
65%{__autoconf}
66%configure
67%{__make}
68
69%install
70rm -rf $RPM_BUILD_ROOT
71install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
72
73%{__make} install \
74 OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
82
83%files devel
84%defattr(644,root,root,755)
85%doc README AUTHORS NEWS doc/html doc/ocaml*
86%dir %{_libdir}/ocaml/sdl
87%{_libdir}/ocaml/sdl/*
88%attr(755,root,root) %{_libdir}/ocaml/stublibs/*.owner
This page took 0.053879 seconds and 4 git commands to generate.