]> git.pld-linux.org Git - packages/ocaml-SDL.git/blame - ocaml-SDL.spec
- converted to UTF-8
[packages/ocaml-SDL.git] / ocaml-SDL.spec
CommitLineData
0eaf468a 1%define ocaml_ver 1:3.09.2
b741b828 2Summary: SDL binding for OCaml
9328c039 3Summary(pl.UTF-8): Wiązania SDL dla OCamla
b741b828 4Name: ocaml-SDL
5523d1d9 5Version: 0.7.2
0eaf468a 6Release: 5
b741b828
JR
7License: GPL
8Group: Libraries
9Source0: http://dl.sourceforge.net/ocamlsdl/ocamlsdl-%{version}.tar.gz
5523d1d9 10# Source0-md5: 0707a9cf80bd9cfe18ad660dc077bad6
b741b828
JR
11URL: http://ocamlsdl.sourceforge.net/
12BuildRequires: SDL-devel
93ef2896 13BuildRequires: SDL_image-devel
b741b828
JR
14BuildRequires: SDL_mixer-devel
15BuildRequires: SDL_ttf-devel
6ec8c8da
JB
16BuildRequires: autoconf
17BuildRequires: automake
480d0786 18BuildRequires: ocaml >= %{ocaml_ver}
07b43a1e 19BuildRequires: ocaml-findlib-devel
4607d6ce 20BuildRequires: ocaml-lablgl-devel
b741b828
JR
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
9328c039
JR
31%description -l pl.UTF-8
32OCamlSDL to próba napisania interfejsu programowego między językiem
33programowania ML a biblioteką C SDL.
93ef2896
JB
34
35Ten pakiet zawiera pliki potrzebne do uruchamiania wykonywalnego
9328c039 36bytecodu używającego tej biblioteki.
93ef2896 37
b741b828
JR
38%package devel
39Summary: SDL binding for OCaml - development part
9328c039 40Summary(pl.UTF-8): Wiązania SDL dla OCamla - cześć programistyczna
b741b828
JR
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
9328c039
JR
52%description devel -l pl.UTF-8
53OCamlSDL to próba napisania interfejsu programowego między językiem
54programowania ML a biblioteką C SDL.
93ef2896 55
9328c039
JR
56Ten pakiet zawiera pliki potrzebne do tworzenia programów w OCamlu
57używających tej biblioteki.
93ef2896 58
b741b828 59%prep
4607d6ce 60%setup -q -n ocamlsdl-%{version}
b741b828
JR
61
62%build
6ec8c8da 63cp -f /usr/share/automake/config.* support
476da9c0
JR
64%{__aclocal} -I support
65%{__autoconf}
4607d6ce
JR
66%configure
67%{__make}
b741b828
JR
68
69%install
70rm -rf $RPM_BUILD_ROOT
07b43a1e 71install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
b741b828 72
6684267e 73%{__make} install \
5e4325b5 74 OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
b741b828
JR
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)
4607d6ce
JR
85%doc README AUTHORS NEWS doc/html doc/ocaml*
86%dir %{_libdir}/ocaml/sdl
87%{_libdir}/ocaml/sdl/*
07b43a1e 88%attr(755,root,root) %{_libdir}/ocaml/stublibs/*.owner
This page took 0.070895 seconds and 4 git commands to generate.