]> git.pld-linux.org Git - packages/guile-sdl.git/blob - guile-sdl.spec
- updated to 0.5.3
[packages/guile-sdl.git] / guile-sdl.spec
1 Summary:        Guile-SDL - set of modules that provide Guile bindings for SDL
2 Summary(pl.UTF-8):      Guile-SDL - zestaw modułów zapewniających wiązania Guile do SDL
3 Name:           guile-sdl
4 Version:        0.5.3
5 Release:        1
6 License:        LGPL v3+
7 Group:          Libraries
8 Source0:        https://ftp.gnu.org/gnu/guile-sdl/%{name}-%{version}.tar.lz
9 # Source0-md5:  0d0a85c0170c6169586ac98d3558b6a3
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-somode.patch
12 URL:            http://www.gnu.org/software/guile-sdl/
13 BuildRequires:  SDL-devel >= 1.2.0
14 BuildRequires:  SDL_gfx-devel >= 2.0.22
15 BuildRequires:  SDL_image-devel
16 BuildRequires:  SDL_mixer-devel
17 BuildRequires:  SDL_ttf-devel
18 BuildRequires:  autoconf >= 2.50
19 BuildRequires:  automake >= 1:1.12.2
20 BuildRequires:  guile-devel >= 5:1.4
21 BuildRequires:  libtool >= 2:2.4.2
22 BuildRequires:  lzip
23 BuildRequires:  texinfo
24 BuildRequires:  tar >= 1:1.22
25 Requires(post,postun):  /sbin/ldconfig
26 Requires:       SDL >= 1.2.0
27 Requires:       SDL_gfx >= 2.0.22
28 Requires:       guile >= 5:1.4
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 This package contains Guile-SDL, a set of modules that provide
33 bindings for SDL (Simple DirectMedia Layer) to enable Guile
34 programmers to do all the nice things you can do with SDL.
35
36 Most of the SDL functions have been wrapped with the exception of a
37 few functions that were too C-centric. The SDL Threads and the Audio
38 functions haven't been included because of the problems with Guile
39 code being run from more than one thread. However audio programming
40 can be done with the module (sdl mixer) that requires the SDL_mixer
41 library. Bindings for SDL_gfx are also included.
42
43 %description -l pl.UTF-8
44 Ten pakiet zawiera Guile-SDL - zbiór modułów będących wiązaniami do
45 bibliotek SDL (Simple DirectMedia Layer), pozwalających programistom
46 Guile robić wszystkie przyjemne rzeczy, które można robić z użyciem
47 SDL-a.
48
49 Obudowanych jest większość funkcji SDL-a z wyjątkiem kilku, które były
50 zbyt C-centryczne. Funkcje dotyczące wątków (SDL Threads) i dźwięku
51 (SDL Audio) nie zostały dołączone ze względu na problemy z działaniem
52 kodu Guile w więcej niż jednym wątku. Pprogramowanie dźwięku jest
53 jednak możliwe przy użyciu modułu (sdl mixer), wymagającego biblioteki
54 SDL_mixer. Dołączone są także wiązania do biblioteki SDL_gfx.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59 %patch1 -p1
60
61 %build
62 %{__libtoolize}
63 %{__aclocal} -I build-aux
64 %{__autoconf}
65 %{__autoheader}
66 %{__automake}
67 %configure \
68         --disable-embedded-gfx
69
70 # build is racy (generating some files vs compilation)
71 %{__make} -j1
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/postshell
83 /sbin/ldconfig
84 -/usr/sbin/fix-info-dir -c %{_infodir}
85
86 %postun -p /sbin/postshell
87 /sbin/ldconfig
88 -/usr/sbin/fix-info-dir -c %{_infodir}
89
90 %files
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog HISTORY NEWS README THANKS ugh/*.sed
93 %dir %{_libdir}/guile-sdl
94 %attr(755,root,root) %{_libdir}/guile-sdl/gfx.so
95 %attr(755,root,root) %{_libdir}/guile-sdl/mixer.so
96 %attr(755,root,root) %{_libdir}/guile-sdl/sdl.so
97 %attr(755,root,root) %{_libdir}/guile-sdl/ttf.so
98 %dir %{_datadir}/guile/site/sdl
99 %{_datadir}/guile/site/sdl/gfx
100 %{_datadir}/guile/site/sdl/misc-utils.scm
101 %{_datadir}/guile/site/sdl/mixer
102 %{_datadir}/guile/site/sdl/sdl
103 %{_datadir}/guile/site/sdl/simple.scm
104 %{_datadir}/guile/site/sdl/ttf
105 %{_infodir}/guile-sdl.info*
This page took 0.054822 seconds and 3 git commands to generate.